Summary Files Commits Branches @commit @diff @stats
path: root / src / styles.css
diff options
context:
space:
mode:
Commit217bc02d0cd6d3498a2764b2a4680842800dbe6a (patch)
Author
 Syndamia <kamen.d.mladenov@protonmail.com>
2021-02-27 11:07:34 +0200
Committer
 Syndamia <kamen.d.mladenov@protonmail.com>
2021-02-27 11:07:34 +0200
Files9ca93886a5f5aecbf6d98abc9c6ec64b0c12feb4 /src/styles.css
syndamia.com-217bc02d0cd6d3498a2764b2a4680842800dbe6a.tar
syndamia.com-217bc02d0cd6d3498a2764b2a4680842800dbe6a.tar.gz
syndamia.com-217bc02d0cd6d3498a2764b2a4680842800dbe6a.zip
Parent36333c0f8eb1c78260e43169e508c8c8574d50e1 (diff)
Added links to all headings
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;