1
0
Fork 0
forked from remote/pelican

fix: WCAG hover heading anchors

This commit is contained in:
Oliver Ladner 2026-06-19 13:36:23 +02:00
commit d8620e24dc

View file

@ -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 {