Increase scroll margin block of foornote reference target

This commit is contained in:
Helen Chong 2024-06-13 18:03:39 +08:00
parent d6ea036102
commit 6946d5fb07
1 changed files with 4 additions and 0 deletions

View File

@ -38,6 +38,10 @@
margin-left: 0.2em; margin-left: 0.2em;
} }
.footnote-ref a:target {
scroll-margin-block: calc(var(--sz-navbar-ht) + 5ex);
}
.footnotes { .footnotes {
margin-top: 3em; margin-top: 3em;
border-top: 0.15em solid var(--clr-title-border); border-top: 0.15em solid var(--clr-title-border);