Vorlage:Trophäen-Info/style.css

Aus PokéWiki
Zur Navigation springen Zur Suche springen
.trophäen-info {
	border-radius: 0.5em;
	display: grid;
	gap: 2px;
	margin-bottom: 10px;
	padding: 2px;
}

.trophäen-info > div {
	padding: 5px;
}

.trophäen-info > div:first-child {
	border-top-left-radius: 0.5em;
	border-top-right-radius: 0.5em;
	font-size: 120%;
	font-weight: bold;
	text-align: center;
}

.trophäen-info > div:nth-child(2) {
	align-items: center;
	background: #FFFFFF;
	display: flex;
}

.trophäen-info > div:nth-child(3),
.trophäen-info > div:nth-child(4) {
	align-items: center;
	background: #FFFFFF;
	display: flex;
	justify-content: center;
	text-align: center;
}

.trophäen-info > div:nth-last-child(1),
.trophäen-info > div:nth-last-child(2) {
	align-items: center;
	background: #FFFFFF;
	display: flex;
	justify-content: center;
}

.trophäen-info > div:last-child {
	border-bottom-right-radius: 0.5em;
}

/*@media only screen and (min-width: 600px) {*/
	.trophäen-info-grid2 {
		grid-template-columns: 1fr max-content;
	}
	
	.trophäen-info-grid3 {
		grid-template-columns: 1fr max-content max-content;
	}
	
	.trophäen-info > div:nth-child(2) {
		border-bottom-left-radius: 0.5em;
	}
/*}

@media only screen and (max-width: 600px) {
	.trophäen-info {
		grid-template-columns: 1fr 1fr;
	}
	
	.trophäen-info > div:nth-child(1),
	.trophäen-info > div:nth-child(2) {
		grid-column-end: span 2 !important;
	}
	
	.trophäen-info-grid2 > div:last-child {
		border-bottom-left-radius: 0.5em;
		border-bottom-right-radius: 0.5em;
		grid-column-end: span 2 !important;
	}
	
	.trophäen-info-grid3 > div:nth-last-child(2) {
		border-bottom-left-radius: 0.5em;
	}
}*/

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