1
Fork 0
mirror of https://github.com/RGBCube/Site synced 2025-08-01 13:37:49 +00:00

css: fix link hover border removal

This commit is contained in:
RGBCube 2025-06-03 23:31:28 +03:00
parent e47501b106
commit 2ac360e842
Signed by: RGBCube
SSH key fingerprint: SHA256:CzqbPcfwt+GxFYNnFVCqoN5Itn4YFrshg1TrnACpA5M

View file

@ -230,10 +230,9 @@ html, body {
code:not(pre > code) { code:not(pre > code) {
@apply border-1 border-dotted px-2 py-0.5 border-black dark:border-white; @apply border-1 border-dotted px-2 py-0.5 border-black dark:border-white;
&:not(a code) { a:hover &:not(:is(h1, h2, h3, h4, h5, h6) *),
a:hover &, a:active & { a:active &:not(:is(h1, h2, h3, h4, h5, h6) *) {
@apply border-transparent; @apply border-transparent;
}
} }
} }