Vorlage:Star/style.css

Aus PokéWiki
Zur Navigation springen Zur Suche springen
.star-nav {
	background: #EEE193;
	border: 2px solid #CCAB17;
	border-radius: 0.5em;
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: 2px;
	padding: 2px;
	margin: auto;
	margin-top: 1em;
	text-align: center;
}

.star-nav > div {
	display: flex;
	justify-content: center;
	align-items: stretch;
	flex-wrap: wrap;
	align-content: center;
	border-radius: 0.5em;
}

.star-nav > div:first-child {
	grid-column: span 2;
	display: flex;
	justify-content: center;
	align-items: center;
	font-weight: bold;
	font-size: large;
	padding: 8px;
	background: #C22171;
}

.star-nav > div:nth-child(2n) {
	background: #C22171;
	font-weight: bold;
	min-width: 100px;
}

.star-nav > div:nth-child(2n+1) {
	display: flex;
	flex-wrap: wrap;
	gap: 2px;
}

.star-nav > div:nth-child(2n+1):not(:first-child) > span {
	display: flex;
	justify-content: center;
	align-items: center;
	background: #FFFFFF;
	border-radius: 0.5em;
	padding: 4px;
	gap: 5px;
	flex-grow: 1;
	flex-basis: 160px;
}

/* [[Kategorie:Vorlage:Non-Wikitext]] */