Vorlage:Sprites/style.css
Aus PokéWiki
.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 .box {
display: grid;
gap: 2px;
margin: 2px;
width: 100%;
}
.sprites .box > div {
text-align: center;
}
.sprites .box > div:nth-child(2) {
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]] */