From e5854a57783732dd13f5d8dae15d9b68bd62d8ed Mon Sep 17 00:00:00 2001 From: Hyperling Date: Fri, 21 Nov 2025 10:00:38 -0700 Subject: [PATCH] Fixes for page formatting, some things were still a bit wonky. Looking better now for blogposts, tech guides, and poetry with audio sections. --- static/css/style.css | 33 ++++++++++++++++++++------------- 1 file changed, 20 insertions(+), 13 deletions(-) diff --git a/static/css/style.css b/static/css/style.css index b86ac78..d50a8af 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -1,20 +1,20 @@ /* Prevent excess gaps underneath headers. Looks horrible! */ h1,h2,p,div,blockquote { - margin-top: 8px; - margin-bottom: 16px; -} -h3,h4 { - margin-top: 6px; - margin-bottom: 12px; -} -h5,h6 { - margin-top: 4px; + margin-top: 16px; margin-bottom: 8px; } -pre,strong { - margin-top: 2px; +h3,h4 { + margin-top: 12px; + margin-bottom: 6px; +} +h5,h6,ul,ol { + margin-top: 8px; margin-bottom: 4px; } +pre,strong { + margin-top: 4px; + margin-bottom: 2px; +} pre { padding: 2px; @@ -22,6 +22,13 @@ pre { } audio { - padding-top: 5px; - padding-bottom: 20px; + margin: 5px; +} + +.post-content { + margin-top: 10px; +} + +.highlight { + margin: 10px auto; }