Template:CharSelect/style.css: Difference between revisions

Template page
No edit summary
No edit summary
 
(8 intermediate revisions by 2 users not shown)
Line 3: Line 3:
   flex-flow: row wrap;
   flex-flow: row wrap;
   justify-content: center;
   justify-content: center;
  margin: 0.8em -1em;
  font-size: 15px;
  letter-spacing: -0.125ch;
}
}


.char-select > div {
.char-select > div {
  margin-bottom: 1.7em;
  margin-bottom: 1.8em;
  width: 86px;
  width: 66px;
  position: relative;
  position: relative;
}
}


.char-select-text {
.char-select-text {
  white-space: nowrap;
  white-space: nowrap;
  line-height: initial;
  line-height: initial;
  /**
  /**
  * Not using text-align to center here because we want the long
    * Not using text-align to center here because we want the long
  * text ("Master Raven") to overflow a bit, and text-align doesn't
    * text ("Master Raven") to overflow a bit, and text-align doesn't
  * center this
    * center this
  **/
    **/
  text-align: left;
  text-align: left;
  position: absolute;
  position: absolute;
  left: 50%;
  left: 50%;
  transform: translateX(-50%);
  transform: translateX(-50%);
}
}


.char-select-img a {
.char-select-img a {
   margin: 0 auto;
   margin: 0 auto;
  height: 129px;
  width: 86px;
   display: block;
   display: block;
}
.char-select-img a:hover img {
  transform: scale(1.05);
}
}


