forked from remote/pelican
fix: WCAG hover heading anchors
This commit is contained in:
parent
68c87498a7
commit
d8620e24dc
1 changed files with 2 additions and 1 deletions
|
|
@ -72,7 +72,7 @@
|
|||
/*Hide heading anchor links unless hovering over them*/
|
||||
.headerlink {
|
||||
/*@apply no-underline text-rp-dawn-love ml-1 md:ml-2 hover:no-underline;*/
|
||||
@apply no-underline text-rp-dawn-love ml-1 md:ml-2 hover:no-underline opacity-0 transition-opacity duration-150;
|
||||
@apply no-underline text-rp-dawn-love ml-1 md:ml-2 hover:no-underline opacity-0 transition-opacity duration-150 visibility: hidden;
|
||||
}
|
||||
|
||||
h1:hover .headerlink,
|
||||
|
|
@ -83,6 +83,7 @@ h5:hover .headerlink,
|
|||
h6:hover .headerlink,
|
||||
.headerlink:focus-visible {
|
||||
@apply opacity-100;
|
||||
visibility: visible;
|
||||
}
|
||||
|
||||
.note {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue