Template:Navbox/styles.css

From Workers & Resources: Soviet Republic Official Wiki
Revision as of 18:00, 8 August 2026 by FrontalRaccoon (talk | contribs) (Restore navbox colours lost with the Fandom theme variables)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
/* The navbox rules in MediaWiki:Common.css resolve their colours through
   --theme-* variables that only the Fandom platform defined, so on this wiki
   each of those declarations is discarded and navboxes render with no border,
   background or title bar. TemplateStyles forbids custom properties, so the
   colours are repeated literally here. They match the wikitable palette. */

.navbox {
	background: #202a2e;
	color: #cbced1;
	border: 2px solid #202a2e;
}

.navbox .navbox-title {
	background: #2f4a6d;
	color: #ffffff;
}

.navbox .navbox-title a,
.navbox .navbox-header a,
.navbox .navbox-vde {
	color: #ffffff;
}

.navbox .navbox-group a {
	color: #cbced1;
}

.navbox .navbox-subgroup .navbox-gutter {
	background: #202a2e;
}

.navbox .navbox-above,
.navbox .navbox-below,
.navbox .navbox-image {
	background: #151b1e;
	color: #cbced1;
}

.navbox .navbox-group,
.navbox .navbox-header {
	background: #151b1e;
	color: #cbced1;
}

.navbox .navbox-group,
.navbox .navbox-image-left {
	border-right: 2px solid #202a2e;
}

.navbox .navbox-image-right {
	border-left: 2px solid #202a2e;
}

.navbox .navbox-list {
	background: #13161a;
	color: #cbced1;
}

.navbox .navbox-list a {
	color: #69a3ff;
}