Vorlage:Orte Pokémon-Speziell/style.css

Aus PokéWiki
Zur Navigation springen Zur Suche springen
.orte-pokemon-speziell-toggler {
	border-radius: 0.5em;
	border-style: solid;
	border-width: 2px;
	margin: 0 auto 2px auto;
	max-width: 95%;
	min-width: 300px;
	overflow: hidden;
	padding: 0 10px;
	text-align: center;
	width: max-content;
}

.orte-pokemon-speziell {
	border-radius: 0.5em;
	border-style: solid;
	border-width: 2px;
	display: grid;
	gap: 2px;
	margin: auto;
	max-width: 95%;
	min-width: 300px;
	overflow: hidden;
	width: max-content;
}

.orte-pokemon-speziell a:not(.new),
.orte-pokemon-speziell a:visited:not(.new) {
	color: #000000;
}

.orte-pokemon-speziell .unused {
	background: #D9D9D9 !important;
}

.orte-pokemon-speziell > div:first-child,
.orte-pokemon-speziell > div:not(:first-child) > div:nth-child(3) > div:first-child {
	align-items: center;
	display: flex;
	font-weight: bold;
	justify-content: center;
	padding: 2px;
	text-align: center;
}

.orte-pokemon-speziell > div:not(:first-child) {
	display: grid;
	gap: 2px;
	padding: 2px;
}

.orte-pokemon-speziell > div:not(:first-child) > div {
	border-radius: 0.5em;
	border-style: solid;
	border-width: 2px;
}

.orte-pokemon-speziell > div:not(:first-child) > div:first-child,
.orte-pokemon-speziell > div:not(:first-child) > div:nth-child(2),
.orte-pokemon-speziell > div:not(:first-child) > div:nth-child(3) {
	display: grid;
	gap: 2px;
	padding: 2px;
}

.orte-pokemon-speziell > div:not(:first-child) > div:first-child > div,
.orte-pokemon-speziell > div:not(:first-child) > div:nth-child(2) > div,
.orte-pokemon-speziell > div:not(:first-child) > div:nth-child(3) > div {
	align-items: center;
	background: #FFFFFF;
	border-radius: 0.5em;
	display: flex;
	justify-content: center;
	padding: 2px;
	text-align: center;
}

.orte-pokemon-speziell > div:not(:first-child) > div:first-child {
	grid-template-rows: max-content 1fr;
}

.orte-pokemon-speziell > div:not(:first-child) > div:first-child img {
	height: auto;
	max-height: 100px;
	max-width: 150px;
	width: auto;
}

.orte-pokemon-speziell > div:not(:first-child) > div:nth-child(2) {
	grid-template-columns: 40% 1fr;
}

.orte-pokemon-speziell > div:not(:first-child) > div:nth-child(2) > div {
	align-items: center;
	display: flex;
	flex-flow: column;
	justify-content: center;
}

.orte-pokemon-speziell > div:not(:first-child) > div:nth-child(4) {
	padding: 2px;
}

.orte-pokemon-speziell > div:not(:first-child) > div:nth-child(4) > div {
	background: #FFFFFF;
	border-radius: 0.5em;
	padding: 2px;
}

/*@media only screen and (min-width: 650px) {*/
	.orte-pokemon-speziell {
		width: 600px;
	}
	
	.orte-pokemon-speziell > div:not(:first-child) {
		grid-template-columns: 160px 1fr 25%;
	}
	
	.orte-pokemon-speziell > div:not(:first-child) > div:nth-child(4) {
		grid-column-end: span 3;
	}
/*}*/

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