MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
mNo edit summary
No edit summary
Line 6: Line 6:
display: none!important;
display: none!important;
}
}
#bodyContent h5 { font-size: 12px; }
/* Variables */
:root {
  --CardShadow: 0 2px 2px 0 rgba(0, 0, 0, .24), 0 3px 1px -2px rgba(0, 0, 0, .22), 0 1px 5px 0 rgba(0, 0, 0, .3);
  --StandardBorderCurve: 4px;
  --SmallBorderCurve: 2px;
  --White: white;
}


/*------------- stuff to work around skin changes -------------*/
/*------------- stuff to work around skin changes -------------*/
ul > p { color: #202122; } /* fix unordered lists not having the same font color as the rest of the site */
#mw-page-base {
    background-image: none;
    background-color: rgba(0,0,0,0);
}
/*                    1440p or ultrawide                    */
@media screen and (min-width: 1921px) {
  .ConstrainArticleWidth {
    width: 90%;
    max-width: 200ch;
    margin: 0 auto;
  }
}
/*                          1080p                          */
@media screen and (min-width: 1601px) and (max-width: 1920px) {
  .ConstrainArticleWidth {
    width: 90%;
    max-width: 175ch;
    margin: 0 auto;
  }
}
/*                          1600p                          */
@media screen and (min-width: 1367px) and (max-width: 1600px) {
  .ConstrainArticleWidth {
    width: 90%;
    max-width: 150ch;
    margin: 0 auto;
  }
}
/*                          720p                          */
@media screen and (min-width: 900px) and (max-width: 1366px) {
  .ConstrainArticleWidth {
    width: 90%;
    max-width: 125ch;
    margin: 0 auto;
  }
}
@media (max-width: 900px) {
  .centerOnMobile {
    margin: 0 auto;
  }
}
.sticky {
.sticky {
   position: -webkit-sticky; /* Safari */
   position: -webkit-sticky; /* Safari */
Line 80: Line 20:


td.field_Character { text-align: left !important; }
td.field_Character { text-align: left !important; }
/* use header style for version column */
.attack-container .field_Version { background-color: #eaecf0; font-weight: bold; }


@media (min-width: 900px) {
@media (min-width: 900px) {
Line 187: Line 123:
   text-align: center;
   text-align: center;
}
}


.responsive-imagemap img { width: 100%; height: auto; }
.responsive-imagemap img { width: 100%; height: auto; }
.responsive-img img { width: 100%; height: auto; }
.responsive-img img { width: 100%; height: auto; }
.responsiveImg2 img { width: auto; height: 100%; }
.responsiveImg2 img { width: auto; height: 100%; }


.frame-data-test {
.frame-data-test {
Line 238: Line 172:
   border-bottom: 4px solid #e9d704;
   border-bottom: 4px solid #e9d704;
}
}


.spawn-projectile {
.spawn-projectile {
Line 255: Line 187:
}
}


/* -----------------------------------------------------------------------------
                            Effect Classes
----------------------------------------------------------------------------- */
.round-corners {
  border-radius: 6px;
}
.responsiveImg img {
  max-width: 100%;
  height: auto;
  max-height: 450px;
}
/* -----------------------------------------------------------------------------
/* -----------------------------------------------------------------------------
                             Cargo Rules
                             Cargo Rules
Line 371: Line 291:
   width: 50%;
   width: 50%;
   vertical-align: text-top;
   vertical-align: text-top;
}
/* -----------------------------------------------------------------------------
                            Table of Contents Rules
----------------------------------------------------------------------------- */
/* Allow limiting of which header levels are shown in a TOC;
  <div class="toclimit-3">, for instance, will limit to
  showing ==headings== and ===headings=== but no further
  (as long as there are no =headings= on the page, which
  there shouldn't be according to the MoS).
*/
.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;
}
.overview_toc .toctitle {
  width: 103%;
  margin-left: -1.5%;
  border-bottom: 1px solid rgba(160, 160, 160, .4);
  font-weight: 600;
  font-size: 20px;
}
.overview_toc .toctogglespan {
  font-weight: 300 !important;
  font-size: 14px !important;
}
.overview_toc .toc>ul {
  column-count: 2;
  -moz-column-count: 2;
  -webkit-column-count: 2;
  line-height: 1.6;
  padding: 10px 0px 0px 35px;
}
.overview_toc .toc {
  display: block;
  border: unset;
  background-color: unset;
  padding: -4px;
}
.strategy_toc .toctitle {
  width: 103%;
  margin-left: -1.5%;
  border-bottom: 1px solid rgba(160, 160, 160, .4);
  font-weight: 600;
  font-size: 20px;
}
.strategy_toc .toctogglespan {
  font-weight: 300 !important;
  font-size: 14px !important;
}
@media screen and (max-width: 899px) {
  .strategy_toc .toc>ul {
    column-count: 2;
    -moz-column-count: 2;
    -webkit-column-count: 2;
    line-height: 1.6;
    padding: 10px 0px 0px 35px;
  }
}
@media screen and (min-width: 900px) {
  .strategy_toc .toc>ul {
    column-count: 4;
    -moz-column-count: 4;
    -webkit-column-count: 4;
    line-height: 1.6;
    padding: 10px 0px 0px 35px;
  }
}
.strategy_toc .toc {
  display: block;
  border: unset;
  background-color: unset;
  padding: -4px;
}
}


/* -----------------------------------------------------------------------------
                                  Tabber Rules
----------------------------------------------------------------------------- */
.tabber .tabbertab {
  border: none;
  padding: 0;
}
ul.tabbernav {
  margin: 0;
  padding: 3px 0;
  border: 0;
  font: bold 14px 'Roboto', sans-serif !important;
}
ul.tabbernav li a {
  border-top-left-radius: 4px !important;
  border-top-right-radius: 4px !important;
  padding: 3px .5em;
  margin-left: 3px;
  border: 1px solid #CCC;
  /* background: #F2F7FF; */
  text-decoration: none;
  line-height: 1;
}
ul.tabbernav li.tabberactive a {
  background-color: #FFF;
  border: 1px solid #7ec0ee !important;
}
ul.tabbernav li.tabberactive a:hover {
  color: #000;
  background: #FFF;
  border: 1px solid #7ec0ee !important;
}
/* Prevents tabber contents from showing up for a few frames before the script executes */
.tabber:not(.tabberlive)>.tabbertab:not(:first-child) {
  display: none;
}
/* -----------------------------------------------------------------------------
/* -----------------------------------------------------------------------------
                               Flex Rules
                               Flex Rules
Line 1,029: Line 836:
}
}
.attack-info h4 { padding: 0; margin: 0; }
.attack-info h4 { padding: 0; margin: 0; }
/* -----------------------------------------------------------------------------
                        Character Link Button styling
----------------------------------------------------------------------------- */
/* Remove external link icon from external links and adjust their padding
Replace this styling with a more localized solution in the future */


a .external .text {
  background-image: none;
  padding-right: 0px;
}
.addShadow {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}
/* -----------------------------------------------------------------------------
/* -----------------------------------------------------------------------------
                         Cargo Based Move Boxes Styling
                         Cargo Based Move Boxes Styling
Line 1,205: Line 999:
   background:#fff !important;
   background:#fff !important;
}
}
.WikiLinksButton {
    margin: 4px 1px;
    text-align: center;
    max-width: 155px;
    min-width: 75px;
    border: 1px solid #aaa29f;
    padding: 2px 4px;
    border-radius: var(--SmallBorderCurve);
    text-decoration: none;
    font-weight: bold;
}
.WikiLinksButton:hover {
  transform: translateY(-1px);
  box-shadow: rgba(0, 0, 0, 0.1) 0 2px 6px;
}
.ClickArea {
  cursor: pointer;
}
#SMS_Image_Gallery { image-rendering: crisp-edges; }

Revision as of 22:58, 1 January 2023

/* 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;
}

/*------------- stuff to work around skin changes -------------*/
.sticky {
  position: -webkit-sticky; /* Safari */
  position: sticky;
  top: 0;
  z-index: 999;
}

.tabber__header, .tabber__section, .tabber__tabs {
  scroll-behavior: auto;
}

td.field_Character { text-align: left !important; }

@media (min-width: 900px) {
  .MoveCard-Container {  
    display: grid;
    grid-template-columns: 220px 1fr;
    grid-template-rows: auto auto;
    gap: 0px 0px;
    grid-auto-flow: row;
    grid-template-areas:
      "MoveCard-Gallery MoveCard-Data"
      "MoveCard-Gallery MoveCard-Body";
  }
}
@media (max-width: 900px) {
  .MoveCard-Container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    gap: 0px 0px;
    grid-auto-flow: row;
    grid-template-areas:
      "MoveCard-Gallery MoveCard-Gallery"
      "MoveCard-Data MoveCard-Data"
      "MoveCard-Body MoveCard-Body";
  }
}

