mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-23 15:36:58 +00:00
Dark mode styles should not apply to printed content
Bug: T371331 Change-Id: Ia5f1293dba2e7037de6058475b603d0928dbb3b0
This commit is contained in:
parent
6f71bf3a4f
commit
ccbe3feadb
|
@ -37,11 +37,13 @@
|
||||||
background-color: #ececec;
|
background-color: #ececec;
|
||||||
|
|
||||||
.skin-theme-clientpref-night & {
|
.skin-theme-clientpref-night & {
|
||||||
background-color: @background-color-interactive-subtle;
|
@media screen {
|
||||||
|
background-color: @background-color-interactive-subtle;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.skin-theme-clientpref-os & {
|
.skin-theme-clientpref-os & {
|
||||||
@media ( prefers-color-scheme: dark ) {
|
@media screen and ( prefers-color-scheme: dark ) {
|
||||||
background-color: @background-color-interactive-subtle;
|
background-color: @background-color-interactive-subtle;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue