From 987d53b0d40eb202ae8ffdf127acc4df56d0b241 Mon Sep 17 00:00:00 2001 From: Demetrius Semanko Date: Thu, 27 Aug 2026 16:19:50 -0400 Subject: [PATCH] css: add break between h3 sections --- src/styles/global.css | 31 ++++++++++++++++++------------- 1 file changed, 18 insertions(+), 13 deletions(-) diff --git a/src/styles/global.css b/src/styles/global.css index 1ebf5be..e1f5f27 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -50,23 +50,10 @@ body { padding: 0 3em; } -footer, -h3 { - margin: 4em auto 2em; -} - -h3 { - font-style: italic; -} - h2 { margin-top: 4em; } -footer { - padding-bottom: 2em; -} - * > h2 { margin-bottom: 1em; width: max-content; @@ -76,3 +63,21 @@ footer { padding-top: 1em; } } + +footer, +h3 { + margin: 2em auto 1em; +} + +h3 { + font-style: italic; + &:not(:first-of-type) { + border: 1.5pt var(--accent); + border-style: dashed none none none; + padding-top: 2em; + } +} + +footer { + padding-bottom: 2em; +} -- 2.51.2