From 52659abf65a0b3c07901570b2f930dce5fea4d26 Mon Sep 17 00:00:00 2001 From: Michael Bugert Date: Sun, 10 Jan 2021 19:39:29 +0100 Subject: [PATCH] Fix footnote SCSS not being compatible with generated markup --- assets/css/main.scss | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/assets/css/main.scss b/assets/css/main.scss index 5405599..9650b68 100644 --- a/assets/css/main.scss +++ b/assets/css/main.scss @@ -339,16 +339,14 @@ nav { height: auto; } -.footnote-ref { - a { - margin-left: 0.3em; - } +a.footnote-ref { + margin-left: 0.3em; - a::before { + &::before { content: "["; } - a::after { + &::after { content: "]"; } }