fix code color
This commit is contained in:
parent
98175aa555
commit
f59d3228e2
|
@ -1,7 +1,6 @@
|
||||||
code
|
code
|
||||||
-webkit-font-smoothing: auto
|
-webkit-font-smoothing: auto
|
||||||
-moz-osx-font-smoothing: auto
|
-moz-osx-font-smoothing: auto
|
||||||
color: var(--text-code)
|
|
||||||
font-family: $ff-code
|
font-family: $ff-code
|
||||||
|
|
||||||
p>code:not([class]),li>code:not([class])
|
p>code:not([class]),li>code:not([class])
|
||||||
|
@ -9,6 +8,7 @@ p>code:not([class]),li>code:not([class])
|
||||||
background: var(--block)
|
background: var(--block)
|
||||||
padding: .2em
|
padding: .2em
|
||||||
border-radius: 4px
|
border-radius: 4px
|
||||||
|
color: var(--text-code)
|
||||||
|
|
||||||
article.md .highlight, pre:not([class]):has(>code)
|
article.md .highlight, pre:not([class]):has(>code)
|
||||||
margin: var(--gap-p) 0
|
margin: var(--gap-p) 0
|
||||||
|
|
Loading…
Reference in New Issue