Skip to content

Commit

Permalink
Rearranged CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere committed Apr 4, 2022
1 parent 8b4c1b9 commit 757c7d6
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions docs/resources/css/dark.css
Original file line number Diff line number Diff line change
@@ -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);
}
}

0 comments on commit 757c7d6

Please sign in to comment.