MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
No edit summary
mNo edit summary
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed in this file will be applied to all skins */
/* Allow limiting of which header levels are shown in a TOC;
/* Hide title and edit tools on main page */
  <div class="toclimit-3">, for instance, will limit to
.page-Main_Page .mw-side,
  showing ==headings== and ===headings=== but no further
.page-Main_Page .firstHeading,
  (as long as there are no =headings= on the page, which
.page-Main_Page #siteSub {
  there shouldn't be according to the MoS).
display: none!important;
*/
.toclimit-2 .toclevel-1 ul,
.toclimit-3 .toclevel-2 ul,
.toclimit-4 .toclevel-3 ul,
.toclimit-5 .toclevel-4 ul,
.toclimit-6 .toclevel-5 ul,
.toclimit-7 .toclevel-6 ul {
    display: none;
}
}


.caption {
/* per-game banner images */
font-weight: normal;
body {
line-height: 1.0em;
    background-image: url(images/background.webp);
    background-repeat: no-repeat;
}
}
 
.page-Guilty_Gear_XX_Accent_Core_Plus_R,.rootpage-GGACR {
div.columns2 {
    background-image: url(images/ggacr-background.webp);
column-count: 2;
    background-repeat: no-repeat;
-moz-column-count:2;
}
-webkit-column-count:2;
.page-Granblue_Fantasy_Versus,.rootpage-GBVS {
    background-image: url(images/gbvs-background.webp);
    background-repeat: no-repeat;
}
.page-Granblue_Fantasy_Versus_Rising,.rootpage-GBVSR {
    background-image: url(images/gbvsr-background.png);
    background-repeat: no-repeat;
}
.page-Dragon_Ball_FighterZ,.rootpage-DBFZ {
    background-image: url(images/dbfz-background.webp);
    background-repeat: no-repeat;
}
.page-Persona_4_Arena_Ultimax_Remaster,.rootpage-P4U2R {
    background-image: url(images/p4u2r-background.webp);
    background-repeat: no-repeat;
}
}
div.columns3 {
.page-BlazBlue_Central_Fiction,.rootpage-BBCF {
column-count: 3;
    background-image: url(images/bbcf-background.webp);
-moz-column-count:3;
    background-repeat: no-repeat;
-webkit-column-count:3;
}
}
div.columns4 {
.page-Guilty_Gear_The_Missing_Link,.rootpage-GGML {
column-count: 4;
    background-image: url(images/ggml-background.webp);
-moz-column-count:4;
    background-repeat: no-repeat;
-webkit-column-count:4;
}
}
div.columns li,
.page-BlazBlue_Cross_Tag_Battle,.rootpage-BBTag {
div.columns dd dd {
     background-image: url(images/bbtag-background.webp);
     -webkit-column-break-inside: avoid;
     background-repeat: no-repeat;
    page-break-inside: avoid;
     break-inside: avoid-column;
}
}
 
.page-Hokuto_no_Ken,.rootpage-HNK {
/*
    background-image: url(images/hnk-background.webp);
div#mw-panel {position: fixed}
    background-repeat: no-repeat;
*/
 
/* Resizable Imagemap */
img[alt="GBVS CharSelect.png"] {
  transform-origin: center left;
}
}
 
.page-DNF_Duel,.rootpage-DNFD {
/* ----- Desktops ---- */
     background-image: url(images/dnfd-background.webp);
@media only screen and (min-width: 1080px) {
    background-repeat: no-repeat;
  img[alt="GBVS CharSelect.png"] {
     transform: scale(1.0);
  }
}
}
 
.page-Sailor_Moon_S,.rootpage-SMS {
/* ----- Laptops ---- */
    background-image: url(images/sms-background.png);
@media only screen and (min-width: 768px) {
     background-repeat: no-repeat;
  img[alt="GBVS CharSelect.png"] {
     transform: scale(0.8);
  }
}
}
 
.page-Sengoku_Basara_X,.rootpage-SBX {
/* ----- Phones ---- */
     background-image: url(images/sbx-background.webp);
@media only screen and (max-width: 768px) {
    background-repeat: no-repeat;
  img[alt="GBVS CharSelect.png"] {
     transform: scale(0.4);
  }
}
}
 
.page-Guilty_Gear_Xrd_REV_2,.rootpage-GGXRD-R2 {
/* end resizable imagemap */
     background-image: url(images/ggxrd-background.webp);
 
     background-repeat: no-repeat;
 
/* move collapsible element indicator to the left
*/
.mw-collapsible span.mw-collapsible-toggle {
     float:left;
     margin-left:0;
    margin-right:1em;
}
}
 
.page-Battle_Fantasia,.rootpage-BatFan {
/* Tooltip CSS from gbf.wiki
    background-image: url(images/batfan-background.png);
*/
    background-repeat: no-repeat;
/* Tooltip */
.tooltip {
  position: relative;
  display: inline;
  border-bottom: 1px dotted black;
}
}
 
.page-King_s_Field_4,.rootpage-KF4 {
.tooltiptext {
    background-image: url(images/kf4-background.webp);
  visibility: hidden;
    background-repeat: no-repeat;
  min-width: 250px;
  padding: 12px 14px;
 
  position: absolute;
  left: 50%;
  bottom: calc(20px + 100%);
  z-index: 99999;
 
  background: #fff;
  box-shadow: 0 2px 0 0 rgba(0,0,0,0.15);
  border: 1px solid #a2a9b1;
  border-radius: 2px;
 
  white-space: normal;
  font-weight: normal;
  font-style: initial;
  text-align: center;
  font-size: 14px;
  line-height: 1.6;
}
}
 
.page-Limbus_Company,.rootpage-LCB {
.tooltiptext:after,
    background-image: url(images/lcb-background.png);
.tooltiptext:before {
    background-repeat: no-repeat;
  content: '';
  position: absolute;
  left: 50%;
  border-style: solid;
}
}


