Template:Infobox character/styles.css

Revision as of 21:59, 2 June 2025 by Fire (talk | contribs) (Created page with ".ib-character { border-spacing: 2px 5px; } .ib-character .infobox-above, .ib-character .infobox-header { background-color: #DEDEE2; } light background for transparent images: .ib-character .infobox-image img { background-color: #f8f9fa; } @media screen { html.skin-theme-clientpref-night .ib-character .infobox-above, html.skin-theme-clientpref-night .ib-character .infobox-header { background: hsl(240, 6%, 20%); color: inherit; } } @media screen and (pre...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
.ib-character {
	border-spacing: 2px 5px;
}

.ib-character .infobox-above,
.ib-character .infobox-header {
	background-color: #DEDEE2;
}

/* light background for transparent images */
.ib-character .infobox-image img {
	background-color: #f8f9fa;
}

@media screen {
	html.skin-theme-clientpref-night .ib-character .infobox-above,
	html.skin-theme-clientpref-night .ib-character .infobox-header {
		background: hsl(240, 6%, 20%);
		color: inherit;
	}
}

@media screen and (prefers-color-scheme: dark) {
	html.skin-theme-clientpref-os .ib-character .infobox-above,
	html.skin-theme-clientpref-os .ib-character .infobox-header {
		background: hsl(240, 6%, 20%);
		color: inherit;
	}
}