From a7a3778f52d5ac6d2428744b858b09fa617621cd Mon Sep 17 00:00:00 2001 From: Peng Xiao Date: Wed, 17 Nov 2021 17:22:02 +0800 Subject: [PATCH] fix: strong elements should inherit their color --- src/_miscs.scss | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/_miscs.scss b/src/_miscs.scss index 4c778f5..08eae16 100644 --- a/src/_miscs.scss +++ b/src/_miscs.scss @@ -30,6 +30,11 @@ strong { font-weight: 600; } +// strong elements should inherit font colors +.with-bg-color :is(b, strong) { + color: inherit; +} + /* External links */ .external-link, .external-link:hover { @@ -99,7 +104,8 @@ a.tag:hover { } /* Page properties */ -.page-properties, .block-properties { +.page-properties, +.block-properties { margin: 0 0 0.5em -8px; font-size: 0.8em; background: var(--ls-secondary-background-color); @@ -109,7 +115,8 @@ a.tag:hover { } .sidebar-item-list { - .page-properties, .block-properties { + .page-properties, + .block-properties { background: var(--ls-tertiary-background-color); } }