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

CSS: increase endnote backlink tap target size

Should meet the 48x48px target now.
This commit is contained in:
Rohan Kumar 2022-06-02 22:04:21 -07:00
parent be86ab3ac7
commit 062c348d4e
No known key found for this signature in database
GPG key ID: 1E892DB2A5F84479

View file

@ -128,9 +128,21 @@ html {
padding: .875em .25em;
}
/* Make superscripts a bit easier to tap. */
/* Make superscripts and backlinks a bit easier to tap. */
sup > a {
padding-bottom: .25em;
margin-left: .25em;
}
a[role="doc-backlink"] {
/* This doesn't take us all the way to WCAG AAA 44px targets, but it's close.*/
padding: 0 1.75em 1.625em .25em;
}
/* Make room for those big backlink buttons so they don't overlap
* with links on the following endnote */
section[role="doc-endnotes"] li {
margin-bottom: 2em;
}
nav li ol {