Also render footnotes in tooltip shortcode #60

Merged
iniznet merged 21 commits from feat/footnote into main 2024-10-16 01:53:41 +08:00
4 changed files with 19 additions and 13 deletions
Showing only changes of commit ca10bd7409 - Show all commits

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;
}
}