mNo edit summary |
RogerDodger (talk | contribs) No edit summary |
||
Line 12: | Line 12: | ||
width: 66px; | width: 66px; | ||
position: relative; | position: relative; | ||
margin-left: -3px; | |||
margin-right: -3px; | |||
} | } | ||
Line 25: | Line 27: | ||
position: absolute; | position: absolute; | ||
left: 50%; | left: 50%; | ||
transform: translateX(-50%); | transform: translateX(-50%) translateX(-8px); | ||
} | } | ||
Revision as of 22:48, 16 November 2023
.char-select {
display: flex;
flex-flow: row wrap;
justify-content: center;
margin: 0.8em -1em;
font-size: 15px;
letter-spacing: -0.125ch;
}
.char-select > div {
margin-bottom: 1.8em;
width: 66px;
position: relative;
margin-left: -3px;
margin-right: -3px;
}
.char-select-text {
white-space: nowrap;
line-height: initial;
/**
* Not using text-align to center here because we want the long
* text ("Master Raven") to overflow a bit, and text-align doesn't
* center this
**/
text-align: left;
position: absolute;
left: 50%;
transform: translateX(-50%) translateX(-8px);
}
.char-select-img a {
margin: 0 auto;
display: block;
}
.char-select-img img {
background-image: url('https://wavu.wiki/w/images/5/55/T8-spritesheet.webp');
background-position: 200%;
}
.char-select-img.alisa img {
background-position: -1px -1px !important;
}
.char-select-img.asuka img {
background-position: -69px -1px !important;
}
.char-select-img.azucena img {
background-position: -137px -1px !important;
}
.char-select-img.bryan img {
background-position: -205px -1px !important;
}
.char-select-img.claudio img {
background-position: -273px -1px !important;
}
.char-select-img.devil-jin img {
background-position: -341px -1px !important;
}
.char-select-img.dragunov img {
background-position: -1px -105px !important;
}
.char-select-img.feng img {
background-position: -69px -105px !important;
}
.char-select-img.hwoarang img {
background-position: -137px -105px !important;
}
.char-select-img.jack-8 img {
background-position: -205px -105px !important;
}
.char-select-img.jin img {
background-position: -273px -105px !important;
}
.char-select-img.jun img {
background-position: -341px -105px !important;
}
.char-select-img.kazuya img {
background-position: -1px -209px !important;
}
.char-select-img.king img {
background-position: -69px -209px !important;
}
.char-select-img.kuma img {
background-position: -137px -209px !important;
}
.char-select-img.lars img {
background-position: -205px -209px !important;
}
.char-select-img.law img {
background-position: -273px -209px !important;
}
.char-select-img.lee img {
background-position: -341px -209px !important;
}
.char-select-img.leo img {
background-position: -1px -313px !important;
}
.char-select-img.leroy img {
background-position: -69px -313px !important;
}
.char-select-img.lili img {
background-position: -137px -313px !important;
}
.char-select-img.nina img {
background-position: -205px -313px !important;
}
.char-select-img.paul img {
background-position: -273px -313px !important;
}
.char-select-img.panda img {
background-position: -341px -313px !important;
}
.char-select-img.raven img {
background-position: -1px -417px !important;
}
.char-select-img.reina img {
background-position: -69px -417px !important;
}
.char-select-img.shaheen img {
background-position: -137px -417px !important;
}
.char-select-img.steve img {
background-position: -205px -417px !important;
}
.char-select-img.victor img {
background-position: -273px -417px !important;
}
.char-select-img.xiaoyu img {
background-position: -341px -417px !important;
}
.char-select-img.yoshimitsu img {
background-position: -1px -521px !important;
}
.char-select-img.zafina img {
background-position: -69px -521px !important;
}