Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/kimcc/hugo-theme-noteworthy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Bugert <git@mbugert.de>2021-01-10 21:39:29 +0300
committerMichael Bugert <git@mbugert.de>2021-01-10 22:21:00 +0300
commit52659abf65a0b3c07901570b2f930dce5fea4d26 (patch)
tree47d0b8b2aa0dd0f2aa527d975bc4e258157628d2
parentde668f23496e2658924ea749d87e7acbd6fad405 (diff)
Fix footnote SCSS not being compatible with generated markup
-rw-r--r--assets/css/main.scss10
1 files 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: "]";
}
}