Vorlage:Dungeon-Fundort/style.css

Aus PokéWiki
Zur Navigation springen Zur Suche springen
.dungeon-fundort {
	border-radius: 0.5em;
	display: grid;
	gap: 5px;
	max-width: 500px;
	padding: 2px;
}

.dungeon-fundort a:not(.new) {
	color: #000000;
}

.dungeon-fundort .heading {
	align-items: center;
	background: #FFFFFF;
	border-radius: 0.5em;
	display: flex;
	font-weight: bold;
	justify-content: center;
	padding: 2px;
	text-align: center;
}

.dungeon-fundort > div:not(.heading) {
	display: grid;
	gap: 2px;
	grid-template-columns: 48px 1fr;
}

.dungeon-fundort > div:not(.heading) img {
	height: auto;
	max-height: 40px;
	max-width: 40px;
	width: auto;
}

.dungeon-fundort > div:not(.heading) > div:first-child {
	display: flex;
	flex-flow: column;
	gap: 2px;
	grid-row-end: span 2;
}

.dungeon-fundort > div:not(.heading) > div:first-child img {
	border-radius: 100%;
}

.dungeon-fundort > div:not(.heading) > div:first-child > div:first-child {
	align-items: center;
	border-bottom-left-radius: 100%;
	border-bottom-right-radius: 100%;
	border-top-left-radius: 100%;
	display: flex;
	height: 44px;
	justify-content: center;
	width: 44px;
}

.dungeon-fundort > div:not(.heading) > div:first-child > div:nth-child(2) {
	align-items: center;
	border-radius: 100%;
	display: flex;
	height: 44px;
	justify-content: center;
	width: 44px;
}

.dungeon-fundort > div:not(.heading) > div:nth-child(2) {
	align-items: center;
	border-left: none !important;
	border-bottom-right-radius: 0.5em;
	border-top-right-radius: 0.5em;
	display: flex;
	justify-content: center;
	margin-left: -4px;
	text-align: center;
}

.dungeon-fundort > div:not(.heading) > div:nth-child(3) {
	border-radius: 0.5em;
	display: flex;
	flex-wrap: wrap;
	gap: 2px;
	padding: 2px;
}

.dungeon-fundort > div:not(.heading) > div:nth-child(3) > div {
	display: grid;
	flex-basis: 0;
	flex-grow: 1;
	flex-shrink: 1;
	gap: 2px;
	grid-template-rows: min-content 1fr;
}

.dungeon-fundort > div:not(.heading) > div:nth-child(3) > div > div {
	align-items: center;
	background: #FFFFFF;
	display: flex;
	flex-flow: column;
	justify-content: center;
	padding: 2px;
	text-align: center;
}

.dungeon-fundort > div:not(.heading) > div:nth-child(3) > div > div:first-child {
	border-top-left-radius: 0.5em;
	border-top-right-radius: 0.5em;
	font-weight: bold;
}

.dungeon-fundort > div:not(.heading) > div:nth-child(3) > div > div:last-child {
	border-bottom-left-radius: 0.5em;
	border-bottom-right-radius: 0.5em;
}

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