From e3812c3d3113c61996781e6cfbd3525684a79bc6 Mon Sep 17 00:00:00 2001 From: Stypox Date: Wed, 20 Aug 2025 18:30:13 +0200 Subject: [PATCH] Improve spacing in various places --- assets/css/main.css | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/assets/css/main.css b/assets/css/main.css index a68388a..f4907f2 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -127,7 +127,7 @@ pre { } ul, ol, p, dl { - margin: 0 0 2em 0; + margin: 0 0 1em 0; } .link-list { padding: 0; @@ -155,6 +155,8 @@ pre { } section > :last-child, + section > a:last-child > :last-child, + section > header:last-child > :last-child, section:last-child, .last-child { margin-bottom: 0 !important; @@ -1638,7 +1640,7 @@ pre { #content section { background: #36454F; - padding: 40px 30px 45px 30px; + padding: 40px 30px 40px 30px; box-shadow: 2px 2px 2px 1px rgba(128, 128, 128, 0.1); margin: 0 0 25px 0; } @@ -1649,13 +1651,14 @@ pre { #content h2 { font-size: 1.8em; - color: #acb4b7; - margin: 0 0 0.25em 0; + color: #c9d4d8; + margin: 0 0 1em 0; } #content h3 { - color: #708090; - font-size: 1.25em; + color: #acb4b7; + font-size: 1.4em; + margin: 0 0 0.8em 0; } #content h4 { @@ -1670,10 +1673,6 @@ pre { color: #fff; } - #content header { - margin: 0 0 2em 0; - } - #content .link-list li { border-bottom: solid 1px #e2e6e8; }