Vorlage:Manga-Attacken/style.css
Zur Navigation springen
Zur Suche springen
.manga-attacken {
display: grid;
grid-template-columns: min-content 1fr 1fr;
border-radius: 0.5em;
margin: auto;
width: 60%;
text-align: center;
padding: 2px;
gap: 2px;
}
.manga-attacken div {
display: flex;
justify-content: center;
align-items: center;
padding: 2px;
}
.manga-attacken div:first-child {
border-top-left-radius: 0.5em;
}
.manga-attacken div:nth-child(3) {
border-top-right-radius: 0.5em;
}
.manga-attacken div:first-child,
.manga-attacken div:nth-child(2),
.manga-attacken div:nth-child(3) {
font-weight: bold;
padding: 5px;
}
.manga-attacken div:nth-child(5),
.manga-attacken div:nth-child(6) {
display: none;
}
.manga-attacken div:nth-child(4) {
border-bottom-left-radius: 0.5em;
}
.manga-attacken div:nth-child(4) img {
border-bottom-left-radius: 0.5em;
}
.manga-attacken div:last-child {
border-bottom-right-radius: 0.5em;
}
/*@media only screen and (max-width: 768px) {
.manga-attacken {
width: 80%;
}
}
@media only screen and (max-width: 600px) {
.manga-attacken {
width: auto;
grid-template-columns: 1fr 1fr;
}
.manga-attacken div:first-child {
grid-column-end: span 2;
border-top-right-radius: 0.5em;
}
.manga-attacken div:nth-child(2),
.manga-attacken div:nth-child(3) {
display: none;
}
.manga-attacken div:nth-child(4) {
grid-column-end: span 2;
border-bottom-left-radius: 0;
}
.manga-attacken div:nth-child(4) img {
border-bottom-left-radius: 0;
}
.manga-attacken div:nth-child(5),
.manga-attacken div:nth-child(6) {
display: block;
font-weight: bold;
padding: 5px;
}
.manga-attacken div:nth-last-child(2) {
border-bottom-left-radius: 0.5em;
}
}*/
/* [[Kategorie:Vorlage:Non-Wikitext]] */