Vorlage:Attacke UNITE/style.css: Unterschied zwischen den Versionen

Aus PokéWiki
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
Zeile 42: Zeile 42:
}
}
}
}
/* [[Kategorie:Vorlage:Non-Wikitext]] */

Version vom 25. Juli 2021, 02:01 Uhr

.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;
	}
}

/* [[Kategorie:Vorlage:Non-Wikitext]] */