Vorlage:Masters Boxsuche/style.css
Zur Navigation springen
Zur Suche springen
.masters-boxsuche {
border: 4px solid #74d9eb;
border-radius: 0.75em;
background-color: #238eb2;
width: 100%;
padding: 2px;
box-sizing: border-box;
text-align: center;
display: grid;
gap: 2px;
grid-template-columns: auto auto auto 2em;
}
.masters-boxsuche > div:nth-last-child(5) {
border-radius: 0 0 0 0.5em;
}
.masters-boxsuche > div:nth-last-child(2) {
border-radius: 0 0 0.5em 0;
}
.masters-boxsuche > div:not(:nth-child(5n+9)) {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 2px;
}
.masters-boxsuche > .clicktoggle {
color: white;
font-weight: bold;
background-color: #74d9eb;
font-size: 120%;
}
.masters-boxsuche > .clicktoggle-target {
grid-column: 1 / span 4;
display: flex;
flex-wrap: wrap;
align-items: stretch;
gap: 2px;
}
.masters-boxsuche > div:nth-child(5n+5), .masters-boxsuche > div:nth-child(5n+6), .masters-boxsuche > div:nth-child(5n+7) {
background-color: white;
}
.masters-boxsuche > .clicktoggle-target > span {
background-color: white;
border-radius: 0.25em;
flex-grow: 1;
padding: 2px;
justify-content: center;
align-items: center;
}
.masters-boxsuche > div:last-child {
border-radius: 0 0 0.5em 0.5em;
}
.masters-boxsuche > div:nth-child(-n+4) {
color: white;
font-weight: bold;
}
/*@media only screen and (min-width:600px) {
.masters-boxsuche .clicktoggle-target {
display: flex !important;
}
.masters-boxsuche > .clicktoggle, .masters-boxsuche > div:nth-child(4) {
display: none !important;
}
.masters-boxsuche {
grid-template-columns: auto auto auto;
}
.masters-boxsuche > div:nth-child(5n+5) {
grid-row: auto / span 2;
}
.masters-boxsuche > .clicktoggle-target {
grid-column: 2 / span 2;
}
}*/
/* [[Kategorie:Vorlage:Non-Wikitext]] */