.char-select-img img {
.char-select-img img {
/** in MediaWiki:Common.css
  background-image: url('https://wavu.wiki/w/skins/Tekken/t7-charselect-spritesheet-v4-66x102-2pad.webp');
* background-image: url('/w/skins/Tekken/character-select-spritesheet-v2-602w.webp');
*/
   background-repeat: no-repeat;
   background-repeat: no-repeat;
   background-position: 200%;
   background-position: 200%;
}
}
.char-select-img.armor-king img {
 
   background-position: -0px -0px !important;
.char-select-img.akuma img {
  background-position: -1px -1px !important;
}
.char-select-img.alisa img {
   background-position: -69px -1px !important;
}
}
.char-select-img.anna img {
.char-select-img.anna img {
   background-position: -86px -0px !important;
   background-position: -137px -1px !important;
}
}
.char-select-img.shaheen img {
.char-select-img.armor-king img {
  background-position: -172px -0px !important;
   background-position: -205px -1px !important;
}
.char-select-img.alisa img {
   background-position: -258px -0px !important;
}
}
.char-select-img.asuka img {
.char-select-img.asuka img {
   background-position: -344px -0px !important;
   background-position: -273px -1px !important;
}
}
.char-select-img.bob img {
.char-select-img.bob img {
   background-position: -430px -0px !important;
   background-position: -341px -1px !important;
}
}
.char-select-img.bryan img {
.char-select-img.bryan img {
   background-position: -516px -0px !important;
   background-position: -409px -1px !important;
}
}
.char-select-img.gigas img {
.char-select-img.claudio img {
   background-position: -0px -129px !important;
   background-position: -477px -1px !important;
}
}
.char-select-img.lucky-chloe img {
.char-select-img.devil-jin img {
   background-position: -86px -129px !important;
   background-position: -1px -105px !important;
}
.char-select-img.dragunuv img {
  background-position: -172px -129px !important;
}
}
.char-select-img.devil-jin img {
.char-select-img.dragunov img {
   background-position: -258px -129px !important;
   background-position: -69px -105px !important;
}
}
.char-select-img.eddy img {
.char-select-img.eddy img {
   background-position: -344px -129px !important;
   background-position: -137px -105px !important;
}
}
.char-select-img.eliza img {
.char-select-img.eliza img {
   background-position: -430px -129px !important;
   background-position: -205px -105px !important;
}
.char-select-img.fahkumram img {
  background-position: -273px -105px !important;
}
}
.char-select-img.feng img {
.char-select-img.feng img {
   background-position: -516px -129px !important;
   background-position: -341px -105px !important;
}
.char-select-img.ganryu img {
  background-position: -409px -105px !important;
}
}
.char-select-img.master-raven img {
.char-select-img.geese img {
   background-position: -0px -258px !important;
   background-position: -477px -105px !important;
}
}
.char-select-img.ganryu img {
.char-select-img.gigas img {
   background-position: -86px -258px !important;
   background-position: -1px -209px !important;
}
}
.char-select-img.heihachi img {
.char-select-img.heihachi img {
   background-position: -172px -258px !important;
   background-position: -69px -209px !important;
}
}
.char-select-img.hwoarang img {
.char-select-img.hwoarang img {
   background-position: -258px -258px !important;
   background-position: -137px -209px !important;
}
.char-select-img.claudio img {
  background-position: -344px -258px !important;
}
}
.char-select-img.jack-7 img {
.char-select-img.jack-7 img {
   background-position: -430px -258px !important;
   background-position: -205px -209px !important;
}
}
.char-select-img.jin img {
.char-select-img.jin img {
   background-position: -516px -258px !important;
   background-position: -273px -209px !important;
}
.char-select-img.josie img {
  background-position: -341px -209px !important;
}
}
.char-select-img.julia img {
.char-select-img.julia img {
   background-position: -0px -387px !important;
   background-position: -409px -209px !important;
}
.char-select-img.katarina img {
  background-position: -477px -209px !important;
}
.char-select-img.kazumi img {
  background-position: -1px -313px !important;
}
}
.char-select-img.kazuya img {
.char-select-img.kazuya img {
   background-position: -86px -387px !important;
   background-position: -69px -313px !important;
}
}
.char-select-img.king img {
.char-select-img.king img {
   background-position: -172px -387px !important;
   background-position: -137px -313px !important;
}
.char-select-img.kunimitsu img {
  background-position: -258px -387px !important;
}
}
.char-select-img.kuma img {
.char-select-img.kuma img {
   background-position: -344px -387px !important;
   background-position: -205px -313px !important;
}
}
.char-select-img.kazumi img {
.char-select-img.kunimitsu img {
   background-position: -430px -387px !important;
   background-position: -273px -313px !important;
}
}
.char-select-img.lars img {
.char-select-img.lars img {
   background-position: -516px -387px !important;
   background-position: -341px -313px !important;
}
}
.char-select-img.law img {
.char-select-img.law img {
   background-position: -0px -516px !important;
   background-position: -409px -313px !important;
}
}
.char-select-img.lee img {
.char-select-img.lee img {
   background-position: -86px -516px !important;
   background-position: -477px -313px !important;
}
}
.char-select-img.lei img {
.char-select-img.lei img {
   background-position: -172px -516px !important;
   background-position: -1px -417px !important;
}
}
.char-select-img.leo img {
.char-select-img.leo img {
   background-position: -258px -516px !important;
   background-position: -69px -417px !important;
}
.char-select-img.leroy img {
  background-position: -137px -417px !important;
}
.char-select-img.lidia img {
  background-position: -205px -417px !important;
}
}
.char-select-img.lili img {
.char-select-img.lili img {
   background-position: -344px -516px !important;
   background-position: -273px -417px !important;
}
}
.char-select-img.katarina img {
.char-select-img.lucky-chloe img {
   background-position: -430px -516px !important;
   background-position: -341px -417px !important;
}
}
.char-select-img.marduk img {
.char-select-img.marduk img {
   background-position: -516px -516px !important;
   background-position: -409px -417px !important;
}
.char-select-img.master-raven img {
  background-position: -477px -417px !important;
}
}
.char-select-img.miguel img {
.char-select-img.miguel img {
   background-position: -0px -645px !important;
   background-position: -1px -521px !important;
}
}
.char-select-img.akuma img {
.char-select-img.negan img {
   background-position: -86px -645px !important;
   background-position: -69px -521px !important;
}
}
.char-select-img.geese img {
.char-select-img.nina img {
   background-position: -172px -645px !important;
   background-position: -137px -521px !important;
}
}
.char-select-img.noctis img {
.char-select-img.noctis img {
   background-position: -258px -645px !important;
   background-position: -205px -521px !important;
}
}
.char-select-img.josie img {
.char-select-img.paul img {
   background-position: -344px -645px !important;
   background-position: -273px -521px !important;
}
}
.char-select-img.nina img {
.char-select-img.shaheen img {
   background-position: -430px -645px !important;
   background-position: -341px -521px !important;
}
.char-select-img.negan img {
  background-position: -516px -645px !important;
}
.char-select-img.leroy img {
  background-position: -0px -774px !important;
}
.char-select-img.fahkumram img {
  background-position: -86px -774px !important;
}
.char-select-img.paul img {
  background-position: -172px -774px !important;
}
}
.char-select-img.steve img {
.char-select-img.steve img {
   background-position: -258px -774px !important;
   background-position: -409px -521px !important;
}
}
.char-select-img.xiaoyu img {
.char-select-img.xiaoyu img {
   background-position: -344px -774px !important;
   background-position: -477px -521px !important;
}
}
.char-select-img.yoshimitsu img {
.char-select-img.yoshimitsu img {
   background-position: -430px -774px !important;
   background-position: -1px -625px !important;
}
}
.char-select-img.zafina img {
.char-select-img.zafina img {
   background-position: -516px -774px !important;
   background-position: -69px -625px !important;
}
}

