diff --git a/docs/resources/css/dark.css b/docs/resources/css/dark.css index 9d5802ef8..c111fe126 100644 --- a/docs/resources/css/dark.css +++ b/docs/resources/css/dark.css @@ -1,11 +1,9 @@ /* For black-on-white/transparent images at handbook/text-anchors.html */ -@media (prefers-color-scheme: light) { - body[data-theme="dark"] #text-anchors img { - filter: invert(1) brightness(0.85) hue-rotate(-60deg); - } +body[data-theme="dark"] #text-anchors img { + filter: invert(1) brightness(0.85) hue-rotate(-60deg); } @media (prefers-color-scheme: dark) { - body:not([data-theme="light"]) #text-anchors img { + body[data-theme="auto"] #text-anchors img { filter: invert(1) brightness(0.85) hue-rotate(-60deg); } }