Vorlage:Magazin/style.css
Zur Navigation springen
Zur Suche springen
.magazin {
border-radius: 0.5em;
border: 3px solid #5C82AE;
background: #B1CDEC;
text-align: center;
width: 320px;
flex-grow: 1;
display: grid;
gap: 2px;
}
.magazin > div:nth-child(1),
.magazin > div:nth-child(4) div:nth-child(odd) {
font-size: larger;
}
.magazin div {
padding: 2px;
}
.magazin > div:nth-child(4) {
padding: 0;
}
.magazin > div:nth-child(3),
.magazin > div:nth-child(4) > div {
background: #FFFFFF;
}
.magazin > div:nth-child(3) {
border-radius: 0.5em;
display: flex;
align-items: center;
justify-content: center;
}
.magazin > div:nth-child(3) img {
border-radius: 0.5em;
max-width: none !important;
}
.magazin > div:nth-child(4) {
display: grid;
gap: 2px;
}
.magazin > div:nth-child(4) > div:nth-child(odd) {
border-top-left-radius: 0.5em;
border-top-right-radius: 0.5em;
}
.magazin > div:nth-child(4) > div:nth-child(even) {
border-bottom-left-radius: 0.5em;
border-bottom-right-radius: 0.5em;
}
/*@media only screen and (min-width: 480px) {*/
.magazin {
grid-template-columns: min-content 1fr;
grid-template-rows: min-content auto;
}
/*}*/
/* [[Kategorie:Vorlage:Non-Wikitext]] */