.MoveCard-Gallery { grid-area: MoveCard-Gallery; }
.MoveCard-Data { grid-area: MoveCard-Data; overflow: auto; }
.MoveCard-Body { grid-area: MoveCard-Body; }
.MoveCard-Container {
  width: 100%;
  border-radius: var(--StandardBorderCurve);
  background-color: var(--White);
  box-shadow: var(--CardShadow);
}

.ForceInheritColor {color: inherit !important;}

/* Theory Box CSS Grid */
.TheoryBoxTitle {
  grid-area: TheoryBoxTitle;
  border-bottom: solid 1px #a2a9b1; 
}
.TheoryBoxDifficulty {
  grid-area: TheoryBoxDifficulty;
  text-align: right;
  font-size: 1.1em;
  line-height: 0.9em;
  font-weight: bold; 
}
.TheoryBoxContent {
  grid-area: TheoryBoxContent; 
}
.TheoryBoxVidArea {
  grid-area: TheoryBoxVidArea; 
  text-align: center;
  padding-top: 10px;
}

@media screen and (min-width: 900px) {
  .TheoryBoxContainer {
    display: grid;
    grid-template-columns: 1fr 300px;
    grid-template-rows: auto auto;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
  
    grid-template-areas:
      "TheoryBoxTitle TheoryBoxDifficulty"
      "TheoryBoxContent TheoryBoxVidArea";
  
    padding: 10px 10px 5px 15px;
    max-width: 1500px;
  }
  .TheoryBoxContent {
    padding-right: 3em;
  }
}
@media screen and (max-width: 899px) {
.TheoryBoxContainer {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: repeat(3, auto);
  grid-column-gap: 0px;
  grid-row-gap: 0px;

  grid-template-areas:
    "TheoryBoxTitle TheoryBoxDifficulty"
    "TheoryBoxVidArea TheoryBoxVidArea"
    "TheoryBoxContent TheoryBoxContent";

  padding: 10px;
  max-width: 1500px;
}
}

