mediawiki-skins-MinervaNeue/skinStyles/ext.visualEditor.core.mobile.less
Jdrewniak 83e7a06a52 Prevent dark-mode styles from affecting print media
Prevents dark-mode styles from affecting print media
by adding `@media screen` to dark-mode related styles.

Bug: T371331
Change-Id: Ieeca30d086d8b8705aba96441a576e3d8e127838
2024-08-08 14:27:30 -04:00

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 );
}
}
}