Vorlage:RandomPerson/style.css: Unterschied zwischen den Versionen
Aus Sacra.Wiki
Ansichten
Aktionen
Namensräume
Varianten
Werkzeuge
Admin (Diskussion | Beiträge) |
Admin (Diskussion | Beiträge) |
||
Zeile 2: | Zeile 2: | ||
display: flex; | display: flex; | ||
flex-direction: row; | flex-direction: row; | ||
flex-wrap: wrap; | |||
} | } | ||
.random-person { | .random-person { | ||
margin: 8px; | margin: 8px; | ||
display: flex; | |||
flex-basis: 25%; | flex-basis: 25%; | ||
flex-grow: 1; | flex-grow: 1; |
Version vom 19. Oktober 2021, 10:32 Uhr
.people-container {
display: flex;
flex-direction: row;
flex-wrap: wrap;
}
.random-person {
margin: 8px;
display: flex;
flex-basis: 25%;
flex-grow: 1;
flex-shrink: 0;
border-radius: 4px;
border: 1px solid rgba(0, 0, 0, 0.05);
}
.random-person .person-image {
width: 100%;
height: auto;
}
.random-person h2 {
font-size: 16px;
text-align: center;
padding: 8px;
}