Vorlage:Gallery/style.css

Aus PokéWiki
Zur Navigation springen Zur Suche springen
.enhanced-gallery {
	display: flex;
	flex-flow: row wrap;
	gap: 5px;
	justify-content: flex-start;
	overflow: hidden;
	text-align: center;
}

.enhanced-gallery div {
	flex-basis: 100px;
	flex-grow: 0;
	flex-shrink: 0;
}

.enhanced-gallery table {
	border-radius: 0.5em;
	text-align: center;
}

.enhanced-gallery td {
	align-items: flex-end;
	background: #FFFFFF;
	border-radius: 0.5em;
	display: flex;
	justify-content: center;
	height: 100px;
	width: 100px;
}

.enhanced-gallery img {
	height: auto;
	max-height: 100px;
	max-width: 100px;
	width: auto;
}

.enhanced-gallery td:hover {
	align-items: center;
}

.enhanced-gallery td:hover span:not(.mw-broken-media) {
	align-items: center;
	background: #FFFFFF;
	border: 1px solid #000000;
	border-radius: 0.5em;
	display: flex;
	justify-content: center;
	max-height: 200px;
	max-width: 200px;
	min-height: 200px;
	min-width: 200px;
	padding: 10px;
	position: absolute;
}

.enhanced-gallery td:hover img {
	max-height: 200px;
	max-width: 200px;
}

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