Vorlage:Orte in PokéPark 2/style.css

Aus PokéWiki
Zur Navigation springen Zur Suche springen
.pokepark-zwei-orte {
	display: grid;
	grid-template-columns: 1fr 2fr;
	width: 80%;
	border-radius: 0.5em;
	text-align: center;
	padding: 2px;
	gap: 2px;
	margin: auto;
	margin-top: 1em;
}

.pokepark-zwei-orte div:first-child {
	grid-column-end: span 2;
	padding: 8px;
	font-size: large;
	font-weight: bold;
	border-top-left-radius: 0.5em;
	border-top-right-radius: 0.5em;
}

.pokepark-zwei-orte div:nth-child(2), .pokepark-zwei-orte div:nth-child(3) {
	font-weight: bold;
}

.pokepark-zwei-orte div:nth-child(even) {
	background: #FFFFFF;
	display: flex;
	justify-content: center;
	align-items: center;
}

.pokepark-zwei-orte div:nth-child(odd):not(:first-child):not(:nth-child(3)) {
	display: flex;
	flex-wrap: wrap;
	gap: 2px;
}

.pokepark-zwei-orte div:nth-child(odd):not(:first-child):not(:nth-child(3)) a {
	background: #FFFFFF;
	flex-grow: 1;
	flex-basis: 120px;
}

.pokepark-zwei-orte div:nth-last-child(2) {
	border-bottom-left-radius: 0.5em;
}

.pokepark-zwei-orte div:nth-child(odd):last-of-type a:last-of-type {
	border-bottom-right-radius: 0.5em;
}

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