Vorlage:Pokédex-Sortierungen/style.css

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

.pokesort div {
	border-radius: 0.5em;
}

.pokesort div:first-child {
	font-weight: bold;
	font-size: large;
	grid-column: span 2;
	padding: 5px;
}

.pokesort div:nth-child(2), .pokesort div:nth-child(3) {
	font-weight: bold;
	padding: 3px;
}

.pokesort div:nth-child(6) {
	background: #FFFFFF;
	grid-column: span 2;
	padding: 2px;
}

.pokesort div:nth-child(4), .pokesort > div:nth-child(5) {
    display: flex;
    gap: 2px;
    flex-wrap: wrap;
}

.pokesort div:nth-child(4) a, .pokesort > div:nth-child(5) a,
.pokesort div:nth-child(4) span {
	background: white;
	border-radius: 0.5em;
	padding: 2px;
	flex-grow: 1;
	flex-basis: 170px;
}

.pokesort div:nth-child(5) a {
	display: flex;
	justify-content: center;
	align-items: center;
}

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