<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://the-democratika.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Template%3AInfobox_chromosome%2Fstyles.css</id>
	<title>Template:Infobox chromosome/styles.css - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://the-democratika.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Template%3AInfobox_chromosome%2Fstyles.css"/>
	<link rel="alternate" type="text/html" href="https://the-democratika.com/wiki/index.php?title=Template:Infobox_chromosome/styles.css&amp;action=history"/>
	<updated>2026-04-05T13:05:37Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://the-democratika.com/wiki/index.php?title=Template:Infobox_chromosome/styles.css&amp;diff=8463&amp;oldid=prev</id>
		<title>&gt;Synpath: Moving header/label/data call colouring to stylesheet with dark mode</title>
		<link rel="alternate" type="text/html" href="https://the-democratika.com/wiki/index.php?title=Template:Infobox_chromosome/styles.css&amp;diff=8463&amp;oldid=prev"/>
		<updated>2025-02-09T01:33:26Z</updated>

		<summary type="html">&lt;p&gt;Moving header/label/data call colouring to stylesheet with dark mode&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;.infobox-chromosome .infobox-header {&lt;br /&gt;
	background-color: #ddd;&lt;br /&gt;
}&lt;br /&gt;
.infobox-chromosome .infobox-label {&lt;br /&gt;
	background-color: #e7dcc3;&lt;br /&gt;
}&lt;br /&gt;
.infobox-chromosome .infobox-data {&lt;br /&gt;
	background-color: #eee;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* dark mode has an infobox-specific selector that sets th and td background and&lt;br /&gt;
 * text colouring to a default white on black. The only ways to opt out of this &lt;br /&gt;
 * colouring is via the !important tag or the notheme class. The notheme class&lt;br /&gt;
 * also sets the colour scheme back to light and for whatever reason I can&amp;#039;t &lt;br /&gt;
 * use this stylsheet to set color-scheme back to dark. !important it is then&lt;br /&gt;
*/&lt;br /&gt;
@media screen {&lt;br /&gt;
	html.skin-theme-clientpref-night .infobox-chromosome .infobox-header {&lt;br /&gt;
		background-color: #404244 !important;&lt;br /&gt;
	}&lt;br /&gt;
	html.skin-theme-clientpref-night .infobox-chromosome .infobox-label {&lt;br /&gt;
		/* !important req. to override dark mode theming;&lt;br /&gt;
		 * notheme cannot be applied to the th.infobox-label as &lt;br /&gt;
		 * Module:Infobox currently does not support it (08-02-2025)&lt;br /&gt;
		*/&lt;br /&gt;
		background-color: #3b3018 !important; &lt;br /&gt;
	}&lt;br /&gt;
	html.skin-theme-clientpref-night .infobox-chromosome .infobox-data {&lt;br /&gt;
		background-color: #27292d !important;&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* dark mode opt in via OS (auto) */&lt;br /&gt;
/* see styling comments above */&lt;br /&gt;
@media screen and (prefers-color-scheme: dark) {&lt;br /&gt;
	html.skin-theme-clientpref-os .infobox-chromosome .infobox-header {&lt;br /&gt;
		background-color: #404244 !important;&lt;br /&gt;
	}&lt;br /&gt;
	html.skin-theme-clientpref-os .infobox-chromosome .infobox-label {&lt;br /&gt;
		background-color: #3b3018 !important; &lt;br /&gt;
	}&lt;br /&gt;
	html.skin-theme-clientpref-os .infobox-chromosome .infobox-data {&lt;br /&gt;
		background-color: #27292d !important;&lt;br /&gt;
	}&lt;br /&gt;
}&lt;/div&gt;</summary>
		<author><name>&gt;Synpath</name></author>
	</entry>
</feed>