Template:Color/styles.css: Difference between revisions
Appearance
m Protected "Template:Color/styles.css": templtae ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) |
Boberrybiscuit changed the content model of the page Template:Color/styles.css from "wikitext" to "Sanitized CSS" |
(No difference)
| |
Revision as of 15:58, 21 November 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;
}
}