From a742cd6d1ee32f81450fa6a1f1a1b3b977aee4b5 Mon Sep 17 00:00:00 2001 From: Ash Date: Sun, 28 Jul 2024 01:48:34 +0200 Subject: [PATCH] feat(css): adjust padding of footnotes and headings --- assets/main.scss | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/assets/main.scss b/assets/main.scss index 65479aa..5d63842 100644 --- a/assets/main.scss +++ b/assets/main.scss @@ -47,7 +47,6 @@ article { } } - a { color: color(peach); text-decoration: none; @@ -78,7 +77,7 @@ blockquote { & > p { &::before { - content: '> '; + content: "> "; color: color(overlay0); font-style: normal; font-weight: bold; @@ -111,7 +110,7 @@ li { margin: 0.25em 0; } -sup { +ul sup { line-height: 0; vertical-align: super; } @@ -119,7 +118,8 @@ sup { .highlight { overflow-x: auto; - &, & code { + &, + & code { background: color(mantle); padding: 0; } @@ -133,8 +133,8 @@ sup { .md-heading > a { font-style: italic; - padding: 0; - padding-right: 0.2ch; + margin-left: -0.2ch; + padding: 0 0.2ch; } .md-heading > a, @@ -154,6 +154,14 @@ sup { padding: 0 0.15em; } +.footnote-ref { + text-decoration: underline; +} + +.footnote-backref { + font-size: medium; +} + .footnotes { color: color(subtext1); font-size: smaller; -- 2.45.2