all repos — h3rald @ 33834836fa5f1a5112ff2cc45737b59829075cb6

The sources of https://h3rald.com

Added celebration badge.
h3rald h3rald@h3rald.com
Sat, 02 Mar 2024 15:32:57 +0100
commit

33834836fa5f1a5112ff2cc45737b59829075cb6

parent

619e485a4c28d63ad5d77f33841d4fa349dfa7c2

2 files changed, 13 insertions(+), 2 deletions(-)

jump to
M assets/styles/style.cssassets/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.mustachetemplates/_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">