Jump to content

Template:Infobox campaign/styles.css

From Schjessu wiki
.infobox-campaign {
	width: 25.5em;
	border-spacing: 2px;
	background-color: #f8f9fa;
	color: #202122;
	border: 1px solid #a2a9b1;
}

.infobox-campaign-above,
.infobox-campaign-header {
	background-color: #CEE0F2;
	color: inherit;
}

.infobox-campaign-subheader {
	background-color: #eeeeee;
	color: inherit;
}

.infobox-campaign th,
.infobox-campaign td {
	color: inherit;
}

/* Forced dark mode (Vector 2022) */
@media screen {
	html.skin-theme-clientpref-night .infobox-campaign {
		background-color: #202122 !important;
		color: #eaecf0 !important;
		border-color: #54595d !important;
	}

	html.skin-theme-clientpref-night .infobox-campaign-above,
	html.skin-theme-clientpref-night .infobox-campaign-header {
		background-color: #2a3b4d !important;
		color: #eaecf0 !important;
	}

	html.skin-theme-clientpref-night .infobox-campaign-subheader {
		background-color: #27292d !important;
		color: #eaecf0 !important;
	}

	html.skin-theme-clientpref-night .infobox-campaign th,
	html.skin-theme-clientpref-night .infobox-campaign td {
		border-color: #54595d !important;
	}
}

/* Automatic OS dark mode (Vector 2022) */
@media screen and (prefers-color-scheme: dark) {
	html.skin-theme-clientpref-os .infobox-campaign {
		background-color: #202122 !important;
		color: #eaecf0 !important;
		border-color: #54595d !important;
	}

	html.skin-theme-clientpref-os .infobox-campaign-above,
	html.skin-theme-clientpref-os .infobox-campaign-header {
		background-color: #2a3b4d !important;
		color: #eaecf0 !important;
	}

	html.skin-theme-clientpref-os .infobox-campaign-subheader {
		background-color: #27292d !important;
		color: #eaecf0 !important;
	}

	html.skin-theme-clientpref-os .infobox-campaign th,
	html.skin-theme-clientpref-os .infobox-campaign td {
		border-color: #54595d !important;
	}
}