Template:Color/styles.css: Difference between revisions
From All Skies Encyclopaedia
| en>Jon (WMF)  (Fixes phab:T369874. Please see talk page and do not revert without discussion (and good reason). See also meta:User:Jon_(WMF)/Edit_for_dark_mode_support) | m (1 revision imported) | 
| (No difference) | |
Latest revision as of 13:58, 29 October 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;
    }
}







