From 94c16aa2c3d152fe0a42e10222fb2095ad0860c4 Mon Sep 17 00:00:00 2001 From: ivan-aksamentov Date: Tue, 11 Feb 2025 09:41:21 +0100 Subject: [PATCH] docs: add light background to images in dark mode --- docs/src/custom.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/src/custom.css b/docs/src/custom.css index bb290215..a523971c 100644 --- a/docs/src/custom.css +++ b/docs/src/custom.css @@ -1 +1,7 @@ @import '~katex/dist/katex.min.css'; + +html[data-theme='dark'] img { + background-color: #555; + padding: 10px; + box-sizing: border-box; +}