.tooltiptext:after {
.responsive-imagemap img { width: 100%; height: auto; }
  top: 100%;
.responsive-img img { width: 100%; height: auto; }
  bottom: auto;
.big-pixly-image .image {width: 100%; height: auto; }
  width: 20px;
.big-pixly-image img { width: 100%; height: auto; image-rendering: pixelated; }
  height: 20px;
  background: #fff;
  margin-top: -10px;
  margin-left: -10px;
  box-shadow: 1px 1px 0px #a2a9b1;
  transform: rotate(45deg);
  border-width: 0;
}


.tooltiptext:before {
/* -----------------------------------------------------------------------------
  top: 100%;
                            Cargo Rules
  bottom: auto;
----------------------------------------------------------------------------- */
  border-width: 18px;
/* disable the tfoot which dupes thead */
  margin-left: -18px;
  border-color: rgba(0,0,0,0.15) transparent transparent transparent;
  pointer-events: none;
}


.tooltip .tooltip .tooltiptext,
table.dataTable tfoot {
.header-fixed-helper .tooltip .tooltiptext {
   display: none;
   bottom: auto;
  top: calc(20px + 100%);
}
}


.tooltip .tooltip .tooltiptext:after,
/* move images to start of line. else they will be at end of line when there are notes */
.header-fixed-helper .tooltip .tooltiptext:after {
table.dataTable div.tright {
   top: auto;
   float: left;
  bottom: 100%;
  border-width: 15px;
  margin-left: -15px;
  border-color: transparent transparent white transparent;
  width: 0;
  height: 0;
  box-shadow: none;
  background: none;
  transform: none;
}
}


.tooltip .tooltip .tooltiptext:before,
.stripe tbody tr:nth-child(odd) {
.header-fixed-helper .tooltip .tooltiptext:before {
background-color: var(--color-surface-1);
  top: auto;
  bottom: 100%;
  border-width: 16px;
  margin-left: -16px;
  border-color: transparent transparent #888 transparent;
}
}


.tooltiptext span.hr {
.stripe tbody tr:nth-child(odd):hover {
    display: block;
background-color: var(--color-surface-3);
    height: 1px;
    background-color: #a2a9b1;
}
}


.tooltiptext hr,
/* -----------------------------------------------------------------------------
.tooltiptext span.hr {
                            Tier List Rules
  margin: 10px 0 12px;
----------------------------------------------------------------------------- */
  position: relative;
  background: none;
}


.tooltiptext hr:after,
@media (min-width: 900px) {
.tooltiptext span.hr:after {
  .tierList {
  content: '';
    display: grid;
  display: block;
    grid-template-columns: minmax(58px, auto) 1fr;
  width: 100%;
    grid-column-gap: 0px;
  height: 1px !important;
    grid-row-gap: 0px;
  position: absolute;
    /* box-shadow: var(--card-shadow-dlw); */
  left: -14px;
    border-radius: var(--border-radius--small);
  background: #a2a9b1;
    font-size: 0.875em;
  padding: 0 14px;
    background-color:var(--color-surface-2);
    border-color: var(--border-color-base);
    overflow: hidden;
  }
}
}
 
@media (max-width: 899px) {
.tooltip:hover > .tooltiptext,
  .tierList {
.tooltip.hover > .tooltiptext {
    display: grid;
  visibility: visible;
    grid-template-columns: minmax(58px, auto) 1fr;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    box-shadow: var(--card-shadow-dlw);
    border-radius: var(--border-radius--small);
    font-size: 0.875em;
    background-color:var(--color-surface-1);
    border-color: var(--border-color-base);
    overflow: hidden;
  }
}
}
 
.tierHeader {
.tooltiptext {
   display: flex;
   opacity: 0;
   align-items: center;
   transition: opacity 200ms ease, visibility 0s ease 200ms, transform 200ms ease;
   justify-content: center;
   transform: translate(-50%, 8px);
  text-align: center;
  padding: 1em 2px;
  font-size: 1em;
  font-weight: 600;
  color: black;
}
}
 
.tierGroup {
.tooltip .tooltip .tooltiptext,
  display: flex;
.header-fixed-helper .tooltip .tooltiptext {
  flex-direction: row;
   transform: translate(-50%, -8px);
  flex-wrap: wrap;
   align-items: center;
}
}
 
.tierUnderline {
.tooltip:hover > .tooltiptext,
   border-bottom: 1px solid var(--border-color-base--darker);
.tooltip.hover > .tooltiptext {
   opacity: 1;
  transition-delay: 0s;
  transform: translate(-50%, 0);
}
}
 
