Toggle menu
211
352
1
4.1K
DemocracyCraft Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Infobox/Columns/styles.css

Template page
Revision as of 23:47, 2 June 2025 by BorealAurora (talk | contribs) (Created page with "{{pp-protected|reason=match parent|small=yes}}: .infobox-columns { display: flex; } TODO: Remove .infobox when element selectors in Common.css are removed as * we are overriding text-align: center on .infobox .infobox-full-data here: .infobox .infobox-columns-text-left { text-align: left; } .infobox-columns > div { box-sizing: border-box; width: 50%; padding: 2px; } .infobox-columns-3 > div { width: 33.33%; } .infobox-columns-4 > div { width: 25%;...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
/* {{pp-protected|reason=match parent|small=yes}} */
.infobox-columns {
	display: flex;
}

/* TODO: Remove .infobox when element selectors in Common.css are removed as
 * we are overriding text-align: center on .infobox .infobox-full-data here
 */
.infobox .infobox-columns-text-left {
	text-align: left;
}

.infobox-columns > div {
	box-sizing: border-box;
	width: 50%;
	padding: 2px;
}

.infobox-columns-3 > div {
	width: 33.33%;
}

.infobox-columns-4 > div {
	width: 25%;
}

.infobox-columns > div:not(:first-child) {
	border-left: 1px dotted #aaa;
	padding-left: 5px;
}