fix code color

This commit is contained in:
xaoxuu 2022-11-05 00:32:15 +08:00
parent 98175aa555
commit f59d3228e2
1 changed files with 1 additions and 1 deletions

View File

@ -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