.generalUnderline {
.tooltiptext a { color: #0645ad; border-bottom: 0; }
  border-bottom: 1px solid var(--border-color-base);
.tooltiptext a:visited { color: #0b0080; }
.tooltiptext a:active { color: #faa700; }
.tooltiptext a:hover, a:focus { text-decoration: underline; }
.tooltiptext { color: #252525; }
.tooltiptext a.new { color: #ba0000; }
 
/* Remove .mw-body-content stacking context so the tooltip can
  overlap with elements outside content area and be shown properly */
.mw-body-content { z-index: auto; }
 
/* Fixes border-bottom on tooltips in Weapon/Summon template */
.summon_template a,
.summon_template .tooltip,
.summon_template .image_link .tooltip a:nth-child(2),
.weapon_template a,
.weapon_template .tooltip,
.weapon_template .image_link .tooltip a:nth-child(2) {
  border-bottom: 1px dotted white;
}
}
 
.tierGroup>div {
.summon_template sup a,
   margin: 4px 10px;
.summon_template .tooltip a,
.summon_template .image_link .tooltip,
.weapon_template sup a,
.weapon_template .tooltip a,
.weapon_template .image_link .tooltip {
   border-bottom: none;
}
}
 
.CharaInfoLabel {
.flow-post .flow-post-content {
  text-align: right;
   overflow: visible;
  width: 50%;
   vertical-align: text-top;
}
}


/* Tooltip End */
/* -----------------------------------------------------------------------------
 
                            ColumnList Specific Rules
/* this CSS governs the responsive 2 column main page layout */
----------------------------------------------------------------------------- */


.fpcontent {
.columns2 {
    width: 100%;
  -webkit-columns: 16em 2;
    overflow: hidden;
  -moz-columns: 16em 2;
    z-index: 1;
  columns: 16em 2;
}
}


.fpmaybecols {
    overflow: hidden;
    margin: -5px 0 -5px 0;
}


.fpmaybecols + .fpmaybecols {
    margin: 0 0 -5px 0;
}


.fpbox {
/* -----------------------------------------------------------------------------
    background: #f5f5f5;
                        Cargo Based Move Boxes Styling
    border: 2px solid #454545;
----------------------------------------------------------------------------- */
    box-shadow: 0 0 0 2px #454545 inset;
    color: #454545; /* change for hydra (light) wikis */
    margin: 5px 5px 5px 5px;
    padding: 5px 5px 5px 5px;
}


.fpplainbox {
.grid-container {
    padding: 5px 8px 10px 8px;
  display: grid;
    margin: 0 5px 10px 5px;
  grid-template-columns: 210px auto;
    vertical-align: top;
  grid-template-rows: auto auto;
  gap: 0px 0px;
  grid-template-areas: "name data" "gallery description";
}
}
 
.move-box {
.fpbox .welcome {
  box-shadow: var(--CardShadow);
    border-bottom: 1px solid #454545;
  border-radius: var(--StandardBorderCurve);
    color: #454545; /* change for hydra (light) wikis */
    font-size: 150%;
    margin: 0 0 10px 0;
    padding: 0 0 5px 0;
    text-transform: uppercase;
    text-align: center;
}
}
 
.name {
.fpbox .heading {
  display: grid;
    border-bottom: 1px solid #454545;
  grid-template-columns: auto;
    color: #454545; /* change for hydra (light) wikis */
  grid-template-rows: auto;
    font-size: 132%;
  height: 1em;
    font-variant: small-caps;
  gap: 0px 0px;
    margin: 0 0 10px 0;
  grid-template-areas: ".";
    padding: 0 0 5px 0;
  grid-area: name;
  text-align: center;
}
}
 
#moveName {
.fpbox .heading .smalllink {
  font-weight: bold;
    color: #454545; /* change for hydra (light) wikis */
  font-size: 20px;
    font-size: 75%;
  line-height: 1.1em;
    font-weight: bold;
}
}
 
.gallery {
.fpbox hr {
  grid-area: gallery;
    border: none;
  align-content: center;
    border-bottom: 2px solid #454545;
  text-align: center;
  overflow: hidden;
}
}
 
.description {
.fplinks {
  grid-area: description;
    margin: -5px;
  padding: 0.25em 1em;
}
}
 
.data {
.fplinks .linkslabel {
  display: grid;
    background: rgba(0, 0, 0, 0);
  grid-template-columns: repeat(8, 1fr);
    border-bottom: 2px solid #454545;
  grid-template-rows: repeat(2, 1fr);
    margin: 15px 5px 5px 5px;
  gap: 0px 0px;
    padding: 0 0 5px 0;
  grid-template-areas: ". . . . . . . ." ". . . . . . . .";
  grid-area: data;
  text-align: center;
  border-bottom: 1px solid grey;
}
}
 
.data-cell {
.fplink {
  font-size: 20px;
    display: inline-block;
    vertical-align: middle;
    width: 100%;
}
}
 
#startup {
.buttonbox .fplink a.external {
  color: #4caf50;
    color: #f5f5f5;
}
}
.buttonbox .fplink a.external:visited {
#active {
    color: #f5f5f5;
  color: #f44336;
}
}
.buttonbox .fplink a:visited {
#recovery {
    color: #f5f5f5;
  color: #2196f3;
}
}


/* Yeah, using display: table makes for a lot of extra markup, but it makes proportionate sizing and vertical centering a lot easier, so going with it */
/* Movelist Toggles */
.fplink .box {
.movelist-toggles {
    border-collapse: separate;
  display: flex;
    border-spacing: 5px;
  justify-content: center;
    display: table;
  box-shadow: var(--card-shadow-dlw);
    width: 100%;
  background-color: var(--color-surface-1);
  border-radius: var(--border-radius--small);
}
}


.fplink .box .row {
.movelist-toggle-button {
     display: table-row;
     display: inline-flex;
    align-items: center;
    padding: 18px;
    font-weight: bold;
    scroll-snap-align: start;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    color: var(--color-base--subtle);
}
.movelist-toggle-button:hover {
background-color: var(--color-surface-3);
color: var(--color-base--emphasized);
}
}


.fplink .box .row .cell {
.movelist-toggle-on {
    background: #262626;
background-color: var(--color-surface-2);
    background-image: -moz-linear-gradient(center top, #454545 0%, #2e2d2d 100%);
    background-image: -webkit-gradient(linear, center top, left bottom, color-stop(0%,#454545), color-stop(100%,#2e2d2d));
    background-image: -webkit-linear-gradient(top, #454545 0%, #2e2d2d 100%);
    background-image: -o-linear-gradient(top, #454545 0%, #2e2d2d 100%);
    background-image: -ms-linear-gradient(top, #454545 0%, #2e2d2d 100%);
    background-image: linear-gradient(to bottom, #454545 0%, #2e2d2d 100%);
    border: 1px solid #2e2d2d;
    border-radius: 4px;
    color: #fff;
    display: table-cell;
    padding: 0 6px;
    position: relative;
    text-align: center;
    vertical-align: middle;
}
}


.fplink.wide .box .row .cell {
/******************************* Gallery Module *******************************/
    padding: 0 5px;
@media all and (max-width: 720px) {
.mod-gallery {
width: 100% !important;
}
}
}


#fptopsection .fplink.image,
.mod-gallery {
#fpflexsection .fplink.image,
display: table;
#fpbottomsection .fplink.image
    height: 114px;{
    width: 114px;
}
}


.fplink.image .box .row .cell {
.mod-gallery-default {
    height: 100px;
background: transparent;
    width: 100px;
margin-top: 0.3em;
    vertical-align: bottom;
}
}


.fplink.image .box .row .cell .image img {
.mod-gallery-center {
    height: 100px;
margin-left: auto;
    width: 100px;
margin-right: auto;
}
}


@media (min-width: 470px) {
.mod-gallery-left {
  .fplink {
float: left;
    width: 50%;
  }
 
  .fplink.wide {
    width: 100%;
  }
}
}


@media (min-width: 580px) {
.mod-gallery-right {
  .fplink {
float: right;
    width: 33.333%;
  }
 
  .fplink.wide {
    width: 66.666%;
  }
}
}


@media (min-width: 690px) {
.mod-gallery-none {
  .fplink {
float: none;
    width: 25%;
  }
 
  .fplink.wide {
    width: 50%;
  }
}
}


@media (min-width: 800px) {
.mod-gallery-collapsible {
  .fplink {
width: 100%;
    width: 20%;
  }
 
  .fplink.wide {
    width: 40%;
  }
}
}


@media (min-width: 910px) {
.mod-gallery .title,
  .fplink {
.mod-gallery .main,
    width: 16.666%;
.mod-gallery .footer {
  }
display: table-row;
 
  .fplink.wide {
    width: 33.333%;
  }
}
}


@media (min-width: 990px) {
.mod-gallery .title > div {
  .fpcontent {
display: table-cell;
    padding-right: 520px;
padding: 0.2em 0 0.6em 1.6em;
    width: auto;
text-align: center;
  }
font-weight: bold;
 
  #fptopsection {
    float: left;
    width: 100%;
  }
 
  #fpflexsection {
    float: right;
    width: 520px;
    margin-right: -520px
  }
 
  #fpbottomsection {  
    float: left;
    width: 100%;
    margin-top: -5px;  
  }
 
  #fptopsection .fplink, #fpbottomsection .fplink {
    width: 50%;
  }
 
  #fptopsection .fplink.wide, #fpbottomsection .fplink.wide {
    width: 100%;
  }
 
  #fpflexsection .fplink {
    width: 25%;
  }
 
  #fpflexsection .fplink.wide {
    width: 50%;
  }
}
}


@media (min-width: 1100px) {
.mod-gallery .main > div {
  #fptopsection .fplink, #fpbottomsection .fplink {
display: table-cell;
    width: 33.333%;
  }
 
  #fptopsection .fplink.wide, #fpbottomsection .fplink.wide {
    width: 66.666%;
  }
}
}


