Added celebration badge.
h3rald h3rald@h3rald.com
Sat, 02 Mar 2024 15:32:57 +0100
2 files changed,
13 insertions(+),
2 deletions(-)
M
assets/styles/style.css
→
assets/styles/style.css
@@ -382,7 +382,7 @@ }
.main-header { position: fixed; - top: 28px; + top: 24px; right: 0; left: 0; padding: 0.5rem 0;@@ -390,6 +390,16 @@ background-color: var(--primary-background);
box-shadow: 0 16px 16px -16px #000; margin-top: -40px; } + +.celebration-badge { + z-index: 1000; + position: fixed; + line-height: 30px; + top: 8px; + left: 8px; + font-size: 0.8rem; +} + .footer, .header,@@ -417,7 +427,7 @@
/* End fixed header */ .main-header h1 { - margin: 0; + margin: 16px 0 0 0; height: 40px; text-align: center; }
M
templates/_header.mustache
→
templates/_header.mustache
@@ -1,3 +1,4 @@
+<span class="celebration-badge"><a href="/articles/twenty-years">:cake: 20yrs</a></span> <header class="main-header box"> <h1> <a href="/" title="H3RALD">