.TheoryBoxVideo {
  overflow: hidden;
  border-radius: 10px;
  line-height: 0px;
  text-align: center;
}

.responsive-imagemap img { width: 100%; height: auto; }
.responsive-img img { width: 100%; height: auto; }
.responsiveImg2 img { width: auto; height: 100%; }

.frame-data-test {
  width: 10px;
  height: 10px;
  display: inline-block;
  margin-left: 1px;
  margin-right: 1px;
  vertical-align: middle;
}

.frame-data-startup,
.frame-data-active,
.frame-data-inactive,
.frame-data-recovery,
.frame-data-specialRecovery {
  width: 10px;
  height: 10px;
  display: inline-block;
  margin-left: 1px;
  margin-right: 1px;
  vertical-align: middle;
}

.frame-data-startup {
  background-color: #36B37E;
}

.frame-data-active {
  background-color: #FF5D5D;
}

.frame-data-inactive {
  background-color: gray;
}

.frame-data-recovery {
  background-color: #0069B6;
}
.frame-data-specialRecovery {
        background-color: #db69cf;
}

.frame-data-frc {
  border-bottom: 4px solid #e9d704;
}

.spawn-projectile {
  width: 3px;
  height: 14px;
  display: inline-block;
  margin-left: -1px;
  margin-right: 1px;
  vertical-align: middle;
  background-color: red;
}

