Vorlage:Attacke UNITE/style.css

Aus PokéWiki
Version vom 24. Juli 2021, 21:41 Uhr von Mooni000 (Diskussion | Beiträge) (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(…“)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Zur Navigation springen Zur Suche springen
.attackeunite {
	width:40%;
	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 (max-width: 480px) {
	.attackeunite {
		width: 100% !important;
	}
}