跳转到内容

Template:Color/styles.css:修订间差异

轻之舟百科,让知识轻装启航
IdleTap-bot​(留言 | 贡献)
导入自求闻百科
 
云云​(留言 | 贡献)
小 已保护“Template:Color/styles.css”:​security: TSU CSS injection hardening 2026-11-03​([编辑=仅允许管理员](无限期)​[移动=仅允许管理员](无限期))
 
(没有差异)

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;
    }
}