1
Fork 0
mirror of https://github.com/RGBCube/Site synced 2025-07-30 20:47:46 +00:00

css: fix border disappearing on code elements under headers

This commit is contained in:
RGBCube 2025-06-03 05:48:11 +03:00
parent 6cff5052a5
commit 5373cfa5df
Signed by: RGBCube
SSH key fingerprint: SHA256:CzqbPcfwt+GxFYNnFVCqoN5Itn4YFrshg1TrnACpA5M

View file

@ -230,8 +230,10 @@ html, body {
code:not(pre > code) {
@apply border-1 border-dotted px-2 py-0.5 border-black dark:border-white;
a:hover &, a:active & {
@apply border-transparent;
&:not(a code) {
a:hover &, a:active & {
@apply border-transparent;
}
}
}