From 82b6f78627b18364af5146d39efd32d84634bd07 Mon Sep 17 00:00:00 2001 From: Hyperling Date: Sun, 16 Nov 2025 19:32:03 -0700 Subject: [PATCH] Reduce the amount of space above and below headers. Now things seem much easier to read!! --- layouts/_default/baseof.html | 2 ++ static/css/style.css | 9 +++++++++ 2 files changed, 11 insertions(+) create mode 100644 static/css/style.css diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index c70ee86..65fa290 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -4,6 +4,8 @@ {{ partial "head.html" . }} {{ partial "favicons.html" . }} {{ partial "meta.html" . }} + + {{ block "body" . }} diff --git a/static/css/style.css b/static/css/style.css new file mode 100644 index 0000000..2b5e1b7 --- /dev/null +++ b/static/css/style.css @@ -0,0 +1,9 @@ +/* Prevent excess gaps underneath headers. Looks horrible! */ +h1,h2,h3 { + margin-bottom: 8px; + margin-top: 4px; +} +h4,h5,h6 { + margin-bottom: 4px; + margin-top: 2px; +}