summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorWynn Wolf Arbor2020-05-30 13:45:33 +0200
committerWynn Wolf Arbor2020-05-31 20:53:54 +0200
commitfde2230797ced366290c17dcbffd74615f2f6c5d (patch)
tree0223fee64069d8ee26e94fdfb6fd4f92cf1ba4fb
parent9a3f442dfbe090849a616959d6396d5e2675b8c4 (diff)
downloadsite-fde2230797ced366290c17dcbffd74615f2f6c5d.tar.gz
css: Add styling for footnotes
The upcoming post is the first one to include footnotes. This commit adds a bit of styling for them. The footnotes block at the end of the post is a bit too prominent compared to the rest of the post. Use a smaller font size to make it stand out less. Footnote references in the text are anchors and therefore underlined by default. Remove any text decoration from them and make them easier on the eyes.
-rw-r--r--scss/style.scss9
1 files changed, 9 insertions, 0 deletions
diff --git a/scss/style.scss b/scss/style.scss
index 90bd606..0e40008 100644
--- a/scss/style.scss
+++ b/scss/style.scss
@@ -139,4 +139,13 @@ article {
}
ul { list-style: square; }
+
+ .footnotes {
+ font-size: smaller;
+ }
+
+ sup > a {
+ text-decoration: none;
+ font-weight: bold;
+ }
}