From 312dc238e69f964824dfea4a336b11a077e54705 Mon Sep 17 00:00:00 2001 From: SindreKjelsrud Date: Thu, 28 Aug 2025 16:10:49 +0200 Subject: [PATCH] style: Add css for hr-tag & footnotes Signed-off-by: SindreKjelsrud --- src/styles/global.css | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/src/styles/global.css b/src/styles/global.css index ad754a1..9bea11a 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -138,6 +138,25 @@ iframe { .blogtime { color: var(--dark-2); } +hr { + margin: 2vh 5vh 2vh 0; + border-color: #777; +} + +.footnotes li { + counter-increment: footnote-counter; + margin-bottom: 1vh; + padding-left: 0; + display: flex; + align-items: baseline; + gap: 1vh; +} + +.footnotes li::before { + content: counter(footnote-counter) "."; + font-weight: bold; +} + /* LOGS */ .borderbottom { border-bottom-width: 2px;