1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-09-19 20:02:10 +00:00

Improve footnotes a bit

- Make backlink tap-target wider
- Contain <ol> elements.
This commit is contained in:
Rohan Kumar 2022-08-08 17:32:50 -07:00
parent 6f9d418285
commit 64148318c0
No known key found for this signature in database
GPG key ID: 1E892DB2A5F84479

View file

@ -199,6 +199,7 @@ html {
main,
pre,
summary,
:not(nav) > ol,
[role="doc-endnotes"],
[role="doc-preface"] {
contain: inline-size layout paint;
@ -334,6 +335,7 @@ html {
display: inline-block;
padding: .75em .5em;
margin-top: -1em;
min-width: 25%;
}
/* skip link: make it invisible until focused, and put it on the top. */