From f59d3228e2a34ea0b4c3220288171c25e92b4199 Mon Sep 17 00:00:00 2001 From: xaoxuu Date: Sat, 5 Nov 2022 00:32:15 +0800 Subject: [PATCH] fix code color --- source/css/_common/highlight.styl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/css/_common/highlight.styl b/source/css/_common/highlight.styl index 2dc860c..39ff749 100644 --- a/source/css/_common/highlight.styl +++ b/source/css/_common/highlight.styl @@ -1,7 +1,6 @@ code -webkit-font-smoothing: auto -moz-osx-font-smoothing: auto - color: var(--text-code) font-family: $ff-code p>code:not([class]),li>code:not([class]) @@ -9,6 +8,7 @@ p>code:not([class]),li>code:not([class]) background: var(--block) padding: .2em border-radius: 4px + color: var(--text-code) article.md .highlight, pre:not([class]):has(>code) margin: var(--gap-p) 0