Vorlage:Pokéwalkeritem/style.css

Aus PokéWiki
Zur Navigation springen Zur Suche springen
.pokewalkeritem {
	display: grid;
	grid-template-columns: min-content repeat(3, 1fr);
	width: 40%;
	border-radius: 0.5em;
	text-align: center;
	padding: 2px;
	gap: 2px;
}

.pokewalkeritem div {
	display: flex;
	justify-content: center;
	align-items: center;
}

.pokewalkeritem div:first-child {
	grid-column-end: span 2;
	border-top-left-radius: 0.5em;
}

.pokewalkeritem div:first-child, .pokewalkeritem div:nth-child(2), .pokewalkeritem div:nth-child(3) {
	font-weight: bold;
}

.pokewalkeritem div:nth-child(n+4) {
	background: #ede9ee;
}

.pokewalkeritem div:nth-child(3) {
	border-top-right-radius: 0.5em;
}

.pokewalkeritem div:nth-last-child(4) {
	border-bottom-left-radius: 0.5em;
}

.pokewalkeritem div:last-child {
	border-bottom-right-radius: 0.5em;
}

/* @media only screen and (max-width: 650px) {
	.pokewalkeritem {
		width: auto;
	}
} */

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