mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-13 05:06:49 +03:00
Rearranged CSS
This commit is contained in:
parent
8b4c1b92a9
commit
757c7d61eb
|
@ -1,11 +1,9 @@
|
||||||
/* For black-on-white/transparent images at handbook/text-anchors.html */
|
/* For black-on-white/transparent images at handbook/text-anchors.html */
|
||||||
@media (prefers-color-scheme: light) {
|
body[data-theme="dark"] #text-anchors img {
|
||||||
body[data-theme="dark"] #text-anchors img {
|
filter: invert(1) brightness(0.85) hue-rotate(-60deg);
|
||||||
filter: invert(1) brightness(0.85) hue-rotate(-60deg);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@media (prefers-color-scheme: dark) {
|
@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);
|
filter: invert(1) brightness(0.85) hue-rotate(-60deg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user