From f951d3e5d6a6812e4d62b29e08105c17eee42f3d Mon Sep 17 00:00:00 2001 From: isUnknown Date: Fri, 21 Feb 2025 07:30:28 +0100 Subject: [PATCH] remove footnote before space. Add underline on target --- assets/css/src/generic.css | 2 +- assets/css/src/texts.css | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/assets/css/src/generic.css b/assets/css/src/generic.css index 1043a1a..a527894 100644 --- a/assets/css/src/generic.css +++ b/assets/css/src/generic.css @@ -86,7 +86,7 @@ body { } .footnote::before { - content: " ["; + content: "["; } .footnote::after { content: "]"; diff --git a/assets/css/src/texts.css b/assets/css/src/texts.css index 853c7d2..6baf6dd 100644 --- a/assets/css/src/texts.css +++ b/assets/css/src/texts.css @@ -172,6 +172,12 @@ article p:not(:last-child) { font-weight: var(--font-weight-bold) !important; } +.footnote:focus-visible, +.footnote:target { + text-decoration: underline !important; + text-underline-offset: 0.5rem; +} + @media screen and (min-width: 640px) { .title-center { margin-left: calc(2 * var(--unit--horizontal));