Vorlage:Sprites/style.css

Aus PokéWiki
Zur Navigation springen Zur Suche springen
.sprites {
	display: flex;
	flex-flow: row wrap;
	align-items: stretch;
	justify-content: center;
}

.sprites > div {
	flex: 0 0 160px;
	margin-right: 5px;
	margin-bottom: 5px;
	background: white;
	min-width: 160px;
	width: 160px;
	max-width: 160px;
	min-height: 67px;
	height: auto;
	display: flex;
	justify-content: center;
	align-items: flex-end;
	border-radius:0.5em;
}

.sprites table {
	width: 100%;
}

.sprites td {
	text-align: center;
}

.sprites tr:last-child > td {
	border-radius:0.5em;
}

.sprites img {
	width: auto;
	height: auto;
	max-width: 154px;
	max-height: 154px;
}

.sprites .addon {
	position: relative;
	align-self: flex-start;
	width: 0;
	height: 0;
}

.sprites .addon > span:not([typeof="mw:file"]) {
	background: #FFFFFF;
}

.sprites .addon .rare {
	background: #696969 !important;
	position: absolute;
	left: 1px;
	top: 1px;
	border-radius: 17px;
	height: 30px;
	width: 30px;
	line-height: 30px;
	text-align: center;
}

.sprites .addon .female {
	position: absolute;
	left: 125px;
	top: 1px;
	border-radius: 17px;
	height: 30px;
	width: 30px;
	line-height: 30px;
	text-align: center;
}

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