mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-12-25 20:13:10 +00:00
55ea39bb30
Note: You need to enable wgMinervaApplyKnownTemplateHack in LocalSettings.php for these styles to work. Editors can opt out of these rules by using the already popularized "notheme" class. Bug: T357722 Change-Id: I32f3968b74bded987bb60e85a902e551727db545
14 lines
318 B
Plaintext
14 lines
318 B
Plaintext
.skin-night-mode-clientpref-1 .page-Main_Page {
|
|
.mw-parser-output :not( .notheme ) {
|
|
.night-mode-strip-all-colors-when-safe();
|
|
}
|
|
}
|
|
|
|
@media ( prefers-color-scheme: dark ) {
|
|
.skin-night-mode-clientpref-2 .page-Main_Page {
|
|
.mw-parser-output :not( .notheme ) {
|
|
.night-mode-strip-all-colors-when-safe();
|
|
}
|
|
}
|
|
}
|