summaryrefslogtreecommitdiffstats
path: root/assets/scss
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2024-10-02 15:28:43 +0200
committerAhmed Abdelhalim <[email protected]>2024-10-07 02:01:32 +0200
commite76b49d5ff40bfa0af8a6931cacc775010bf5882 (patch)
tree346627520a2dcf1351438d4c8683e5968ba4b499 /assets/scss
parentabcf4416dfc7c4280a453b1320655349c30611bf (diff)
Refactor CSS for the footnote links
Diffstat (limited to 'assets/scss')
-rw-r--r--assets/scss/web/_blog.scss16
1 files changed, 9 insertions, 7 deletions
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;