Vorlage:Infobox Typ/style.css

Aus PokéWiki
Zur Navigation springen Zur Suche springen
.prevnext-typ {
	border-radius: 0.5em;
	text-align: center;
	border-width: 2px;
	border-style: solid;
	display: grid;
	gap: 2px;
	padding: 2px;
}

.prevnext-typ div {
	border-radius: 0.5em;
}

.infobox-typ {
	border-radius: 0.5em;
	float: right;
	text-align: center;
	margin: 1em 0 1em 1em;
	border-width: 2px;
	border-style: solid;
}

.infobox-typ .img {
	border-radius: 0.5em;
	background: #FFFFFF;
	padding: 3px;
}

.infobox-typ tr:nth-child(odd) th[colspan="10"],
.infobox-typ tr:nth-child(odd) th[colspan="10"] a:not(.new),
.infobox-typ tr:nth-child(odd) th[colspan="10"] a:not(.new):visited {
	color: white;
}

.infobox-typ td {
	background: #FFFFFF;
}

.infobox-typ tr:nth-child(n+4):nth-child(-n+6) td:first-child {
	width: 80px;
}

.infobox-typ tr:nth-child(n+4):nth-child(-n+6) td:nth-child(n+2):nth-child(-n+9) {
	width: 25px;
}

.infobox-typ tr:nth-child(n+4):nth-child(-n+6) td:last-child {
	width: 60px;
}

.infobox-typ tr:last-child td {
	border-bottom-left-radius: 0.5em;
	border-bottom-right-radius: 0.5em;
}

/*@media only screen and (min-width: 481px) {*/
	.infobox-typ {
		width: 350px;
	}
/*}*/

/*@media only screen and (min-width: 721px) {*/
	.prevnext-typ {
		grid-template-columns: repeat(18, 1fr);
	}
/*}

@media only screen and (max-width: 720px) and (min-width: 481px) {
	.prevnext-typ {
		grid-template-columns: repeat(9, 1fr);
	}
}

@media only screen and (max-width: 480px) {
	.prevnext-typ {
		grid-template-columns: repeat(6, 1fr);
	}
	
	.infobox-typ {
		width: 100%;
	}
}*/

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