From e76b49d5ff40bfa0af8a6931cacc775010bf5882 Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Wed, 2 Oct 2024 15:28:43 +0200 Subject: Refactor CSS for the footnote links --- assets/scss/web/_blog.scss | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'assets') diff --git a/assets/scss/web/_blog.scss b/assets/scss/web/_blog.scss index 62ce86a..519a6d3 100644 --- a/assets/scss/web/_blog.scss +++ b/assets/scss/web/_blog.scss @@ -82,12 +82,13 @@ } } - a.footnote-ref::before { - content: '['; - } - - a.footnote-ref::after { - content: ']'; + a.footnote-ref { + &:before { + content: '['; + } + &:after { + content: ']'; + } } } @@ -99,7 +100,8 @@ content: "Footnotes"; } li { - font-size: 80%; + font-size: 85%; + margin-top: 1rem; } p { margin-top: 0rem; -- cgit v1.2.3