.additional-data-section span.mw-collapsible-toggle {
  padding-bottom: 3px;
}

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

table.cargoDynamicTable tfoot {
  display: none;
}

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

/* -----------------------------------------------------------------------------
                            Footer Nav Rules
----------------------------------------------------------------------------- */

.footNav {
  box-sizing: border-box;
  display: grid;
  grid-auto-rows: auto;
  gap: 0px 0px;
  border-radius: var(--StandardBorderCurve);
  box-shadow: var(--CardShadow);
  grid-template-areas: "." "." "." "." ".";
}
.footNavHeader {
  text-align: center;
  color: var(--White);
  margin: 8px;
  padding: 2px;
}
.footNavFlex {
  display: flex;
  flex: 1 1 0px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin: 0.25em 1% 0px 1%;
  padding-bottom: 1em;
}
.footNavFlex div {
  margin: 4px 10px 4px 10px;
}
/* -----------------------------------------------------------------------------
                            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(--CardShadow);
    border-radius: var(--StandardBorderCurve);
    font-size: 12px;
    background-color: #f4f4f2;
    max-width: fit-content;
  }
}
@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(--CardShadow);
    border-radius: var(--StandardBorderCurve);
    font-size: 12px;
    background-color: #f4f4f2;
    width: 100%;
  }
}
.tierHeader {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1em 0;
  font-size: 14px;
  font-weight: 600;
  border-right: 2px solid #1a1a17;
}
.tierGroup {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
}
.tierUnderline {
  border-bottom: 2px solid #1a1a17;
}
.generalUnderline {
  border-bottom: 1px solid rgba(160, 160, 160, .4);
}
.tierGroup>div {
  margin: 4px 10px;
}
.CharaInfoLabel {
  text-align: right;
  width: 50%;
  vertical-align: text-top;
}

/* -----------------------------------------------------------------------------
                               Flex Rules
----------------------------------------------------------------------------- */

.fp-button {
  border-radius: var(--StandardBorderCurve);
  background: none;
  border: 2px solid #2e2d2d;
  cursor: pointer;
  padding: 0.5em 0.75em;
  font-weight: 700;
  font-size: 14px;
  color: var(--White);
  display: inline-block;
  transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
}
.fp-button:hover {
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.12), 0 1px 5px rgba(0, 0, 0, 0.24);
}
.fpcontent {
  width: 100%;
  display: inline-block;
  overflow: visible !important;
  z-index: 1;
}
.fpbox {
  box-shadow: var(--CardShadow);
  margin: 0px 10px 20px 10px;
  padding: 2px;
  border-radius: var(--StandardBorderCurve);
}
.fpbox .heading {
  border-bottom: 1px solid rgba(160, 160, 160, .4);
  margin: 0 0 10px 0;
  padding: 0 0 5px 0;
  font-weight: 600;
  text-align: center;
  font-size: 22px;
}
.fpbox .heading .smalllink {
  font-weight: 500;
}
.fpbox hr {
  border: none;
  border-bottom: 1px solid rgba(160, 160, 160, .4);
}
.fplinks {
  margin: -5px;
}
.fpvideos {
  margin: 0 auto;
  overflow: hidden;
  text-align: center;
}
.fpvideo {
  display: inline-block;
  margin: 0 5px;
}
.fplinks .linkslabel {
  background: rgba(0, 0, 0, 0);
  border-bottom: 2px solid #454545;
  margin: 15px 5px 5px 5px;
  padding: 0 0 5px 0;
}
.fplink {
  display: inline-block;
  vertical-align: middle;
  width: 100%;
  font-size: 14px;
  font-weight: 500;
}
.fplink:hover {
  transform: translateY(-1px);
}
.fplink a {
  color: black;
}
.fplink a.external {
  color: black;
}
.fplink a.external:visited {
  color: black;
}
.fplink a:visited {
  color: black;
}
/* 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 */

