Template:Color/styles.css: Difference between revisions
From WikiMD's Wellness Encyclopedia
m 1 revision imported |
m 1 revision imported |
||
| (One intermediate revision by one other user not shown) | |||
| Line 1: | Line 1: | ||
/* {{pp-template}} */ | /* {{pp-template}} */ | ||
/* T360683: | /* [[phab:T360683]]: This stylesheet removes the function of this template in | ||
* dark mode | |||
*/ | |||
html.skin-theme-clientpref-night div:not(.notheme) > .tmp-color, | @media screen { | ||
html.skin-theme-clientpref-night p > .tmp-color, | html.skin-theme-clientpref-night div:not(.notheme) > .tmp-color, | ||
html.skin-theme-clientpref-night table:not(.notheme) .tmp-color { | html.skin-theme-clientpref-night p > .tmp-color, | ||
html.skin-theme-clientpref-night table:not(.notheme) .tmp-color { | |||
color: inherit !important; | |||
} | |||
} | } | ||
@media (prefers-color-scheme: dark) { | |||
@media screen and ( prefers-color-scheme: dark) { | |||
/* automatic mode */ | /* automatic mode */ | ||
html.skin-theme-clientpref-os div:not(.notheme) > .tmp-color, | html.skin-theme-clientpref-os div:not(.notheme) > .tmp-color, | ||
Latest revision as of 00:42, 1 January 2025
/* {{pp-template}} */
/* [[phab:T360683]]: This stylesheet removes the function of this template in
* dark mode
*/
@media screen {
html.skin-theme-clientpref-night div:not(.notheme) > .tmp-color,
html.skin-theme-clientpref-night p > .tmp-color,
html.skin-theme-clientpref-night table:not(.notheme) .tmp-color {
color: inherit !important;
}
}
@media screen and ( prefers-color-scheme: dark) {
/* automatic mode */
html.skin-theme-clientpref-os div:not(.notheme) > .tmp-color,
html.skin-theme-clientpref-os p > .tmp-color,
html.skin-theme-clientpref-os table:not(.notheme) .tmp-color {
color: inherit !important;
}
}