From da558a948078f2c017ca4e67b554723c7d1c16ba Mon Sep 17 00:00:00 2001 From: Marius Gerbershagen Date: Fri, 9 Apr 2021 16:49:58 +0200 Subject: [PATCH] doc: css: use white background for images in dark mode --- src/doc/manual/ecl.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/doc/manual/ecl.css b/src/doc/manual/ecl.css index 7e9bd73a0..b862fe1e5 100644 --- a/src/doc/manual/ecl.css +++ b/src/doc/manual/ecl.css @@ -19,6 +19,8 @@ pre.programlisting { background: #2A2A2A; border-left: 1px solid lightgray; border-top: 1px solid lightgray; } + /* we need a light background in order for the images to be readable */ + img { background: white } } @media (prefers-color-scheme: light) { /* light theme */