Deprecated: Use of MediaWiki\Content\TextContent::getNativeData was deprecated in MediaWiki 1.33. [Called from MediaWiki\Extension\TemplateStyles\TemplateStylesContentHandler::fillParserOutput in /home/dgrwikio/public_html/w/extensions/TemplateStyles/includes/TemplateStylesContentHandler.php at line 81] in /home/dgrwikio/public_html/w/includes/Debug/MWDebug.php on line 372
Template:Color/styles.css: Difference between revisions - DGR Wiki
Jump to content

Template:Color/styles.css: Difference between revisions

Taurussmith (talk | contribs)
m Protected "Template:Color/styles.css" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) [cascading]
Taurussmith (talk | contribs)
m Set stable version settings for "Template:Color/styles.css" [Auto-review: requires "sysop" permission]
 
(No difference)

Latest revision as of 09:39, 13 March 2026

/* {{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;
    }
}