.fplink .box {
  border-collapse: separate;
  border-spacing: 5px;
  display: table;
  width: 100%;
}
.fplink .box .row {
  display: table-row;
}
.fplink .box .row .cell {
  border: 1px solid #1976d2;
  color: black;
  border-radius: var(--StandardBorderCurve);
  display: table-cell;
  padding: 0 6px;
  position: relative;
  text-align: center;
  vertical-align: middle;
}
.fplink.wide .box .row .cell {
  padding: 0 5px;
}
#fptopsection .fplink.image, #fpflexsection .fplink.image, #fpbottomsection .fplink.image {
  height: 114px;
  width: 114px;
}
.fplink.image .box .row .cell {
  height: 100px;
  width: 100px;
  vertical-align: bottom;
}
.fplink.image .box .row .cell .image img {
  height: 100px;
  width: 100px;
}
@media (min-width: 470px) {
  .fplink {
    width: 50%;
  }
  .fplink.wide {
    width: 100%;
  }
}
@media (min-width: 580px) {
  .fplink {
    width: 33.333%;
  }
  .fplink.wide {
    width: 66.666%;
  }
}
@media (min-width: 690px) {
  .fplink {
    width: 25%;
  }
  .fplink.wide {
    width: 50%;
  }
}
@media (min-width: 800px) {
  .fplink {
    width: 20%;
  }
  .fplink.wide {
    width: 40%;
  }
}
@media (min-width: 910px) {
  .fplink {
    width: 16.666%;
  }
  .fplink.wide {
    width: 33.333%;
  }
}
@media (min-width: 990px) {
  .fpcontent {
    padding-right: 520px;
    width: calc(100% - 530px);
  }
  #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) {
  #fptopsection .fplink, #fpbottomsection .fplink {
    width: 33.333%;
  }
  #fptopsection .fplink.wide, #fpbottomsection .fplink.wide {
    width: 66.666%;
  }
}
@media (min-width: 1210px) {
  #fptopsection .fplink, #fpbottomsection .fplink {
    width: 25%;
  }
  #fptopsection .fplink.wide, #fpbottomsection .fplink.wide {
    width: 50%;
  }
}
@media (min-width: 1320px) {
  #fptopsection .fplink, #fpbottomsection .fplink {
    width: 20%;
  }
  #fptopsection .fplink.wide, #fpbottomsection .fplink.wide {
    width: 40%;
  }
}
@media (min-width: 1430px) {
  #fptopsection .fplink, #fpbottomsection .fplink {
    width: 16.666%;
  }
  #fptopsection .fplink.wide, #fpbottomsection .fplink.wide {
    width: 33.333%;
  }
  .fplink a {
    padding: 3px 5px;
    color: black;
  }
  .fplink a:visited {
    color: black;
  }
  .fplink a.external {
    color: black;
  }
  .fplink a.external:visited {
    color: black;
  }
}
@media (min-width: 1540px) {
  #fptopsection .fplink, #fpbottomsection .fplink {
    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) {
  #fptopsection .fplink, #fpbottomsection .fplink {
    width: 12.5%;
  }
  #fptopsection .fplink.wide, #fpbottomsection .fplink.wide {
    width: 25%;
  }
}
@media (min-width: 1697px) {
  #fptopsection .fpmaybelcol .fplink, #fpbottomsection .fpmaybelcol .fplink {
    width: 16.666%;
  }
  #fptopsection .fpmaybelcol .fplink.wide, #fpbottomsection .fpmaybelcol .fplink.wide {
    width: 33.333%;
  }
}
@media (min-width: 1760px) {
  #fptopsection .fplink, #fpbottomsection .fplink {
    width: 11.111%;
  }
  #fptopsection .fplink.wide, #fpbottomsection .fplink.wide {
    width: 22.222%;
  }
}
@media (min-width: 1850px) {
  #fptopsection .fpmaybelcol .fplink, #fpbottomsection .fpmaybelcol .fplink {
    width: 14.285%;
  }
  #fptopsection .fpmaybelcol .fplink.wide, #fpbottomsection .fpmaybelcol .fplink.wide {
    width: 28.571%;
  }
}
@media (min-width: 1870px) {
  #fptopsection .fplink, #fpbottomsection .fplink {
    width: 10%;
  }
  #fptopsection .fplink.wide, #fpbottomsection .fplink.wide {
    width: 20%;
  }
  #fptopsection .fplink.image, #fpbottomsection .fplink.image {
    width: 134px;
    height: 134px;
  }
  #fptopsection .fplink.image .box .row .cell, #fpbottomsection .fplink.image .box .row .cell {
    width: 120px;
    height: 120px;
  }
  #fptopsection .fplink.image .box .row .cell .image img, #fpbottomsection .fplink.image .box .row .cell .image img {
    width: 120px;
    height: 120px;
  }
}
@media (min-width: 1918px) {
  #fptopsection .fpmaybercol .fplink, #fpbottomsection .fpmaybercol .fplink {
    width: 33.333%;
  }
  #fptopsection .fpmaybercol .fplink.wide, #fpbottomsection .fpmaybercol .fplink.wide {
    width: 66.666%;
  }
}
@media (min-width: 1980px) {
  #fptopsection .fplink, #fpbottomsection .fplink {
    width: 9.09%;
  }
  #fptopsection .fplink.wide, #fpbottomsection .fplink.wide {
    width: 18.181%;
  }
}
@media (min-width: 2006px) {
  #fptopsection .fpmaybelcol .fplink, #fpbottomsection .fpmaybelcol .fplink {
    width: 12.5%;
  }
  #fptopsection .fpmaybelcol .fplink.wide, #fpbottomsection .fpmaybelcol .fplink.wide {
    width: 25%;
  }
}
@media (min-width: 2090px) {
  #fptopsection .fplink, #fpbottomsection .fplink {
    width: 8.33%;
  }
  #fptopsection .fplink.wide, #fpbottomsection .fplink.wide {
    width: 16.666%;
  }
}
@media (min-width: 2161px) {
  #fptopsection .fpmaybelcol .fplink, #fpbottomsection .fpmaybelcol .fplink {
    width: 11.111%;
  }
  #fptopsection .fpmaybelcol .fplink.wide, #fpbottomsection .fpmaybelcol .fplink.wide {
    width: 22.222%;
  }
}
@media (min-width: 2200px) {
  #fptopsection .fplink, #fpbottomsection .fplink {
    width: 7.692%;
  }
  #fptopsection .fplink.wide, #fpbottomsection .fplink.wide {
    width: 15.384%;
  }
}
@media (min-width: 2296px) {
  #fptopsection .fpmaybercol .fplink, #fpbottomsection .fpmaybercol .fplink {
    width: 25%;
  }
  #fptopsection .fpmaybercol .fplink.wide, #fpbottomsection .fpmaybercol .fplink.wide {
    width: 50%;
  }
}
@media (min-width: 2310px) {
  #fptopsection .fplink, #fpbottomsection .fplink {
    width: 7.142%;
  }
  #fptopsection .fplink.wide, #fpbottomsection .fplink.wide {
    width: 14.285%;
  }
}
@media (min-width: 2316px) {
  #fptopsection .fpmaybelcol .fplink, #fpbottomsection .fpmaybelcol .fplink {
    width: 10%;
  }
  #fptopsection .fpmaybelcol .fplink.wide, #fpbottomsection .fpmaybelcol .fplink.wide {
    width: 20%;
  }
}
@media (min-width: 2420px) {
  #fptopsection .fplink, #fpbottomsection .fplink {
    width: 6.666%;
  }
  #fptopsection .fplink.wide, #fpbottomsection .fplink.wide {
    width: 13.333%;
  }
  .fplink a {
    padding: 5px 5px;
  }
  #fptopsection .fplink.image, #fpbottomsection .fplink.image {
    width: 164px;
    height: 164px;
  }
  #fptopsection .fplink.image .box .row .cell, #fpbottomsection .fplink.image .box .row .cell {
    width: 150px;
    height: 150px;
  }
  #fptopsection .fplink.image .box .row .cell .image img, #fpbottomsection .fplink.image .box .row .cell .image img {
    width: 150px;
    height: 150px;
  }
}
.fplink.image .image {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
}
.fplink.image a {
  z-index: 2;
}
.fplink a {
  display: block;
  position: relative;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 1px 5px;
}
.fplink.image .image a {
  padding: 0;
}
.fplink.image .link a {
  background: #f5f5f5;
  border-top: 2px solid #454545;
}
.fplink.wide a {
  margin: 0 -5px;
}
/* -----------------------------------------------------------------------------
                            ColumnList Specific Rules
----------------------------------------------------------------------------- */

