Rearranged CSS

This commit is contained in:
Andrew Murray 2022-04-04 21:33:12 +10:00
parent 8b4c1b92a9
commit 757c7d61eb

View File

@ -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);
}
}