mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-12-11 22:06:07 +00:00
83e7a06a52
Prevents dark-mode styles from affecting print media by adding `@media screen` to dark-mode related styles. Bug: T371331 Change-Id: Ieeca30d086d8b8705aba96441a576e3d8e127838
26 lines
551 B
Plaintext
26 lines
551 B
Plaintext
@import 'mediawiki.skin.variables.less';
|
|
|
|
@media screen {
|
|
.skin-theme-clientpref-night {
|
|
/**
|
|
* FIXME: Can be removed when T369092 is resolved
|
|
*/
|
|
.ve-ce-branchNode-blockSlug,
|
|
body p.ve-ce-branchNode-newSlug {
|
|
background-color: rgba( 241, 247, 251, 0.1 );
|
|
}
|
|
}
|
|
}
|
|
|
|
@media screen and ( prefers-color-scheme: dark ) {
|
|
html.skin-theme-clientpref-os {
|
|
/**
|
|
* FIXME: Can be removed when T369092 is resolved
|
|
*/
|
|
.ve-ce-branchNode-blockSlug,
|
|
body p.ve-ce-branchNode-newSlug {
|
|
background-color: rgba( 241, 247, 251, 0.1 );
|
|
}
|
|
}
|
|
}
|