diff options
| author | Isabella Bastaja <isabella@sorre.xyz> | 2026-02-21 17:33:38 +0100 |
|---|---|---|
| committer | Isabella Bastaja <isabella@sorre.xyz> | 2026-02-21 18:16:53 +0100 |
| commit | d4cc95fe9d1810f273900de3ed1d7cc40b4b2e94 (patch) | |
| tree | 8dff57e3fd9e73cc05ee935b7f828bf7cc4b4737 /site/style.css | |
| parent | fa75b66a80b699c8e104c22b58734a3d6e273468 (diff) | |
style post index and dates
Diffstat (limited to 'site/style.css')
| -rw-r--r-- | site/style.css | 35 |
1 files changed, 35 insertions, 0 deletions
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; } |
