From 11060e51935d85fef9f99ac15da968dfed99aed4 Mon Sep 17 00:00:00 2001 From: Ben Durrant Date: Mon, 4 Dec 2023 20:34:11 +0000 Subject: [PATCH] Change background colour for code in blockquotes for dark themes (#2094) --- website/static/css/custom.css | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/website/static/css/custom.css b/website/static/css/custom.css index 641a2d710..86bdda91f 100644 --- a/website/static/css/custom.css +++ b/website/static/css/custom.css @@ -92,7 +92,10 @@ blockquote { background-color: var(--ifm-blockquote-color); border-left: 6px solid var(--ifm-blockquote-color-dark); border-radius: var(--ifm-global-radius); +} +html[data-theme='dark'] blockquote code { + background-color: var(--ifm-color-emphasis-800); } .docusaurus-highlight-code-line { @@ -226,4 +229,3 @@ a:visited { fill: black; stroke: black; } -