From d4cc95fe9d1810f273900de3ed1d7cc40b4b2e94 Mon Sep 17 00:00:00 2001 From: Isabella Bastaja Date: Sat, 21 Feb 2026 17:33:38 +0100 Subject: style post index and dates --- site/style.css | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) (limited to 'site/style.css') diff --git a/site/style.css b/site/style.css index fd183cf..bb43748 100644 --- a/site/style.css +++ b/site/style.css @@ -1,3 +1,38 @@ +*, *::after, *::before { + box-sizing: inherit; +} + +html { + box-sizing: border-box; +} + +#blog-index { + display: flex; + flex-flow: column nowrap; + gap: 1rem; +} + +article.post { + border: 1px solid; + padding: 1rem; + display: flex; + flex-flow: column nowrap; + gap: 1rem; +} + +article.post h2 { + text-align: center; +} + +article.post :is(h2, p) { + margin: 0; +} + +.post-dates { + display: flex; + justify-content: space-between; +} + /* Style definition file generated by highlight 4.18, http://andre-simon.de/ */ /* highlight theme: Github Source View */ body.hl { background-color:#ffffff; } -- cgit v1.3.1