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:
parent
6cff5052a5
commit
5373cfa5df
1 changed files with 4 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue