Vorlage:Zyklus/style.css
Zur Navigation springen
Zur Suche springen
.zyklus {
border-radius: 0.5em;
width: 100%;
padding: 1px;
background: #BBBBBB;
display: grid;
grid-template-columns: 50% 50%;
}
.zyklus > div:first-child {
border-top-left-radius: 0.5em;
border-top-right-radius: 0.5em;
background: #CCCCCC;
border-width: 1px;
border-style: solid;
border-color: #BBBBBB;
font-size: larger;
font-weight: bold;
text-align: center;
grid-column-end: span 2;
}
.zyklus > div:first-child a:not(.new), .zyklus > div:first-child a:visited:not(.new) {
color: #000000;
}
.zyklus > div:nth-child(2), .zyklus > div:nth-child(3) {
background: #DDDDDD;
border-width: 1px;
border-style: solid;
border-color: #BBBBBB;
font-weight: bold;
text-align: center;
}
.zyklus > div:not(:nth-child(1)):not(:nth-child(2)):not(:nth-child(3)):not(.empty) {
background: #FFFFFF;
border-width: 1px;
border-style: solid;
border-color: #BBBBBB;
text-align: center;
padding: 3px;
}
.zyklus > div:not(:nth-child(1)):not(:nth-child(2)):not(:nth-child(3)):not(.empty) {
display: flex;
justify-content: center;
align-items: center;
}
.zyklus > div:not(:nth-child(1)):not(:nth-child(2)):not(:nth-child(3)) > div {
margin-left: 5px;
margin-right: 5px;
}
.zyklus .empty {
background: #EEEEEE;
border-width: 1px;
border-style: solid;
border-color: #BBBBBB;
font-weight: bold;
text-align: center;
}
/*@media only screen and (min-width: 721px) {*/
.zyklus div:nth-last-child(1) {
border-bottom-right-radius: 0.5em;
}
.zyklus div:nth-last-child(2) {
border-bottom-left-radius: 0.5em;
}
/*}
@media only screen and (max-width: 720px) {
.zyklus {
grid-template-columns: 100%;
}
.zyklus div:first-child {
grid-column-end: span 1;
}
.zyklus div:nth-child(even):not(:first-child) {
order: 1;
}
.zyklus div:nth-child(odd):not(:first-child) {
order: 2;
}
.zyklus .empty {
display: none;
}
.zyklus div:last-child {
border-bottom-left-radius: 0.5em;
border-bottom-right-radius: 0.5em;
}
}*/
/* [[Kategorie:Vorlage:Non-Wikitext]] */