From 217bc02d0cd6d3498a2764b2a4680842800dbe6a Mon Sep 17 00:00:00 2001 From: Syndamia Date: Sat, 27 Feb 2021 11:07:34 +0200 Subject: Added links to all headings --- src/styles.css | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/styles.css') diff --git a/src/styles.css b/src/styles.css index 02168f7..65c2a22 100644 --- a/src/styles.css +++ b/src/styles.css @@ -24,6 +24,15 @@ body, td, th { line-height: 1.5em; } +h1, h2, h3, h4, h5, h6 { + display: inline-block; + margin-block-end: 0.5em; /* Account for it being an inline block, as opposed to a normal block */ +} + +h1 + p, h2 + p, h3 + p, h4 + p, h5 + p, h6 + p { + display: inline; +} + h2 { padding-bottom: 0.25em; border-bottom: 2px solid black; -- cgit v1.3.1-26-gb76a