Make anchor links tab-selectable and visible when focused

This commit is contained in:
Daniel Flanagan 2022-10-22 21:33:25 -05:00
parent 6aff13706a
commit 313bb31537
Signed by: lytedev
GPG key ID: 5B2020A0F9921EF4

View file

@ -10,6 +10,7 @@ a
img, embed, frame, iframe { max-width: 100vw }
html,body
min-height 100vh
background-color var(--bg)
color var(--fg)
font-family var(--ff)
@ -42,12 +43,16 @@ html,body
padding 0 0.5em
font-weight normal
font-size 75%
text-decoration none
display none
text-decoration underline
display flex
color transparent
&:focus-visible
color var(--fg)
&:hover
.anchor-link
display flex
color var(--fg)
@media (max-width: 600px)
> h1, > h2, > h3, > h4, > h5, > h6