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

Aus PokéWiki
Zur Navigation springen Zur Suche springen
KKeine Bearbeitungszusammenfassung
KKeine Bearbeitungszusammenfassung
Zeile 37: Zeile 37:
font-weight: bold;
font-weight: bold;
}
}
@media only screen and (max-width: 480px) {
/* @media only screen and (max-width: 480px) {
.attackeunite {
.attackeunite {
width: 100% !important;
width: 100% !important;
}
}
}
} */


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

Version vom 15. August 2021, 15:42 Uhr

.attackeunite {
	width:60%;
	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]] */