Merge remote-tracking branch 'origin/main'

This commit is contained in:
mdivecky 2023-08-17 14:18:41 +02:00
commit 8147e51f9e
4 changed files with 45 additions and 20 deletions

1
view/static/htmx@1.9.4.min.js vendored Normal file

File diff suppressed because one or more lines are too long

View file

@ -16,8 +16,7 @@
html { html {
box-sizing: border-box; box-sizing: border-box;
font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", font-family: system-ui, sans-serif;
Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
} }
body { body {
@ -83,6 +82,7 @@ a {
color: var(--accent-color); color: var(--accent-color);
font-weight: 500; font-weight: 500;
text-decoration: none; text-decoration: none;
transition: color 120ms;
} }
a:hover { a:hover {
@ -180,26 +180,42 @@ details[open] summary::before {
margin-top: 4rem; margin-top: 4rem;
padding: 1.5rem 0; padding: 1.5rem 0;
color: hsl(0 0% 60%); color: hsl(0 0% 60%);
font-size: var(--font-size-s);
font-weight: 500;
} }
.footer a { .footer a {
color: inherit; color: inherit;
} }
.footer a:hover {
color: hsl(0 0% 40%);
}
.footer-container { .footer-container {
display: flex;
align-items: center;
flex-shrink: 0;
flex-wrap: wrap;
gap: 0.5rem;
}
.footer-colophon {
display: flex; display: flex;
align-items: center; align-items: center;
gap: 0.5rem; gap: 0.5rem;
} }
.footer-nologo { .footer-colophon svg {
display: inline-block; display: block;
fill: hsl(0 0% 60%); fill: currentColor;
transition: fill 120ms; transition: fill 120ms;
} }
.footer-nologo:hover { .footer-item:not(:last-child)::after {
fill: hsl(0 0% 40%); content: " · ";
opacity: 0.5;
margin: 0 0.25rem;
} }
.container { .container {
@ -384,5 +400,9 @@ details[open] summary::before {
} }
.changeset table th { .changeset table th {
font-size: var(--font-size-s);
font-weight: 500;
color: var(--color-muted);
padding-right: 1rem; padding-right: 1rem;
vertical-align: top;
} }

View file

@ -17,9 +17,10 @@
data-domain="headline.beta.nolog.cz" data-domain="headline.beta.nolog.cz"
src="https://plausible.nolog.cz/js/plausible.js" src="https://plausible.nolog.cz/js/plausible.js"
></script> ></script>
<script src="{{ url_for('static', filename='htmx@1.9.4.min.js') }}"></script>
{% block head %}{% endblock %} {% block head %}{% endblock %}
</head> </head>
<body> <body hx-boost="true">
<header class="header {% block header_class %}{% endblock %}"> <header class="header {% block header_class %}{% endblock %}">
<div class="container"> <div class="container">
<a class="header-link-home" href="/"> <a class="header-link-home" href="/">

View file

@ -1,16 +1,19 @@
<footer class="footer"> <footer class="footer">
<div class="container footer-container"> <div class="container footer-container">
<span>created by</span> <span class="footer-item footer-colophon">
<a href="https://nolog.cz"> <span>created by</span>
<svg class="footer-nologo" width="120" viewBox="0 0 400 60" fill-rule="evenodd"> <a href="https://nolog.cz">
<title>NoLog</title> <svg class="footer-nologo" width="120" viewBox="0 0 400 60" fill-rule="evenodd">
<path d="M60,0l-60,0l0,60l20,0l0,-41l20,0l-0,41l20,0l-0,-60Z"></path> <title>NoLog</title>
<path d="M140,60l50,0l-0,-19l-30,0l0,-41l-20,0l0,60Z"></path> <path d="M60,0l-60,0l0,60l20,0l0,-41l20,0l-0,41l20,0l-0,-60Z"></path>
<path d="M130,0l-60,0l0,60l60,0l0,-60Zm-40,19l0,22l20,0l0,-22l-20,0Z"></path> <path d="M140,60l50,0l-0,-19l-30,0l0,-41l-20,0l0,60Z"></path>
<path d="M260,0l-60,0l-0,60l60,0l-0,-60Zm-40,19l-0,22l20,0l-0,-22l-20,0Z"></path> <path d="M130,0l-60,0l0,60l60,0l0,-60Zm-40,19l0,22l20,0l0,-22l-20,0Z"></path>
<path d="M270,60l60,-0l-0,-35l-20,0l-0,16l-20,0l-0,-22l40,-0l-0,-19l-60,-0l-0,60Z"></path> <path d="M260,0l-60,0l-0,60l60,0l-0,-60Zm-40,19l-0,22l20,0l-0,-22l-20,0Z"></path>
<path d="M372.164,2.865l6.571,20.729l21.265,0l-17.203,12.812l6.571,20.729l-17.204,-12.811l-17.203,12.811l6.571,-20.729l-17.204,-12.812l21.265,0l6.571,-20.729Z"></path> <path d="M270,60l60,-0l-0,-35l-20,0l-0,16l-20,0l-0,-22l40,-0l-0,-19l-60,-0l-0,60Z"></path>
</svg> <path d="M372.164,2.865l6.571,20.729l21.265,0l-17.203,12.812l6.571,20.729l-17.204,-12.811l-17.203,12.811l6.571,-20.729l-17.204,-12.812l21.265,0l6.571,-20.729Z"></path>
</a> </svg>
</a>
</span>
<a class="footer-item" href="https://git.nolog.cz/mdivecky/headline">Source code</a>
</div> </div>
</footer> </footer>