Vorlage:Team Plasma/style.css

Aus PokéWiki
Zur Navigation springen Zur Suche springen
.plasma-nav {
	background: #AAAAFF;
	border: 2px solid #6F6FA6;
	border-radius: 0.5em;
	display: grid;
	width: 70%;
	grid-template-columns: min-content 1fr;
	gap: 2px;
	padding: 2px;
	margin: auto;
	margin-top: 1em;
	text-align: center;
}

.plasma-nav a:not(.new), .plasma-nav a:visited:not(.new) {
	color: #000000;
}

.plasma-nav > div {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	align-content: center;
	border-radius: 0.5em;
}

.plasma-nav > div:first-child {
	grid-column: span 2;
	align-items: center;
	font-weight: bold;
	font-size: large;
	padding: 8px;
	background: #6F6FA6;
}

.plasma-nav > div:nth-child(2n) {
	background: #C8C8FF;
	font-weight: bold;
	min-width: 150px;
}

.plasma-nav > div:nth-child(2n+1) {
	gap: 2px;
}

.plasma-nav > div:nth-child(2n+1):not(:first-child) > span {
	display: flex;
	justify-content: center;
	align-items: center;
	background: #FFFFFF;
	border-radius: 0.5em;
	padding: 4px;
	gap: 5px;
	flex-grow: 1;
	flex-basis: 140px;
}

/* @media only screen and (max-width: 600px) {
	.plasma-nav {
		width: auto;
	}
	
	.plasma-nav > div:nth-child(2n) {
		min-width: 130px;
	}
} */

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