From 3cd99826d276965e1517e8104b390ee72c9f1b9e Mon Sep 17 00:00:00 2001 From: Alex Cabal Date: Sun, 13 Dec 2020 12:38:29 -0600 Subject: [PATCH] Update core.css to new standard --- src/epub/css/core.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/epub/css/core.css b/src/epub/css/core.css index 67d129b..03fe168 100644 --- a/src/epub/css/core.css +++ b/src/epub/css/core.css @@ -117,3 +117,9 @@ a[epub|type~="noteref"]{ section[epub|type~="endnotes"] > ol > li{ margin: 1em 0; } + +@media (prefers-color-scheme: dark){ + img[epub|type~="se:image.color-depth.black-on-transparent"]{ + filter: invert(100%); + } +}