Vorlage:Attacke UNITE/style.css: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
(Die Seite wurde neu angelegt: „.attackeunite { width:40%; border-radius:0.5em; margin:auto; text-align:center; } .attackeunite tr th { border-radius:0.5em; } .attackeunite tr:nth-child(…“) |
KKeine Bearbeitungszusammenfassung |
||
(3 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
.attackeunite { | .attackeunite { | ||
border-radius:0.5em; | border-radius:0.5em; | ||
margin:auto; | margin:auto; | ||
text-align:center; | text-align:center; | ||
} | } | ||
.attackeunite tr th { | .attackeunite tr th { | ||
border-radius:0.5em; | border-radius:0.5em; | ||
} | } | ||
.attackeunite tr:nth-child(2) td:first-child { | .attackeunite tr:nth-child(2) td:first-child { | ||
border-top-right-radius:0.5em; | border-top-right-radius:0.5em; | ||
Zeile 16: | Zeile 17: | ||
border-bottom-left-radius:0.5em; | border-bottom-left-radius:0.5em; | ||
} | } | ||
.attackeunite tr:nth-child(2) td:nth-child(2){ | .attackeunite tr:nth-child(2) td:nth-child(2){ | ||
border-top-left-radius:0.5em; | border-top-left-radius:0.5em; | ||
} | } | ||
.attackeunite tr:nth-child(2) td:last-child { | .attackeunite tr:nth-child(2) td:last-child { | ||
border-top-right-radius:0.5em; | border-top-right-radius:0.5em; | ||
} | } | ||
.attackeunite tr:last-child td:nth-child(2){ | .attackeunite tr:last-child td:nth-child(2){ | ||
border-bottom-left-radius:0.5em; | border-bottom-left-radius:0.5em; | ||
Zeile 28: | Zeile 32: | ||
border-bottom-right-radius:0.5em; | border-bottom-right-radius:0.5em; | ||
} | } | ||
.attackeunite tr:nth-child(1n+2) td:nth-child(2){ | .attackeunite tr:nth-child(1n+2) td:nth-child(2){ | ||
background-color:white; | background-color:white; | ||
} | } | ||
.attackeunite tr:nth-child(1n+2) td:last-child { | .attackeunite tr:nth-child(1n+2) td:last-child { | ||
background-color:white; | background-color:white; | ||
} | } | ||
.attackeunite tr:nth-child(1n+2) td:first-child { | .attackeunite tr:nth-child(1n+2) td:first-child { | ||
font-weight: bold; | font-weight: bold; | ||
} | } | ||
@media only screen and ( | |||
/*@media only screen and (min-width: 481px) {*/ | |||
.attackeunite { | .attackeunite { | ||
width: | width: 60%; | ||
} | } | ||
} | /*}*/ | ||
/* @media only screen and (max-width: 480px) { | |||
.attackeunite { | |||
width: 100%; | |||
} | |||
} */ | |||
/* [[Kategorie:Vorlage:Non-Wikitext]] */ |
Aktuelle Version vom 24. Oktober 2021, 22:18 Uhr
.attackeunite {
border-radius:0.5em;
margin:auto;
text-align:center;
}
.attackeunite tr th {
border-radius:0.5em;
}
.attackeunite tr:nth-child(2) td:first-child {
border-top-right-radius:0.5em;
border-top-left-radius:0.5em;
}
.attackeunite tr:last-child td:first-child {
border-bottom-right-radius:0.5em;
border-bottom-left-radius:0.5em;
}
.attackeunite tr:nth-child(2) td:nth-child(2){
border-top-left-radius:0.5em;
}
.attackeunite tr:nth-child(2) td:last-child {
border-top-right-radius:0.5em;
}
.attackeunite tr:last-child td:nth-child(2){
border-bottom-left-radius:0.5em;
}
.attackeunite tr:last-child td:last-child {
border-bottom-right-radius:0.5em;
}
.attackeunite tr:nth-child(1n+2) td:nth-child(2){
background-color:white;
}
.attackeunite tr:nth-child(1n+2) td:last-child {
background-color:white;
}
.attackeunite tr:nth-child(1n+2) td:first-child {
font-weight: bold;
}
/*@media only screen and (min-width: 481px) {*/
.attackeunite {
width: 60%;
}
/*}*/
/* @media only screen and (max-width: 480px) {
.attackeunite {
width: 100%;
}
} */
/* [[Kategorie:Vorlage:Non-Wikitext]] */