From c0548ddb17848caad6d6e52c650416f2eaa0274e Mon Sep 17 00:00:00 2001 From: Syndamia Date: Sun, 14 Mar 2021 13:39:29 +0200 Subject: Improved spacing around header tags --- src/styles.css | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/styles.css') diff --git a/src/styles.css b/src/styles.css index d6e22e0..0347281 100644 --- a/src/styles.css +++ b/src/styles.css @@ -130,7 +130,9 @@ article { h1, h2, h3, h4, h5, h6 { display: inline-block; + margin-block-start: 0.4em; margin-block-end: 0.5em; /* Account for it being an inline block, as opposed to a normal block */ + line-height: 1.25em; } h1 + p, h2 + p, h3 + p, h4 + p, h5 + p, h6 + p { -- cgit v1.3.1-23-gd82d