@media (min-width: 1210px) {
.mod-gallery .gallery {
  #fptopsection .fplink, #fpbottomsection .fplink {
line-height: 1.35em;
    width: 25%;
  }
 
  #fptopsection .fplink.wide, #fpbottomsection .fplink.wide {
    width: 50%;
  }
}
}


@media (min-width: 1320px) {
.mod-gallery .footer > div {
  #fptopsection .fplink, #fpbottomsection .fplink {
display: table-cell;
    width: 20%;
padding: 0.2em 0 0.6em 1.6em;
  }
text-align: right;
 
font-size: 80%;
  #fptopsection .fplink.wide, #fpbottomsection .fplink.wide {
line-height: 1em;
    width: 40%;
  }
}
}


@media (min-width: 1430px) {
.mod-gallery .title > div *,
  #fptopsection .fplink, #fpbottomsection .fplink {
.mod-gallery .footer > div * {
    width: 16.666%;
overflow: visible;
  }
 
  #fptopsection .fplink.wide, #fpbottomsection .fplink.wide {
    width: 33.333%;
  }
 
  .fplink a {
    padding: 3px 5px;
    color: #f5f5f5;
  }
}
}


@media (min-width: 1540px) {
.mod-gallery .gallerybox img {
  #fptopsection .fplink, #fpbottomsection .fplink {
background: none !important;
    width: 14.285%;
  }
 
  #fptopsection .fplink.wide, #fpbottomsection .fplink.wide {
    width: 28.571%;
  }
 
  #fptopsection .fpmaybercol .fpbox, #fpbottomsection .fpmaybercol .fpbox {
    background-image: none;
  }
 
  .fpmaybelcol {
    float: left;
    width: 70.886%;
  }
 
  #fptopsection .fpmaybelcol .fplink, #fpbottomsection .fpmaybelcol .fplink {
    width: 20%;
  }
 
  #fptopsection .fpmaybelcol .fplink.wide, #fpbottomsection .fpmaybelcol .fplink.wide {
    width: 40%;
  }
 
  .fpmaybercol {
    float: right;
    width: 29.113%;
  }
 
  #fptopsection .fpmaybercol .fplink, #fpbottomsection .fpmaybercol .fplink {
    width: 50%;
  }
 
  #fptopsection .fpmaybercol .fplink.wide, #fpbottomsection .fpmaybercol .fplink.wide {
    width: 100%;
  }
}
}


@media (min-width: 1650px) {
.mod-gallery .bordered-images .thumb img {
  #fptopsection .fplink, #fpbottomsection .fplink {
border: solid #eaecf0 1px;
    width: 12.5%;
  }
 
  #fptopsection .fplink.wide, #fpbottomsection .fplink.wide {
    width: 25%;
  }
}
}


@media (min-width: 1697px) {
.mod-gallery .whitebg .thumb {
  #fptopsection .fpmaybelcol .fplink, #fpbottomsection .fpmaybelcol .fplink {
background: #fff !important;
    width: 16.666%;
  }
 
  #fptopsection .fpmaybelcol .fplink.wide, #fpbottomsection .fpmaybelcol .fplink.wide {
    width: 33.333%;
  }
}
}


@media (min-width: 1760px) {
/********************************** Tooltips **********************************/
  #fptopsection .fplink, #fpbottomsection .fplink {
.tooltip {
    width: 11.111%;
  border-bottom: 1px dashed var(--color-base);
   }
   white-space: nowrap;
 
  #fptopsection .fplink.wide, #fpbottomsection .fplink.wide {
    width: 22.222%;
  }
}
}
 