Latest revision as of 22:28, 7 January 2024

.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 a:hover img {
   transform: scale(1.05);
}

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

.char-select-img.akuma img {
   background-position: -1px -1px !important;
}
.char-select-img.alisa img {
   background-position: -69px -1px !important;
}
.char-select-img.anna img {
   background-position: -137px -1px !important;
}
.char-select-img.armor-king img {
   background-position: -205px -1px !important;
}
.char-select-img.asuka img {
   background-position: -273px -1px !important;
}
.char-select-img.bob img {
   background-position: -341px -1px !important;
}
.char-select-img.bryan img {
   background-position: -409px -1px !important;
}
.char-select-img.claudio img {
   background-position: -477px -1px !important;
}
.char-select-img.devil-jin img {
   background-position: -1px -105px !important;
}
.char-select-img.dragunov img {
   background-position: -69px -105px !important;
}
.char-select-img.eddy img {
   background-position: -137px -105px !important;
}
.char-select-img.eliza img {
   background-position: -205px -105px !important;
}
.char-select-img.fahkumram img {
   background-position: -273px -105px !important;
}
.char-select-img.feng img {
   background-position: -341px -105px !important;
}
.char-select-img.ganryu img {
   background-position: -409px -105px !important;
}
.char-select-img.geese img {
   background-position: -477px -105px !important;
}
.char-select-img.gigas img {
   background-position: -1px -209px !important;
}
.char-select-img.heihachi img {
   background-position: -69px -209px !important;
}
.char-select-img.hwoarang img {
   background-position: -137px -209px !important;
}
.char-select-img.jack-7 img {
   background-position: -205px -209px !important;
}
.char-select-img.jin img {
   background-position: -273px -209px !important;
}
.char-select-img.josie img {
   background-position: -341px -209px !important;
}
.char-select-img.julia img {
   background-position: -409px -209px !important;
}
.char-select-img.katarina img {
   background-position: -477px -209px !important;
}
.char-select-img.kazumi img {
   background-position: -1px -313px !important;
}
.char-select-img.kazuya img {
   background-position: -69px -313px !important;
}
.char-select-img.king img {
   background-position: -137px -313px !important;
}
.char-select-img.kuma img {
   background-position: -205px -313px !important;
}
.char-select-img.kunimitsu img {
   background-position: -273px -313px !important;
}
.char-select-img.lars img {
   background-position: -341px -313px !important;
}
.char-select-img.law img {
   background-position: -409px -313px !important;
}
.char-select-img.lee img {
   background-position: -477px -313px !important;
}
.char-select-img.lei img {
   background-position: -1px -417px !important;
}
.char-select-img.leo img {
   background-position: -69px -417px !important;
}
.char-select-img.leroy img {
   background-position: -137px -417px !important;
}
.char-select-img.lidia img {
   background-position: -205px -417px !important;
}
.char-select-img.lili img {
   background-position: -273px -417px !important;
}
.char-select-img.lucky-chloe img {
   background-position: -341px -417px !important;
}
.char-select-img.marduk img {
   background-position: -409px -417px !important;
}
.char-select-img.master-raven img {
   background-position: -477px -417px !important;
}
.char-select-img.miguel img {
   background-position: -1px -521px !important;
}
.char-select-img.negan img {
   background-position: -69px -521px !important;
}
.char-select-img.nina img {
   background-position: -137px -521px !important;
}
.char-select-img.noctis img {
   background-position: -205px -521px !important;
}
.char-select-img.paul img {
   background-position: -273px -521px !important;
}
.char-select-img.shaheen img {
   background-position: -341px -521px !important;
}
.char-select-img.steve img {
   background-position: -409px -521px !important;
}
.char-select-img.xiaoyu img {
   background-position: -477px -521px !important;
}
.char-select-img.yoshimitsu img {
   background-position: -1px -625px !important;
}
.char-select-img.zafina img {
   background-position: -69px -625px !important;
}