fix(theme): display header-anchor links when using keyboard navigation (#123)

pull/126/head
Kia King Ishii 4 years ago committed by GitHub
commit 6931ebd22a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -182,15 +182,22 @@ a.header-anchor {
opacity: 0;
}
a.header-anchor:focus,
a.header-anchor:hover {
text-decoration: none;
}
h1:focus .header-anchor,
h1:hover .header-anchor,
h2:focus .header-anchor,
h2:hover .header-anchor,
h3:focus .header-anchor,
h3:hover .header-anchor,
h4:focus .header-anchor,
h4:hover .header-anchor,
h5:focus .header-anchor,
h5:hover .header-anchor,
h6:focus .header-anchor,
h6:hover .header-anchor {
opacity: 1;
}

Loading…
Cancel
Save