.tooltiptext {
@media (min-width: 1850px) {
display: none;
  #fptopsection .fpmaybelcol .fplink, #fpbottomsection .fpmaybelcol .fplink {
    width: 14.285%;
  }
 
  #fptopsection .fpmaybelcol .fplink.wide, #fpbottomsection .fpmaybelcol .fplink.wide {
    width: 28.571%;
  }
}
}


@media (min-width: 1870px) {
/******* CLR template styling added back until templatestyles bug is fixed *******/
  #fptopsection .fplink, #fpbottomsection .fplink {
.colorful-text-1 { color: var(--color-pink); }
    width: 10%;
.colorful-text-2 { color: var(--color-blue); }
  }
.colorful-text-3 { color: var(--color-green); }
 
.colorful-text-4 { color: var(--color-red); }
  #fptopsection .fplink.wide, #fpbottomsection .fplink.wide {
.colorful-text-5 { color: var(--color-orange); }
    width: 20%;
.colorful-text-6 { color: var(--color-magenta); }
  }
 
  #fptopsection .fplink.image, #fpbottomsection .fplink.image {
    width: 134px;
    height: 134px;
  }


  #fptopsection .fplink.image .box .row .cell, #fpbottomsection .fplink.image .box .row .cell {
/* balance badge template */
    width: 120px;
.balance-badge {
    height: 120px;
color: var(--balance-badge-font-color);
  }
border-radius: var(--border-radius--small);
 
font-weight: var(--font-weight-bold);
  #fptopsection .fplink.image .box .row .cell .image img, #fpbottomsection .fplink.image .box .row .cell .image img {
font-size: 0.75em;
    width: 120px;
letter-spacing: -0.008em;
    height: 120px;
padding: 2px 4px;
  }
}
}


@media (min-width: 1918px) {
.balance-badge.added {
  #fptopsection .fpmaybercol .fplink, #fpbottomsection .fpmaybercol .fplink {
   background-color: LemonChiffon;
    width: 33.333%;
   }
 
  #fptopsection .fpmaybercol .fplink.wide, #fpbottomsection .fpmaybercol .fplink.wide {
    width: 66.666%;
  }
}
}


@media (min-width: 1980px) {
.balance-badge.new {
  #fptopsection .fplink, #fpbottomsection .fplink {
   background-color: PeachPuff;
    width: 9.09%;
   }
 
  #fptopsection .fplink.wide, #fpbottomsection .fplink.wide {
    width: 18.181%;
  }
}
}


@media (min-width: 2006px) {
.balance-badge.removed {
  #fptopsection .fpmaybelcol .fplink, #fpbottomsection .fpmaybelcol .fplink {
   background-color: Lavender;
    width: 12.5%;
   }
 
  #fptopsection .fpmaybelcol .fplink.wide, #fpbottomsection .fpmaybelcol .fplink.wide {
    width: 25%;
  }
}
}


@media (min-width: 2090px) {
.balance-badge.reworked {
  #fptopsection .fplink, #fpbottomsection .fplink {
   background-color: LightBlue;
    width: 8.33%;
   }
 
  #fptopsection .fplink.wide, #fpbottomsection .fplink.wide {
    width: 16.666%;
  }
}
}


@media (min-width: 2161px) {
.balance-badge.buff {
  #fptopsection .fpmaybelcol .fplink, #fpbottomsection .fpmaybelcol .fplink {
   background-color: DarkSeaGreen;
    width: 11.111%;
   }
 
  #fptopsection .fpmaybelcol .fplink.wide, #fpbottomsection .fpmaybelcol .fplink.wide {
    width: 22.222%;
  }
}
}


@media (min-width: 2200px) {
.balance-badge.nerf {
  #fptopsection .fplink, #fpbottomsection .fplink {
   background-color: LightPink;
    width: 7.692%;
   }
 
  #fptopsection .fplink.wide, #fpbottomsection .fplink.wide {
    width: 15.384%;
  }
}
}


@media (min-width: 2296px) {
/**** Character Label styling added back until templatestyles is fixed ****/
  #fptopsection .fpmaybercol .fplink, #fpbottomsection .fpmaybercol .fplink {
.charaLabel {
    width: 25%;
   display: inline;
  }
 
   #fptopsection .fpmaybercol .fplink.wide, #fpbottomsection .fpmaybercol .fplink.wide {
    width: 50%;
  }
}
}


@media (min-width: 2310px) {
.charaLabel > img {
  #fptopsection .fplink, #fpbottomsection .fplink {
    color: transparent!important;
     width: 7.142%;
    font-size: 0!important;
  }
    line-height: 0!important;
 
    vertical-align: middle!important;
  #fptopsection .fplink.wide, #fpbottomsection .fplink.wide {
    white-space: nowrap!important;
     width: 14.285%;
     --width: 0;
  }
    --height: 16px;
    --small-scale: 0.75;
     --gap: 0;
    --base-gap: 2px;
}
}


@media (min-width: 2316px) {
/**** Input Badge styling added back until templatestyles is fixed ****/
   #fptopsection .fpmaybelcol .fplink, #fpbottomsection .fpmaybelcol .fplink {
.input-badge {
    width: 10%;
   border: 1px solid;
   }
  border-radius: var(--border-radius--small);
 
   border-color: var(--border-color-base);
   #fptopsection .fpmaybelcol .fplink.wide, #fpbottomsection .fpmaybelcol .fplink.wide {
   padding: .25em .35em;
    width: 20%;
  font-weight: bold;
   }
   background-color: var( --color-surface-2 );
}
}


@media (min-width: 2420px) {
/* -----------------------------------------------------------------------------
  #fptopsection .fplink, #fpbottomsection .fplink {
                        Table alignment helper classes
    width: 6.666%;
----------------------------------------------------------------------------- */
  }
 
  #fptopsection .fplink.wide, #fpbottomsection .fplink.wide {
    width: 13.333%;
  }


  .fplink a {
table.col-1-center td:nth-child(1) { text-align: center; }
    padding: 5px 5px;
table.col-2-center td:nth-child(2) { text-align: center; }
  }
