跳转到内容

Template:Color/styles.css

被永久保护的模板
轻之舟百科,让知识轻装启航
云云​(留言 | 贡献)2026年11月3日 (二) 05:31的版本 (已保护“Template:Color/styles.css”:​security: TSU CSS injection hardening 2026-11-03​([编辑=仅允许管理员](无限期)​[移动=仅允许管理员](无限期)))
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
/* {{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;
    }
}