Vorlage:Rocket/style.css

Aus PokéWiki
Zur Navigation springen Zur Suche springen
.rocketnav {
	display: grid;
	gap: 3px;
	padding: 3px;
	grid-template-columns: min-content 1fr;
	border: 2px solid #626262;
	border-radius: 0.5em;
	background: #D8D8D8;
	text-align: center;
	margin-bottom: 3px;
	margin-top: 5px;
}

.rocketnav a:not(.new), .rocketnav a:not(.new):visited {
	color: #000000;
}

.rocketnav div:nth-child(1) {
	grid-column-end: span 2;
	padding: 8px;
	font-size: x-large;
	font-weight: bold;
	background: #898989;
	border-radius: 0.5em;
	display: flex;
	gap: 5px;
	align-items: center;
	justify-content: center;
}

.rocketnav div:nth-child(2n) {
	padding: 3px;
	font-weight: bold;
	background: #ADADAD;
	border-radius: 0.5em;
	display: flex;
	align-items: center;
	justify-content: center;
}

.rocketnav div:nth-child(2n+1):not(:first-child) {
	display: flex;
	flex-wrap: wrap;
	gap: 3px;
	align-items: stretch;
	align-content: center;
	justify-content: center;
}

.rocketnav div:nth-child(2n+1):not(:first-child) > a,
.rocketnav div:nth-child(2n+1):not(:first-child) > span {
	flex-basis: 100px;
	flex-grow: 1;
	background: white;
	border-radius: 0.5em;
	padding: 3px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
}

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