table.col-3-center td:nth-child(3) { text-align: center; }
table.col-4-center td:nth-child(4) { text-align: center; }
table.col-5-center td:nth-child(5) { text-align: center; }
table.col-6-center td:nth-child(6) { text-align: center; }
table.col-7-center td:nth-child(7) { text-align: center; }
table.col-8-center td:nth-child(8) { text-align: center; }
table.col-9-center td:nth-child(9) { text-align: center; }


  #fptopsection .fplink.image, #fpbottomsection .fplink.image {
table.col-1-right td:nth-child(1) { text-align: right; }
    width: 164px;
table.col-2-right td:nth-child(2) { text-align: right; }
    height: 164px;
table.col-3-right td:nth-child(3) { text-align: right; }
  }
table.col-4-right td:nth-child(4) { text-align: right; }
table.col-5-right td:nth-child(5) { text-align: right; }
table.col-6-right td:nth-child(6) { text-align: right; }
table.col-7-right td:nth-child(7) { text-align: right; }
table.col-8-right td:nth-child(8) { text-align: right; }
table.col-9-right td:nth-child(9) { text-align: right; }


  #fptopsection .fplink.image .box .row .cell, #fpbottomsection .fplink.image .box .row .cell {
/* -----------------------------------------------------------------------------
    width: 150px;
                            Template:RainbowText styles
    height: 150px;
----------------------------------------------------------------------------- */
  }
/* In Common.css for Cargo compatibility. */


  #fptopsection .fplink.image .box .row .cell .image img, #fpbottomsection .fplink.image .box .row .cell .image img {
.rainbow-shadow {
    width: 150px;
  letter-spacing: 0.15rem;
    height: 150px;
  color: var(--rainbow-text-base-color);
   }
   text-shadow: -1px 1px #ef3550,
}
              -2px 2px #f48fb1,
 
              -3px 3px #7e57c2,
.fplink.image .image {
              -4px 4px #2196f3,
  position: absolute;
              -5px 5px #26c6da,
  top: 0;
              -6px 6px #43a047,
  right: 0;
              -7px 7px #eeff41;
  bottom: 0;
  left: 0;
  font-size: 75%;
  z-index: 1;
}
}


.fplink.image a {
.rainbow-shadow-huge {
   z-index: 2;
  font-weight: 900;
  font-size: 6em;
  padding-left: 1.8rem;
  padding-bottom: 0.8rem;
  letter-spacing: 0.15rem;
  color: var(--rainbow-text-base-color);
   text-shadow: -4px 4px #ef3550,
              -8px 8px #f48fb1,
              -12px 12px #7e57c2,
              -16px 16px #2196f3,
              -20px 20px #26c6da,
              -24px 24px #43a047,
              -28px 28px #eeff41,
              -32px 32px #f9a825,
              -36px 36px #ff5722;
}
}


.fplink a {
  display: block;
  position: relative;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 1px 5px;
}


.fplink.image .image a {
/*------------------------------ Tippy Tooltips ------------------------------*/
  padding: 0;
.tippy-box {
    background-color: var(--color-surface-2);
    color: var(--color-base);
    border-radius: var(--border-radius--small);
    font-size: 0.875rem;
    line-height: var(--line-height-sm);
    outline: 0;
    box-shadow: var(--card-shadow-dlw), rgba(255, 255, 255, 0.067) 0px 1px 0px inset;
}
}
 
.tippy-content {
.fplink.image .link a {
text-align: center;
  background: #f5f5f5;
padding: var(--space-sm) var(--space-md);
  border-top: 2px solid #454545;
}
}
 
.tippy-arrow {
.fplink.wide a {
color: var(--color-surface-2);
  margin: 0 -5px;
}
}
 
.tooltip-dashed-underline {
.fpvideos {
text-decoration: dashed underline;
  margin: 0 auto;
    text-underline-offset: 0.2em;
  overflow: hidden;
    text-decoration-thickness: from-font;
  text-align: center;
}
 
.fpvideo {
  display: inline-block;
  margin: 0 5px;
}
}

Revision as of 23:14, 5 March 2024

/* CSS placed in this file will be applied to all skins */
/* Hide title and edit tools on main page */
.page-Main_Page .mw-side,
.page-Main_Page .firstHeading,
.page-Main_Page #siteSub {
	display: none!important;
}

/* per-game banner images */
body {
    background-image: url(images/background.webp);
    background-repeat: no-repeat;
}
.page-Guilty_Gear_XX_Accent_Core_Plus_R,.rootpage-GGACR {
    background-image: url(images/ggacr-background.webp);
    background-repeat: no-repeat;
}
.page-Granblue_Fantasy_Versus,.rootpage-GBVS {
    background-image: url(images/gbvs-background.webp);
    background-repeat: no-repeat;
}
.page-Granblue_Fantasy_Versus_Rising,.rootpage-GBVSR {
    background-image: url(images/gbvsr-background.png);
    background-repeat: no-repeat;
}
.page-Dragon_Ball_FighterZ,.rootpage-DBFZ {
    background-image: url(images/dbfz-background.webp);
    background-repeat: no-repeat;
}
.page-Persona_4_Arena_Ultimax_Remaster,.rootpage-P4U2R {
    background-image: url(images/p4u2r-background.webp);
    background-repeat: no-repeat;
}
.page-BlazBlue_Central_Fiction,.rootpage-BBCF {
    background-image: url(images/bbcf-background.webp);
    background-repeat: no-repeat;
}
.page-Guilty_Gear_The_Missing_Link,.rootpage-GGML {
    background-image: url(images/ggml-background.webp);
    background-repeat: no-repeat;
}
.page-BlazBlue_Cross_Tag_Battle,.rootpage-BBTag {
    background-image: url(images/bbtag-background.webp);
    background-repeat: no-repeat;
}
.page-Hokuto_no_Ken,.rootpage-HNK {
    background-image: url(images/hnk-background.webp);
    background-repeat: no-repeat;
}
.page-DNF_Duel,.rootpage-DNFD {
    background-image: url(images/dnfd-background.webp);
    background-repeat: no-repeat;
}
.page-Sailor_Moon_S,.rootpage-SMS {
    background-image: url(images/sms-background.png);
    background-repeat: no-repeat;
}
.page-Sengoku_Basara_X,.rootpage-SBX {
    background-image: url(images/sbx-background.webp);
    background-repeat: no-repeat;
}
.page-Guilty_Gear_Xrd_REV_2,.rootpage-GGXRD-R2 {
    background-image: url(images/ggxrd-background.webp);
    background-repeat: no-repeat;
}
.page-Battle_Fantasia,.rootpage-BatFan {
    background-image: url(images/batfan-background.png);
    background-repeat: no-repeat;
}
.page-King_s_Field_4,.rootpage-KF4 {
    background-image: url(images/kf4-background.webp);
    background-repeat: no-repeat;
}
.page-Limbus_Company,.rootpage-LCB {
    background-image: url(images/lcb-background.png);
    background-repeat: no-repeat;
}

