Vorlage:Film Charaktere/style.css
Zur Navigation springen
Zur Suche springen
.film-charaktere {
margin: 10px 0 10px 0;
border-radius: 0.5em;
display: grid;
padding: 2px;
gap: 2px;
}
.film-charaktere > div:first-child {
display: flex;
flex-wrap: wrap;
gap: 2px;
}
.film-charaktere > div:first-child > div {
border-radius: 0.5em;
padding: 2px;
flex-grow: 1;
flex-basis: 200px;
display: flex;
justify-content: center;
}
.film-charaktere > div:not(:first-child) {
border-radius: 0.5em;
display: grid;
grid-template-columns: 1fr 2fr;
padding: 2px;
gap: 2px;
}
.film-charaktere > div:not(:first-child) > div:nth-child(4n+1) {
grid-row-end: span 3;
border-radius: 0.5em;
background: #FFFFFF;
text-align: center;
font-weight: bold;
padding: 2px;
display: flex;
justify-content: center;
align-items: center;
}
.film-charaktere > div:not(:first-child) > div:not(:nth-child(4n+1)) {
display: flex;
flex-wrap: wrap;
align-items: stretch;
gap: 2px;
}
.film-charaktere > div:not(:first-child) > div:not(:nth-child(4n+1)) a,
.film-charaktere > div:not(:first-child) > div:not(:nth-child(4n+1)) span {
border-radius: 0.5em;
background: #FFFFFF;
flex-grow: 1;
flex-basis: 150px;
padding: 2px;
display: flex;
justify-content: center;
align-items: center;
text-align: center;
}
/* [[Kategorie:Vorlage:Non-Wikitext]] */