.columns2 {
  -webkit-columns: 16em 2;
  -moz-columns: 16em 2;
  columns: 16em 2;
}
/* -----------------------------------------------------------------------------
                            MoveData Specific Rules
----------------------------------------------------------------------------- */

div.movedata {
  border-radius: var(--StandardBorderCurve);
  border: none;
  box-shadow: var(--CardShadow);
  border-collapse: collapse;
  margin: 0em;
}
div.movedata>table.movedata {
  width: 100%;
  text-align: center;
  margin: 0.2em 0;
}
div.movedata > p {
  padding-left: 0.5em;
  padding-right: 0.5em;
  padding-bottom: 0.5em;
}
div.movedata>dl {
  padding-left: 0.5em;
  padding-right: 0.5em;
}
div.movedata>.thumb>.thumbinner>.image>.thumbimage {
  background-color: #f8f9fa;
}
/* -------------------------
Flex Attack Data styling
------------------------- */
/* Hide the sortable on tables contained within movecards */
.attack-container table.cargoTable thead th {
  padding-right: 0px;
  background-image: none;
  cursor: initial;
  pointer-events: none;
}

.attack-info > table td { vertical-align: middle; }
.attack-data table { line-height: 1.1em; }
@media (min-width: 990px) {
  .attack-container {
    width: auto;
  }
  .attack-gallery {
    float: left;
    width: 220px;
  }
  .attack-info {
    margin-left: 220px;
    margin-top: 0;
  }
}
.input-badge {
  border: 1px solid #2e2d2d;
  border-radius: var(--StandardBorderCurve);
  padding: .25em .35em;
}
.attack-container {
  width: 98%;
  display: inline-block;
  overflow: visible !important;
  z-index: 1;
  border-radius: var(--StandardBorderCurve);
  border: none;
  box-shadow: var(--CardShadow);
  border-collapse: collapse;
}
.attack-gallery ul.gallery {
  margin: 0;
}
.attack-gallery * .gallerytext p {
  margin: 0;
  text-align: center;
}
.attack-data { width: 100%; text-align: center; margin: 0; }
.attack-data table {
  border: none;
  border-collapse: collapse;
  overflow: auto;
}
.attack-info p, attack-info dl {
  padding: 0 1em 0 0.5em;
}
.attack-info h4 { padding: 0; margin: 0; }

