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:
parent
e47501b106
commit
2ac360e842
1 changed files with 3 additions and 4 deletions
|
@ -230,12 +230,11 @@ 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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
pre code, pre code * {
|
pre code, pre code * {
|
||||||
@apply whitespace-pre;
|
@apply whitespace-pre;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue