aboutsummaryrefslogtreecommitdiff
path: root/anki-card-template/card.css
diff options
context:
space:
mode:
Diffstat (limited to 'anki-card-template/card.css')
-rw-r--r--anki-card-template/card.css4
1 files changed, 2 insertions, 2 deletions
diff --git a/anki-card-template/card.css b/anki-card-template/card.css
index 693db90..648fd2b 100644
--- a/anki-card-template/card.css
+++ b/anki-card-template/card.css
@@ -32,9 +32,9 @@ body {
font-weight: 400;
}
-#card #sentence { color: #000b; }
+#card #sentence:has(b) { color: #000b; }
#card #sentence b { color: #000f; }
-.night_mode #card #sentence { color: #fffb; }
+.night_mode #card #sentence:has(b) { color: #fffb; }
.night_mode #card #sentence b { color: #ffff; }
/* body margin */