.responsive-imagemap img { width: 100%; height: auto; }
.responsive-img img { width: 100%; height: auto; }
.big-pixly-image .image {width: 100%; height: auto; }
.big-pixly-image img { width: 100%; height: auto; image-rendering: pixelated; }

/* -----------------------------------------------------------------------------
                            Cargo Rules
----------------------------------------------------------------------------- */
/* disable the tfoot which dupes thead */

table.dataTable tfoot {
  display: none;
}

/* move images to start of line. else they will be at end of line when there are notes */
table.dataTable div.tright {
  float: left;
}

.stripe tbody tr:nth-child(odd) {
	background-color: var(--color-surface-1);
}

.stripe tbody tr:nth-child(odd):hover {
	background-color: var(--color-surface-3);
}

/* -----------------------------------------------------------------------------
                            Tier List Rules
----------------------------------------------------------------------------- */

@media (min-width: 900px) {
  .tierList {
    display: grid;
    grid-template-columns: minmax(58px, auto) 1fr;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    /* box-shadow: var(--card-shadow-dlw); */
    border-radius: var(--border-radius--small);
    font-size: 0.875em;
    background-color:var(--color-surface-2);
    border-color: var(--border-color-base);
    overflow: hidden;
  }
}
@media (max-width: 899px) {
  .tierList {
    display: grid;
    grid-template-columns: minmax(58px, auto) 1fr;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    box-shadow: var(--card-shadow-dlw);
    border-radius: var(--border-radius--small);
    font-size: 0.875em;
    background-color:var(--color-surface-1);
    border-color: var(--border-color-base);
    overflow: hidden;
  }
}
.tierHeader {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1em 2px;
  font-size: 1em;
  font-weight: 600;
  color: black;
}
.tierGroup {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
}
.tierUnderline {
  border-bottom: 1px solid var(--border-color-base--darker);
}
.generalUnderline {
  border-bottom: 1px solid var(--border-color-base);
}
.tierGroup>div {
  margin: 4px 10px;
}
.CharaInfoLabel {
  text-align: right;
  width: 50%;
  vertical-align: text-top;
}

/* -----------------------------------------------------------------------------
                            ColumnList Specific Rules
----------------------------------------------------------------------------- */

.columns2 {
  -webkit-columns: 16em 2;
  -moz-columns: 16em 2;
  columns: 16em 2;
}



/* -----------------------------------------------------------------------------
                        Cargo Based Move Boxes Styling
----------------------------------------------------------------------------- */

.grid-container {
  display: grid;
  grid-template-columns: 210px auto;
  grid-template-rows: auto auto;
  gap: 0px 0px;
  grid-template-areas: "name data" "gallery description";
}
.move-box {
  box-shadow: var(--CardShadow);
  border-radius: var(--StandardBorderCurve);
}
.name {
  display: grid;
  grid-template-columns: auto;
  grid-template-rows: auto;
  height: 1em;
  gap: 0px 0px;
  grid-template-areas: ".";
  grid-area: name;
  text-align: center;
}
#moveName {
  font-weight: bold;
  font-size: 20px;
  line-height: 1.1em;
}
.gallery {
  grid-area: gallery;
  align-content: center;
  text-align: center;
  overflow: hidden;
}
.description {
  grid-area: description;
  padding: 0.25em 1em;
}
.data {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 0px 0px;
  grid-template-areas: ". . . . . . . ." ". . . . . . . .";
  grid-area: data;
  text-align: center;
  border-bottom: 1px solid grey;
}
.data-cell {
  font-size: 20px;
}
#startup {
  color: #4caf50;
}
#active {
  color: #f44336;
}
#recovery {
  color: #2196f3;
}

/* Movelist Toggles */
.movelist-toggles {
  display: flex;
  justify-content: center;
  box-shadow: var(--card-shadow-dlw);
  background-color: var(--color-surface-1);
  border-radius: var(--border-radius--small);
}

.movelist-toggle-button {
    display: inline-flex;
    align-items: center;
    padding: 18px;
    font-weight: bold;
    scroll-snap-align: start;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    color: var(--color-base--subtle);
}
.movelist-toggle-button:hover {
	background-color: var(--color-surface-3);
	color: var(--color-base--emphasized);
}

.movelist-toggle-on {
	background-color: var(--color-surface-2);
}

/******************************* Gallery Module *******************************/
@media all and (max-width: 720px) {
	.mod-gallery {
		width: 100% !important;
	}
}

.mod-gallery {
	display: table;
}

.mod-gallery-default {
	background: transparent;
	margin-top: 0.3em;
}

.mod-gallery-center {
	margin-left: auto;
	margin-right: auto;
}

.mod-gallery-left {
	float: left;
}

.mod-gallery-right {
	float: right;
}

.mod-gallery-none {
	float: none;
}

