From 0628921aaa56c101ddf53693aad53b8ace7119aa Mon Sep 17 00:00:00 2001 From: hayesall Date: Sun, 22 Oct 2023 13:11:35 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20Add=20image=20light/dark=20rules?= =?UTF-8?q?=20to=20`general.css`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/theme/css/general.css | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/theme/css/general.css b/src/theme/css/general.css index e7d20da7..b1d95ab6 100644 --- a/src/theme/css/general.css +++ b/src/theme/css/general.css @@ -146,6 +146,16 @@ table tbody tr:nth-child(2n) { background: var(--table-alternate-bg); } +.light img[src$="#only-dark"], +.rust img[src$="#only-dark"] { + display:none; +} + +.navy img[src$="#only-light"], +.ayu img[src$="#only-light"], +.coal img[src$="#only-light"] { + display:none; +} blockquote { margin: 20px 0;