Vorlage:Pokémon Center/style.css
Zur Navigation springen
Zur Suche springen
.pokemoncenter {
background: #5C82AE;
border: 2px solid #B1CDEC;
border-radius: 0.5em;
text-align: center;
display: grid;
width: 70%;
grid-template-columns: 100px 1fr;
gap: 2px;
padding: 2px;
margin: auto;
margin-top: 1em;
}
.pokemoncenter > div:nth-child(2n+1), .pokemoncenter > div:nth-child(2) {
display: flex;
justify-content: center;
align-items: center;
}
.pokemoncenter > div:nth-child(2) {
font-weight: bold;
font-size: large;
padding: 8px;
border-radius: 0.5em;
background: #B1CDEC;
}
.pokemoncenter > div:nth-child(2n+1):not(:first-child) {
font-weight: bold;
border-radius: 0.5em;
background: #B1CDEC;
}
.pokemoncenter > div:nth-child(2n+2):not(:nth-child(2)) {
display: flex;
flex-wrap: wrap;
gap: 2px;
}
.pokemoncenter > div:nth-child(2n+2):not(:nth-child(2)) a,
.pokemoncenter > div:nth-child(2n+2):not(:nth-child(2)) span {
display: flex;
justify-content: center;
align-items: center;
background: #FFFFFF;
border-radius: 0.5em;
padding: 2px;
flex-grow: 1;
flex-basis: 100px;
}
/* [[Kategorie:Vorlage:Non-Wikitext]] */