Szablon:Siostrzane/style.css
Z Nonsensopedii, polskiej encyklopedii humoru
.n-siostrzane-container {
display: flex;
flex-wrap: wrap;
justify-content: center;
max-width: 1100px;
margin: auto;
}
.n-siostrzane-element {
display: flex;
align-items: center;
flex-direction: column;
text-align: center;
flex-basis: 24.9%;
}
/* na szerokich 4 kolumny, na średniomobilnych 3, a na wąskich 2 */
@media screen and (max-width: 850px) {
.n-siostrzane-element {
flex-basis: 33.2%;
}
}
@media screen and (max-width: 550px) {
.n-siostrzane-element {
flex-basis: 49.9%;
}
}
.n-siostrzane-icon {
margin-bottom: 0.25em;
}
.n-siostrzane-label {
margin: 0 0.5em 0.7em;
}
/* [[Kategoria:Szablony CSS]] */