Vorlage:ItemNav/style.css

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

.itemnav .clicktoggle {
	align-items: center;
	border-radius: 0.5em;
	border-style: solid;
	border-width: 2px;
	display: flex;
	flex-grow: 1;
	flex-shrink: 0;
	font-weight: bold;
	justify-content: center;
	padding: 2px;
}

.itemnav > div:nth-child(1) {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 2px;
	justify-content: center;
}

.itemnav > div:nth-child(1) > .clicktoggle {
	flex-basis: 100px;
}

.itemnav > div:nth-child(2) {
	height: 2px;
}

.itemnav > .clicktoggle-target > div:nth-child(1),
.itemnav .clicktoggle-target .clicktoggle-target {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 2px;
	justify-content: center;
	margin-bottom: 2px;
}

.itemnav > .clicktoggle-target > div:nth-child(1) > .clicktoggle {
	flex-basis: 150px;
}

.itemnav .clicktoggle-target .clicktoggle-target a {
	align-items: center;
	background-color: #FFFFFF;
	border-radius: 0.5em;
	display: flex;
	flex-basis: 160px;
	flex-grow: 1;
	justify-content: center;
	text-align: center;
}

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