Fix scroll margins

Now it suddenly works. Whatever.
This commit is contained in:
Tetrakern 2024-10-15 02:01:06 +02:00
parent a4f4758585
commit ca10bd7409
4 changed files with 19 additions and 13 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -895,8 +895,12 @@ html:not(.logged-in) body:not(.logged-in) {
margin: 0;
}
&__item::marker {
color: inherit !important;
&__item{
scroll-margin-top: 64px;
&::marker {
color: inherit !important;
}
}
&__link-up {

View File

@ -90,12 +90,23 @@ a.modal-tooltip {
cursor: pointer;
text-decoration: underline var(--fg-900) dotted 1px;
text-underline-offset: 0.15em;
scroll-margin-top: 64px;
&:hover {
text-decoration-color: currentColor;
}
}
.footnote-link {
scroll-margin-top: 64px;
text-decoration: none !important;
padding-left: 2px;
&:hover {
text-decoration: none !important;
}
}
.esc-link a:not(.link) {
color: inherit;
@ -511,12 +522,3 @@ a.modal-tooltip {
margin: 0 .875rem;
overflow: auto;
}
.footnote-link {
scroll-margin-top: 64px;
text-decoration: none !important;
&:hover {
text-decoration: none !important;
}
}