Template:CharSelectT8/style.css: Difference between revisions

Template page
(Created page with ".char-select { display: flex; flex-flow: row wrap; justify-content: center; margin: 0.8em -1em; font-size: 15px; letter-spacing: -0.125ch; } .char-select >...")
 
mNo edit summary
Line 130: Line 130:
}
}
.char-select-img.yoshimitsu img {
.char-select-img.yoshimitsu img {
   background-position: -198px -408px !important;
   background-position: -132px -408px !important;
}
}
.char-select-img.zafina img {
.char-select-img.zafina img {
   background-position: -330px -408px !important;
   background-position: -198px -408px !important;
}
}

Revision as of 04:26, 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;
}

.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%);
}

.char-select-img a {
   margin: 0 auto;
   display: block;
}

.char-select-img img {
   background-image: url('https://wavu.wiki/w/images/2/2c/T8-charselect-spritesheet-v0-66x102-2pad.webp');
   background-repeat: no-repeat;
   background-position: 200%;
}

.char-select-img.alisa img {
   background-position: 0 0 !important;
}
.char-select-img.asuka img {
   background-position: -66px 0 !important;
}
.char-select-img.azucena img {
   background-position: -132px 0 !important;
}
.char-select-img.bryan img {
   background-position: -198px 0 !important;
}
.char-select-img.claudio img {
   background-position: -264px 0 !important;
}
.char-select-img.devil-jin img {
   background-position: -330px 0 !important;
}
.char-select-img.dragunov img {
   background-position: -396px 0 !important;
}
.char-select-img.feng img {
   background-position: 0px -102px !important;
}
.char-select-img.hwoarang img {
   background-position: -66px -102px !important;
}
.char-select-img.jack-8 img {
   background-position: -132px -102px !important;
}
.char-select-img.jin img {
   background-position: -198px -102px !important;
}
.char-select-img.jun img {
   background-position: -264px -102px !important;
}
.char-select-img.kazuya img {
   background-position: -330px -102px !important;
}
.char-select-img.king img {
   background-position: -396px -102px !important;
}
.char-select-img.kuma img {
   background-position: 0px -204px !important;
}
.char-select-img.lars img {
   background-position: -66px -204px !important;
}
.char-select-img.law img {
   background-position: -132px -204px !important;
}
.char-select-img.lee img {
   background-position: -198px -204px !important;
}
.char-select-img.leo img {
   background-position: -264px -204px !important;
}
.char-select-img.leroy img {
   background-position: -330px -204px !important;
}
.char-select-img.lili img {
   background-position: -396px -204px !important;
}
.char-select-img.nina img {
   background-position: 0px -306px !important;
}
.char-select-img.panda img {
   background-position: -66px -306px !important;
}
.char-select-img.paul img {
   background-position: -132px -306px !important;
}
.char-select-img.raven img {
   background-position: -198px -306px !important;
}
.char-select-img.reina img {
   background-position: -264px -306px !important;
}
.char-select-img.shaheen img {
   background-position: -330px -306px !important;
}
.char-select-img.steve img {
   background-position: -396px -306px !important;
}
.char-select-img.victor img {
   background-position: 0px -408px !important;
}
.char-select-img.xiaoyu img {
   background-position: -66px -408px !important;
}
.char-select-img.yoshimitsu img {
   background-position: -132px -408px !important;
}
.char-select-img.zafina img {
   background-position: -198px -408px !important;
}