/* -----------------------------------------------------------------------------
                        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: rgb(72, 78, 81) 0px -1px 0px 0px inset;
  background: #f9f9f9;
}

.movelist-toggle-button {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    color: #54595d;
    font-weight: bold;
    scroll-snap-align: start;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}
.movelist-toggle-button:hover {
    box-shadow: inset 0 -2px 0 0 #447ff5;
    color: #447ff5;
}

.movelist-toggle-on {
  box-shadow: rgb(41, 82, 163) 0px -2px 0px 0px inset;
  color: rgb(92, 152, 214);
}
.movelist-toggle-on:hover {
  box-shadow: rgb(9, 59, 161) 0px -2px 0px 0px inset;
  color: rgb(76, 159, 245);
}

@media all and (max-width: 720px) {
    .mod-gallery {
    width:100% !important;
  }
}
.mod-gallery {
  display:table;
}
.mod-gallery-default {
  background:transparent;
  margin-top:.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;
  text-align:center;
  font-weight:bold;
}
.mod-gallery .main>div {
  display:table-cell;
}
.mod-gallery .gallerytext {
  line-height:1.35em;
}
.mod-gallery .footer>div {
  display:table-cell;
  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 .gallerybox .thumb {
  border:none !important;
}
.mod-gallery .bordered-images .thumb img {
  border:solid #eaecf0 1px;
}
.mod-gallery .whitebg .thumb {
  background:#fff !important;
}