mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-27 14:12:09 +00:00
Improve footnotes a bit
- Make backlink tap-target wider - Contain <ol> elements.
This commit is contained in:
parent
6f9d418285
commit
64148318c0
1 changed files with 2 additions and 0 deletions
|
@ -199,6 +199,7 @@ html {
|
||||||
main,
|
main,
|
||||||
pre,
|
pre,
|
||||||
summary,
|
summary,
|
||||||
|
:not(nav) > ol,
|
||||||
[role="doc-endnotes"],
|
[role="doc-endnotes"],
|
||||||
[role="doc-preface"] {
|
[role="doc-preface"] {
|
||||||
contain: inline-size layout paint;
|
contain: inline-size layout paint;
|
||||||
|
@ -334,6 +335,7 @@ html {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
padding: .75em .5em;
|
padding: .75em .5em;
|
||||||
margin-top: -1em;
|
margin-top: -1em;
|
||||||
|
min-width: 25%;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* skip link: make it invisible until focused, and put it on the top. */
|
/* skip link: make it invisible until focused, and put it on the top. */
|
||||||
|
|
Loading…
Reference in a new issue