1
Fork 0
mirror of https://github.com/RGBCube/Site synced 2025-07-30 20:47:46 +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) {
@apply border-1 border-dotted px-2 py-0.5 border-black dark:border-white;
&:not(a code) {
a:hover &, a:active & {
@apply border-transparent;
}
a:hover &:not(:is(h1, h2, h3, h4, h5, h6) *),
a:active &:not(:is(h1, h2, h3, h4, h5, h6) *) {
@apply border-transparent;
}
}