Vorlage:Team Crypto/style.css
Zur Navigation springen
Zur Suche springen
.teamcrypto {
display: grid;
grid-template-columns: 1fr 2fr 2fr;
width: 70%;
background: #ADA0C7;
border: 2px solid #70608D;
border-radius: 0.5em;
margin: 1em auto 0 auto;
text-align: center;
padding: 2px;
gap: 5px 2px;
}
.teamcrypto div:first-child {
grid-column-end: span 3;
font-weight: bold;
font-size: large;
padding: 8px;
background: #CDC2E9;
border-radius: 0.5em;
}
.teamcrypto div:nth-child(3),
.teamcrypto div:nth-child(4) {
display: flex;
justify-content: center;
align-items: center;
background: #CDC2E9;
border-radius: 0.5em;
padding: 4px;
}
.teamcrypto div:nth-child(3n-1) {
display: flex;
justify-content: center;
align-items: center;
background: #CDC2E9;
border-radius: 0.5em;
font-weight: bold;
padding: 4px;
}
.teamcrypto div:nth-child(3n):not(:nth-child(3)),
.teamcrypto div:nth-child(3n+1):not(:first-child):not(:nth-child(4)) {
display: flex;
flex-wrap: wrap;
gap: 2px;
}
.teamcrypto div:nth-child(3n):not(:nth-child(3)) a,
.teamcrypto div:nth-child(3n+1):not(:first-child):not(:nth-child(4)) a {
display: flex;
justify-content: center;
align-items: center;
background: #FFFFFF;
border-radius: 0.5em;
flex-grow: 1;
flex-basis: 95px;
padding: 4px;
}
.teamcrypto div:last-child {
grid-column-end: span 2;
}
/* @media only screen and (max-width: 600px) {
.teamcrypto {
width: auto;
}
}
@media only screen and (max-width: 480px) {
.teamcrypto {
grid-template-columns: 1fr 1fr;
gap: 2px;
}
.teamcrypto div:first-child {
grid-column-end: span 2;
}
.teamcrypto div:nth-child(2) {
display: none;
}
.teamcrypto div:nth-child(3n-1) {
grid-column-end: span 2;
margin-top: 4px;
}
.teamcrypto div:nth-child(5) {
margin-top: 0;
}
} */
/* [[Kategorie:Vorlage:Non-Wikitext]] */