Vorlage:Pokémon Rumble World/style.css

Aus PokéWiki
Zur Navigation springen Zur Suche springen
.pokemon-rumble-world {
	display: grid;
	grid-template-columns: 1fr 3fr;
	background: #4F4F4F;
	box-shadow: 1px 1px 2px #989898;
	border-radius: 0.5em;
	text-align: center;
	padding: 2px;
	gap: 2px;
	margin-top: 1em;
}

.pokemon-rumble-world div:first-child {
	grid-column-end: span 2;
	font-weight: bold;
	font-size: large;
	padding: 8px;
	background: #B5B5B5;
	border-radius: 0.5em;
}

.pokemon-rumble-world div:nth-child(even) {
	background: #DCDCDC;
	padding: 2px;
	border-radius: 0.5em;
	display: flex;
	justify-content: center;
	align-items: center;
}

.pokemon-rumble-world div:nth-child(2n+1):not(:first-child) {
	display: flex;
	flex-wrap: wrap;
	gap: 2px;
}

.pokemon-rumble-world div:nth-child(2n+1):not(:first-child) a {
	background: #FFFFFF;
	padding: 2px;
	flex-grow: 1;
	flex-basis: 140px;
	border-radius: 0.5em;
	display: flex;
	justify-content: center;
	align-items: center;
}

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