.mod-gallery-collapsible {
	width: 100%;
}

.mod-gallery .title,
.mod-gallery .main,
.mod-gallery .footer {
	display: table-row;
}

.mod-gallery .title > div {
	display: table-cell;
	padding: 0.2em 0 0.6em 1.6em;
	text-align: center;
	font-weight: bold;
}

.mod-gallery .main > div {
	display: table-cell;
}

.mod-gallery .gallery {
	line-height: 1.35em;
}

.mod-gallery .footer > div {
	display: table-cell;
	padding: 0.2em 0 0.6em 1.6em;
	text-align: right;
	font-size: 80%;
	line-height: 1em;
}

.mod-gallery .title > div *,
.mod-gallery .footer > div * {
	overflow: visible;
}

.mod-gallery .gallerybox img {
	background: none !important;
}

.mod-gallery .bordered-images .thumb img {
	border: solid #eaecf0 1px;
}

.mod-gallery .whitebg .thumb {
	background: #fff !important;
}

/********************************** Tooltips **********************************/
.tooltip {
  border-bottom: 1px dashed var(--color-base);
  white-space: nowrap;
}
.tooltiptext {
	display: none;
}

/******* CLR template styling added back until templatestyles bug is fixed *******/
.colorful-text-1 { color: var(--color-pink); }
.colorful-text-2 { color: var(--color-blue); }
.colorful-text-3 { color: var(--color-green); }
.colorful-text-4 { color: var(--color-red); }
.colorful-text-5 { color: var(--color-orange); }
.colorful-text-6 { color: var(--color-magenta); }

/* balance badge template */
.balance-badge {
	color: var(--balance-badge-font-color);
	border-radius: var(--border-radius--small);
	font-weight: var(--font-weight-bold);
	font-size: 0.75em;
	letter-spacing: -0.008em;
	padding: 2px 4px;
}

.balance-badge.added {
  background-color: LemonChiffon;
}

.balance-badge.new {
  background-color: PeachPuff;
}

.balance-badge.removed {
  background-color: Lavender;
}

.balance-badge.reworked {
  background-color: LightBlue;
}

.balance-badge.buff {
  background-color: DarkSeaGreen;
}

.balance-badge.nerf {
  background-color: LightPink;
}

/**** Character Label styling added back until templatestyles is fixed ****/
.charaLabel {
  display: inline;
}

.charaLabel > img {
    color: transparent!important;
    font-size: 0!important;
    line-height: 0!important;
    vertical-align: middle!important;
    white-space: nowrap!important;
    --width: 0;
    --height: 16px;
    --small-scale: 0.75;
    --gap: 0;
    --base-gap: 2px;
}

/**** Input Badge styling added back until templatestyles is fixed ****/
.input-badge {
  border: 1px solid;
  border-radius: var(--border-radius--small);
  border-color: var(--border-color-base);
  padding: .25em .35em;
  font-weight: bold;
  background-color: var( --color-surface-2 );
}

/* -----------------------------------------------------------------------------
                        Table alignment helper classes
----------------------------------------------------------------------------- */

table.col-1-center td:nth-child(1) { text-align: center; }
table.col-2-center td:nth-child(2) { text-align: center; }
table.col-3-center td:nth-child(3) { text-align: center; }
table.col-4-center td:nth-child(4) { text-align: center; }
table.col-5-center td:nth-child(5) { text-align: center; }
table.col-6-center td:nth-child(6) { text-align: center; }
table.col-7-center td:nth-child(7) { text-align: center; }
table.col-8-center td:nth-child(8) { text-align: center; }
table.col-9-center td:nth-child(9) { text-align: center; }

table.col-1-right td:nth-child(1) { text-align: right; }
table.col-2-right td:nth-child(2) { text-align: right; }
table.col-3-right td:nth-child(3) { text-align: right; }
table.col-4-right td:nth-child(4) { text-align: right; }
table.col-5-right td:nth-child(5) { text-align: right; }
table.col-6-right td:nth-child(6) { text-align: right; }
table.col-7-right td:nth-child(7) { text-align: right; }
table.col-8-right td:nth-child(8) { text-align: right; }
table.col-9-right td:nth-child(9) { text-align: right; }

/* -----------------------------------------------------------------------------
                            Template:RainbowText styles
----------------------------------------------------------------------------- */
/* In Common.css for Cargo compatibility. */

.rainbow-shadow {
  letter-spacing: 0.15rem;
  color: var(--rainbow-text-base-color);
  text-shadow: -1px 1px #ef3550,
               -2px 2px #f48fb1,
               -3px 3px #7e57c2,
               -4px 4px #2196f3,
               -5px 5px #26c6da,
               -6px 6px #43a047,
               -7px 7px #eeff41;
}

.rainbow-shadow-huge {
  font-weight: 900;
  font-size: 6em;
  padding-left: 1.8rem;
  padding-bottom: 0.8rem;
  letter-spacing: 0.15rem;
  color: var(--rainbow-text-base-color);
  text-shadow: -4px 4px #ef3550,
               -8px 8px #f48fb1,
               -12px 12px #7e57c2,
               -16px 16px #2196f3,
               -20px 20px #26c6da,
               -24px 24px #43a047,
               -28px 28px #eeff41,
               -32px 32px #f9a825,
               -36px 36px #ff5722;
}


/*------------------------------ Tippy Tooltips ------------------------------*/
.tippy-box {
    background-color: var(--color-surface-2);
    color: var(--color-base);
    border-radius: var(--border-radius--small);
    font-size: 0.875rem;
    line-height: var(--line-height-sm);
    outline: 0;
    box-shadow: var(--card-shadow-dlw), rgba(255, 255, 255, 0.067) 0px 1px 0px inset;
}
.tippy-content {
	text-align: center;
	padding: var(--space-sm) var(--space-md);
}
.tippy-arrow {
	color: var(--color-surface-2);
}
.tooltip-dashed-underline {
	text-decoration: dashed underline;
    text-underline-offset: 0.2em;
    text-decoration-thickness: from-font;
}