Template:Infobox character/styles.css: Difference between revisions

From Candypedia
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; } }"
 
No edit summary
 
Line 5: Line 5:
.ib-character .infobox-above,
.ib-character .infobox-above,
.ib-character .infobox-header {
.ib-character .infobox-header {
background-color: #DEDEE2;
background-color: transparent;
}
}



Latest revision as of 06:37, 2 November 2024

.ib-character {
	border-spacing: 2px 5px;
}

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

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