Jump to content

Module:InfoboxBuilder/styles.css

From shapez Wiki
Revision as of 19:07, 25 October 2026 by Dengr1065 (talk | contribs) (Fix width and slightly improve rows)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
.infobox-root {
	float: right;
	width: 300px;
	margin: 0 0 1em 1em;
	background-color: var(--background-color-neutral-subtle);
	border: 1px solid var(--border-color-base);
}

.infobox-title {
	font-size: 125%;
}

.infobox-title, .infobox-header {
	font-weight: bold;
	text-align: center;
	background-color: var(--background-color-neutral);
}

.infobox-group {
	width: 100%;
}

.infobox-row-label {
	text-align: left;
}

@media screen and (width < 640px) {
	.infobox-root {
		float: unset;
	}
}

/* Infobox building */

.infobox-building .infobox-image {
	display: grid;
	place-items: center;
	min-width: 300px;
	min-height: 300px;
}