Template:Color/styles.css:修订间差异
外观
enwiki>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 |
小 已保护“Template:Color/styles.css”:security: TSU CSS injection hardening 2026-11-03([编辑=仅允许管理员](无限期)[移动=仅允许管理员](无限期)) |
| (未显示另一用户的1个中间版本) | |
(没有差异)
| |
2026年11月3日 (二) 05:31的最新版本
/* {{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;
}
}