Summary Files Commits Branches @commit @diff @stats
path: root / src / styles.css
diff options
context:
space:
mode:
1 files changed, 9 insertions, 0 deletions
-rw-r--r--src/styles.css9
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;