MediaWiki:Common.css

From Inkipedia, the Splatoon wiki
Revision as of 13:59, 30 August 2022 by GuyPerfect (talk | contribs) (Adding styles for Switch icons that inherit light/dark color preferences)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* CSS placed here will be applied to all skins */

/* Causes [[MediaWiki:Tagline]] to display */
.mw-body #siteSub {
  display: block;
}

/* Enable custom list style types */
div.note-list ol.references {
  list-style-type: inherit;
}

/* Prevent list items in columns from breaking into the next column */
.list-columns li {
page-break-inside: avoid;
}

/* 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. */
.toclimit-2 .toclevel-1 ul,
.toclimit-3 .toclevel-2 ul,
.toclimit-4 .toclevel-3 ul,
.toclimit-5 .toclevel-4 ul {
  display: none;
}

/* Prevents some things from displaying on the main page */
body.page-Main_Page #ca-delete, body.page-Main_Page #ca-move, body.page-Main_Page #deleteconfirm, body.page-Main_Page #siteSub, body.page-Main_Page #contentSub, body.page-Main_Page h1.firstHeading {
  display: none !important;
}

/* For things that should only appear when printed. Used in gear checklists. */
.onlyprint {
  display: none;
}

/*==================================================
  LINKS
==================================================*/

/* Links' color */
a:link, a:active, div#mw-panel a:link, div.vector-menu-content li a:link, div.vector-menu-content ul.vector-menu-content-list li.selected a:link {
  text-decoration: none;
  color: #378B00;
}

/* Visited links' color */
a:visited, div#mw-panel a:visited, div.vector-menu-content li a:visited, div.vector-menu-content ul.vector-menu-content-list li.selected a:visited {
  text-decoration: none;
  color: #008B2A;
}

/* Underline links when hovering over */
a:hover {
  text-decoration: underline;
}

/* NIWA affiliate color */
a[href="/wiki/User:Raltseye"], a[href="/wiki/User:Espyo"] {
  color: #319471;
}

/* Admin link color */
a[href="/wiki/User:GuyPerfect"], a[href="/wiki/User:SuperHamster"], a[href="/wiki/User:Shahar"], a[href="/wiki/User:Luke26"], a[href="/wiki/User:Heddy"], a[href="/wiki/User:Inkrid"], a[href="/wiki/User:GloverMist"], a[href="/wiki/User:Fumple"] {
  color: #006400;
  font-weight: 700;
}

/* Bureaucrat link color */
a[href="/wiki/User:Slate"], a[href="/wiki/User:Prod"] {
  color: #DAA520;
  font-weight: 700;
}

/* Non-existent page link color */
div.vector-menu-content li.new a, div.vector-menu-content li.new a:visited, div.vector-menu-content li.new a, div.vector-menu-content li.new, a.new, #p-personal a.new, a.new {
  text-decoration: none;
  color: #BA0000;  /* Red */
}

/* Styling links to ARMS Institute */
#bodyContent a[href^="https://armswiki.org"] {
  background: url("//cdn.wikimg.net/en/splatoonwiki/images/9/92/ARMS_Institute_favicon.png") no-repeat scroll right center transparent;
  padding-right: 18px;
}

/* Styling links to Bulbapedia */
#bodyContent a[href^="https://bulbapedia.bulbagarden.net/wiki"] {
  background: url("//cdn.wikimg.net/en/splatoonwiki/images/7/75/Bulbapedia_favicon.png") no-repeat scroll right center transparent;
  padding-right: 18px;
}

/* Styling links to Donkey Kong Wiki */
#bodyContent a[href^="https://www.dkwiki.com"] {
  background: url("//cdn.wikimg.net/en/splatoonwiki/images/2/29/Donkey_Kong_Wiki_link.png") no-repeat scroll right center transparent;
  padding-right: 18px;
}

/* Styling links to Dragalia Lost Wiki */
#bodyContent a[href^="https://dragalialost.wiki"] {
  background: url("//cdn.wikimg.net/en/splatoonwiki/images/b/b6/Dragalia_Lost_Wiki_favicon.png") no-repeat scroll right center transparent;
  padding-right: 18px;
}

/* Styling links to Dragon Quest Wiki*/
#bodyContent a[href^="https://dragon-quest.org/wiki"] {
  background: url("//cdn.wikimg.net/en/splatoonwiki/images/9/96/Dragon_Quest_Wiki_favicon.png") no-repeat scroll right center transparent;
  padding-right: 18px;
}

/* Styling links to Fire Emblem Wiki */
#bodyContent a[href^="https://fireemblemwiki.org"] {
  background: url("//cdn.wikimg.net/en/splatoonwiki/images/c/cb/Fire_Emblem_Wiki_favicon.png") no-repeat scroll right center transparent;
  padding-right: 18px;
}

/* Styling links to F-Zero Wiki */
#bodyContent a[href^="http://mutecity.org/wiki"] {
  background: url("//cdn.wikimg.net/en/splatoonwiki/images/0/0e/F-Zero_Wiki_favicon.png") no-repeat scroll right center transparent;
  padding-right: 18px;
}

/* Styling links to Golden Sun Universe */
#bodyContent a[href^="https://goldensunwiki.net/wiki"] {
  background: url("//cdn.wikimg.net/en/splatoonwiki/images/0/0c/Golden_Sun_Universe_favicon.png") no-repeat scroll right center transparent;
  padding-right: 18px;
}

/* Styling links to Hard Drop Wiki */
#bodyContent a[href^="https://harddrop.com/wiki"] {
  background: url("//cdn.wikimg.net/en/splatoonwiki/images/4/48/Hard_Drop_Wiki_favicon.png") no-repeat scroll right center transparent;
  padding-right: 18px;
}

/* Styling links to Icaruspedia */
#bodyContent a[href^="https://kidicaruswiki.org"] {
  background: url("//cdn.wikimg.net/en/splatoonwiki/images/4/4d/Icaruspedia_favicon.png") no-repeat scroll right center transparent;
  padding-right: 18px;
}

/* Styling links to Lylat Wiki */
#bodyContent a[href^="https://www.starfoxwiki.info/wiki"] {
  background: url("//cdn.wikimg.net/en/splatoonwiki/images/b/ba/Lylat_Wiki_favicon.png") no-repeat scroll right center transparent;
  padding-right: 18px;
}

/* Styling links to Metroid Wiki */
#bodyContent a[href^="https://www.metroidwiki.org"] {
  background: url("//cdn.wikimg.net/en/splatoonwiki/images/0/0a/Metroid_Wiki_favicon.png") no-repeat scroll right center transparent;
  padding-right: 18px;
}

/* Styling links to NintendoWiki */
#bodyContent a[href^="http://niwanetwork.org/wiki"] {
  background: url("//cdn.wikimg.net/en/splatoonwiki/images/a/a9/NWiki_favicon.png") no-repeat scroll right center transparent;
  padding-right: 18px;
}

/* Styling links to Nookipedia */
#bodyContent a[href^="https://nookipedia.com"] {
  background: url("//cdn.wikimg.net/en/splatoonwiki/images/f/f7/Nookipedia_favicon.png") no-repeat scroll right center transparent;
  padding-right: 18px;
}

/* Styling links to Pikipedia */
#bodyContent a[href^="https://www.pikminwiki.com"] {
  background: url("//cdn.wikimg.net/en/splatoonwiki/images/4/4e/Pikipedia_favicon.png") no-repeat scroll right center transparent;
  padding-right: 18px;
}

/* Styling links to Pikmin Fanon */
#bodyContent a[href^="https://www.pikminfanon.com"] {
  background: url("//cdn.wikimg.net/en/splatoonwiki/images/1/11/Pikmin_Fanon_favicon.png") no-repeat scroll right center transparent;
  padding-right: 18px;
}

/* Styling links to SmashWiki */
#bodyContent a[href^="https://www.ssbwiki.com"] {
  background: url("//cdn.wikimg.net/en/splatoonwiki/images/7/78/Smash_Wiki_favicon.png") no-repeat scroll right center transparent;
  padding-right: 18px;
}

/* Styling links to Starfy Wiki */
#bodyContent a[href^="https://starfywiki.org"] {
  background: url("//cdn.wikimg.net/en/splatoonwiki/images/4/41/Starfy_Wiki_favicon.png") no-repeat scroll right center transparent;
  padding-right: 18px;
}

/* Styling links to StrategyWiki */
#bodyContent a[href^="https://strategywiki.org"] {
  background: url("//cdn.wikimg.net/en/splatoonwiki/images/9/9f/StrategyWiki_favicon.png") no-repeat scroll right center transparent;
  padding-right: 18px;
}

/* Styling links to Super Mario Wiki */
#bodyContent a[href^="https://www.mariowiki.com"] {
  background: url("//cdn.wikimg.net/en/splatoonwiki/images/c/ca/Super_Mario_Wiki_favicon.png") no-repeat scroll right center transparent;
  padding-right: 18px;
}

/* Styling links to Ukikipedia */
#bodyContent a[href^="https://ukikipedia.net/wiki"] {
  background: url("//cdn.wikimg.net/en/splatoonwiki/images/c/c8/Ukikipedia_favicon.png") no-repeat scroll right center transparent;
  padding-right: 18px;
}

/* Styling links to Wars Wiki */
#bodyContent a[href^="https://warswiki.org/wiki"] {
  background: url("//cdn.wikimg.net/en/splatoonwiki/images/c/ca/Wars_Wiki_favicon.png") no-repeat scroll right center transparent;
  padding-right: 18px;
}

/* Styling links to WikiBound */
#bodyContent a[href^="https://wikibound.info/wiki"] {
  background: url("//cdn.wikimg.net/en/splatoonwiki/images/d/dd/WikiBound_favicon.png") no-repeat scroll right center transparent;
  padding-right: 18px;
}

/* Styling links to WiKirby */
#bodyContent a[href^="https://wikirby.com/wiki"] {
  background: url("//cdn.wikimg.net/en/splatoonwiki/images/4/4a/Wikirby_favicon.png") no-repeat scroll right center transparent;
  padding-right: 18px;
}

/* Styling links to Zelda Wiki */
#bodyContent a[href^="https://zelda.gamepedia.com"] {
  background: url("//cdn.wikimg.net/en/splatoonwiki/images/8/87/Zelda_Wiki_favicon.png") no-repeat scroll right center transparent;
  padding-right: 18px;
}

/* Styling links to Xeno Series Wiki */
#bodyContent a[href^="https://xenoserieswiki.org"] {
  background: url("//cdn.wikimg.net/en/splatoonwiki/images/a/a8/Xeno_Series_Wiki_favicon.png") no-repeat scroll right center transparent;
  padding-right: 18px;
}

/*==================================================
  INPUT
==================================================*/

/* text input */
.oo-ui-textInputWidget.oo-ui-widget-enabled:hover .oo-ui-inputWidget-input:focus {
  border-color: #008B2A;
}
.oo-ui-textInputWidget.oo-ui-widget-enabled .oo-ui-inputWidget-input:focus {
  border-color: #008B2A;
  box-shadow:inset 0 0 0 1px #008B2A;
}

/* dropdown menu */
.oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle:focus {
  border-color: #008B2A;
  box-shadow:inset 0 0 0 1px #008B2A;
}
.oo-ui-menuOptionWidget.oo-ui-optionWidget-selected {
 background-color: #EBFFEC;
 color: #008B2A;
}
.oo-ui-menuOptionWidget.oo-ui-optionWidget-selected.oo-ui-menuOptionWidget.oo-ui-optionWidget-highlighted,
.oo-ui-menuOptionWidget.oo-ui-optionWidget-pressed.oo-ui-menuOptionWidget.oo-ui-optionWidget-highlighted {
 background-color: rgba(0,139,42,0.1);
 color: #008B2A;
}

/* primary button */
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button {
  background-color: #008B2A;
  border-color: #008B2A;
}
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover {
  background-color: #378B00;
  border-color: #378B00;
}
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:active,
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:active:focus,
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive.oo-ui-buttonElement-pressed > .oo-ui-buttonElement-button,
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive.oo-ui-buttonElement-active > .oo-ui-buttonElement-button,
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive.oo-ui-popupToolGroup-active > .oo-ui-buttonElement-button {
  background-color: #006400;
  border-color: #006400;
}
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:focus {
  border-color: #008B2A;
  box-shadow:inset 0 0 0 1px #008B2A,inset 0 0 0 2px #fff;
}

/* secondary button */
.oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button:focus {
  border-color: #008B2A;
  box-shadow:inset 0 0 0 1px #008B2A;
}

/* recent changes buttons */
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-buttonElement-active > .oo-ui-buttonElement-button {
  background-color: #006400;
  border-color: #006400;
}
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-buttonElement-active > .oo-ui-buttonElement-button:focus {
  border-color: #008B2A;
  box-shadow: inset 0 0 0 1px #008B2A, inset 0 0 0 2px #fff
}

/* checkbox */
.oo-ui-checkboxInputWidget.oo-ui-widget-enabled [type='checkbox']:focus + span {
  border-color: #008B2A;
  box-shadow:inset 0 0 0 1px #008B2A;
}
.oo-ui-checkboxInputWidget.oo-ui-widget-enabled [type='checkbox']:hover + span {
  border-color: #378B00;
}
.oo-ui-checkboxInputWidget.oo-ui-widget-enabled [type='checkbox']:active + span {
  background-color: #006400;
  border-color: #006400;
  box-shadow:inset 0 0 0 1px #006400;
}
.oo-ui-checkboxInputWidget.oo-ui-widget-enabled [type='checkbox']:checked + span,
.oo-ui-checkboxInputWidget.oo-ui-widget-enabled [type='checkbox']:indeterminate + span {
  background-color: #008B2A;
  border-color: #008B2A;
}
.oo-ui-checkboxInputWidget.oo-ui-widget-enabled [type='checkbox']:checked:focus + span,
.oo-ui-checkboxInputWidget.oo-ui-widget-enabled [type='checkbox']:indeterminate:focus + span {
  background-color: #008B2A;
  border-color: #008B2A;
  box-shadow:inset 0 0 0 1px #36c,inset 0 0 0 2px #008B2A;
}
.oo-ui-checkboxInputWidget.oo-ui-widget-enabled [type='checkbox']:checked:hover + span,
.oo-ui-checkboxInputWidget.oo-ui-widget-enabled [type='checkbox']:indeterminate:hover + span {
  background-color: #378B00;
  border-color: #378B00;
}
.oo-ui-checkboxInputWidget.oo-ui-widget-enabled [type='checkbox']:checked:active + span,
.oo-ui-checkboxInputWidget.oo-ui-widget-enabled [type='checkbox']:indeterminate:active + span {
  background-color: #006400;
  border-color: #006400;
  box-shadow:inset 0 0 0 1px #006400;
}

/* radio button */
.oo-ui-radioInputWidget.oo-ui-widget-enabled [type='radio']:hover + span {
 border-color: #378B00;
}
.oo-ui-radioInputWidget.oo-ui-widget-enabled [type='radio']:active + span {
 background-color: #006400;
 border-color: #006400;
}
.oo-ui-radioInputWidget.oo-ui-widget-enabled [type='radio']:checked + span {
 border-color: #008B2A;
}
.oo-ui-radioInputWidget.oo-ui-widget-enabled [type='radio']:checked:hover + span {
 border-color: #378B00;
}
.oo-ui-radioInputWidget.oo-ui-widget-enabled [type='radio']:checked:active + span {
 border-color: #006400;
 box-shadow: inset 0 0 0 1px #006400;
}
.oo-ui-radioInputWidget.oo-ui-widget-enabled [type='radio']:checked:active + span:before {
 border-color: #006400;
}

/*==================================================
  BOXES
==================================================*/

.widget {
  background-image: url("//cdn.wikimg.net/en/splatoonwiki/images/2/26/Amiibo_main_bg.png");
  box-shadow: 0px 0px 15px white inset;
  width: 25%;
  border-style: solid;
  border-color: #AADC00;
  border-radius: 10px;
  border-width: 10px 1px 10px 1px;
  padding: 15px;
  margin: 5px;
}

.widget1 {
  background-image: url("//cdn.wikimg.net/en/splatoonwiki/images/2/26/Amiibo_main_bg.png");
  box-shadow: 0px 0px 15px white inset;
  width: 75%;
  border-style: solid;
  border-color: #AADC00;
  border-radius: 10px;
  border-width: 10px 1px 10px 1px;
  padding: 15px;
  margin: 5px;
}

.widget2 {
  background-image: url("//cdn.wikimg.net/en/splatoonwiki/images/2/26/Amiibo_main_bg.png");
  box-shadow: 0px 0px 15px white inset;
  width: 100%;
  border-style: solid;
  border-color: #AADC00;
  border-radius: 10px;
  border-width: 10px 1px 10px 1px;
  padding: 15px;
  margin: 5px;
}

.widget3 {
  background-image: url("//cdn.wikimg.net/en/splatoonwiki/images/6/62/S2_Fes_Main_BG3.png");
  box-shadow: 0px 0px 25px black inset;
  overflow: hidden;
  width: 100%;
  border-style: solid;
  border-color: #13EB92;
  border-radius: 10px;
  border-width: 10px 1px 10px 1px;
  padding: 15px;
  margin: 5px;
}

.widget4 {
  background-image: url("//cdn.wikimg.net/en/splatoonwiki/images/2/26/Amiibo_main_bg.png");
  box-shadow: 0px 0px 15px white inset;
  width: 100%;
  border-style: solid;
  border-color: #FF8000;
  border-radius: 10px;
  border-width: 10px 1px 10px 1px;
  padding: 15px;
  margin: 5px;
}

.widget5 {
  background-image: url("//cdn.wikimg.net/en/splatoonwiki/images/2/26/Amiibo_main_bg.png");
  box-shadow: 0px 0px 15px white inset;
  width: 50%;
  border-style: solid;
  border-color: #AADC00;
  border-radius: 10px;
  border-width: 10px 1px 10px 1px;
  padding: 15px;
  margin: 5px;
}

.widget6 {
  background-image: url("//cdn.wikimg.net/en/splatoonwiki/images/2/26/Amiibo_main_bg.png");
  box-shadow: 0px 0px 15px white inset;
  width: 100%;
  border-style: solid;
  border-color: #424242;
  border-radius: 10px;
  border-width: 10px 1px 10px 1px;
  padding: 15px;
  margin: 5px;
}

.widgett {
  background-image: url("//cdn.wikimg.net/en/splatoonwiki/images/2/26/Amiibo_main_bg.png");
  box-shadow: 0px 0px 15px white inset;
  width: 97%;
  border-style: solid;
  border-color: #AADC00;
  border-radius: 10px;
  border-width: 10px 0 10px 0;
  position: relative;
  padding: 15px;
}

.btextwidget {
  background-color: rgba(255,255,255,0.5);
  border-color: rgba(255,255,255,0.7);
  border-style: solid;
  border-width: 2px;
  border-radius: 10px;
  text-align: center;
  font-size: 24px;
  font-weight: 600;
  position: relative;
}

#widcontent {
  justify-content: center;
  display: flex;
  display: -webkit-flex;
}

.textwidget, .cd {
  padding: 5px;
  background-color: rgba(255,255,255,0.5);
  border-color: rgba(255,255,255,0.7);
  border-style: solid;
  border-width: 2px;
  border-radius: 10px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

#tex2 {
  margin-left: 25%;
}

#widgfa {
  position: relative;
  left: 1.5%;
  max-width: 85%;
}

.infobox {
  background-color: rgba(140,220,0,0.1);
  width: 25%;
  border-radius: 10px;
  padding: 10px;
  border-style: solid;
  border-color: #AADC00;
  border-width: 10px 1px 10px 1px;
}

.infobox1 {
  background-color: rgba(140,220,0,0.3);
  border-style: solid;
  border-color: rgba(140,220,0,0.5);
  border-width: 1px 1px 1px 5px;
  border-radius: 5px;
  color: #190707;
  font-size: 115%;
  padding: 1em;
  margin: 5px;
}

.infobox td {
  padding: 5px;
}

  .infobox td b {
    padding: 6px;
    background: -moz-linear-gradient(left, rgba(140,220,0,0.3) 0%, rgba(140,220,0,0) 100%);
    background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(140,220,0,0.3)), color-stop(100%,rgba(140,220,0,0)));
    background: -webkit-linear-gradient(left, rgba(140,220,0,0.3) 0%,rgba(140,220,0,0) 100%);
    background: -o-linear-gradient(left, rgba(140,220,0,0.3) 0%,rgba(140,220,0,0) 100%);
    background: -ms-linear-gradient(left, rgba(140,220,0,0.3) 0%,rgba(140,220,0,0) 100%);
    background: linear-gradient(to right, rgba(140,220,0,0.3) 0%,rgba(140,220,0,0) 100%);
    border-style: solid;
    border-color: rgba(140,220,0,0.5);
    border-width: 1px 0 1px 5px;
    border-radius: 5px 0 0 5px;
  }

/*==================================================
  TABLES
==================================================*/

/* wikitable class for skinning tables. default colors are intended for mediawiki-generated tables, like the file history table. other color schemes are available for use in mainspace; see the sitecolor classes below. */
table.wikitable {
  background-color: #fff;
  color: #222;
  margin: 1em 0;
  border-style: solid;
  border-width: 5px 2px;
  border-color: #006400;  /* green */
  border-collapse: collapse;
  box-shadow: 0 0 1em rgba(0, 0, 0, 0.25);
}

table.wikitable > thead > tr > th,
table.wikitable > tbody > tr > th,
table.wikitable > tbody > tr > td {
  border-style: solid;
  border-width: 1px;
  border-color: #006400;
  padding: 0.2em 0.4em;
}

table.wikitable > thead > tr > th,
table.wikitable > tbody > tr > th {
  color: #fff;
  background-color: #378b00;  /* green, the same shade used for links */
}

table.wikitable > caption {
  font-weight: bold;
}

/* classes for adding site colors to tables 
   site colors are documented at [[Template:SiteColor]] */
table.sitecolor-generic,
table.sitecolor-generic > thead > tr > th,
table.sitecolor-generic > tbody > tr > th,
table.sitecolor-generic > tbody > tr > td {
  border-color: rgba(0, 153, 255, 1);  /* generic blue */
}

table.sitecolor-generic > thead > tr > th,
table.sitecolor-generic > tbody > tr > th {
  background-color: rgba(0, 153, 255, 0.25);
  color: #222;
}

table.sitecolor-s,
table.sitecolor-s > thead > tr > th,
table.sitecolor-s > tbody > tr > th,
table.sitecolor-s > tbody > tr > td {
  border-color: rgba(170, 220, 0, 1);  /* Splatoon green */
}

table.sitecolor-s > thead > tr > th,
table.sitecolor-s > tbody > tr > th {
  background-color: rgba(170, 220, 0, 0.25);
  color: #222;
}

table.sitecolor-s2,
table.sitecolor-s2 > thead > tr > th,
table.sitecolor-s2 > tbody > tr > th,
table.sitecolor-s2 > tbody > tr > td {
  border-color: rgba(240, 60, 120, 1);  /* Splatoon 2 pink */
}

table.sitecolor-s2 > thead > tr > th,
table.sitecolor-s2 > tbody > tr > th {
  background-color: rgba(240, 60, 120, 0.25);
  color: #222;
}

table.sitecolor-oe,
table.sitecolor-oe > thead > tr > th,
table.sitecolor-oe > tbody > tr > th,
table.sitecolor-oe > tbody > tr > td {
  border-color: rgba(174, 21, 102, 1);  /* Octo Expansion default ink color */
}

table.sitecolor-oe > thead > tr > th,
table.sitecolor-oe > tbody > tr > th {
  background-color: rgba(174, 21, 102, 0.25);
  color: #222;
}

table.sitecolor-s3,
table.sitecolor-s3 > thead > tr > th,
table.sitecolor-s3 > tbody > tr > th,
table.sitecolor-s3 > tbody > tr > td {
  border-color: rgba(235, 238, 61, 1);  /* Splatoon 3 yellow */
}

table.sitecolor-s3 > thead > tr > th,
table.sitecolor-s3 > tbody > tr > th {
  background-color: rgba(235, 238, 61, 0.25);
  color: #222;
}

table.sitecolor-niwa,
table.sitecolor-niwa > thead > tr > th,
table.sitecolor-niwa > tbody > tr > th,
table.sitecolor-niwa > tbody > tr > td {
  border-color: rgba(255, 128, 0, 1);  /* NIWA orange */
}

table.sitecolor-niwa > thead > tr > th,
table.sitecolor-niwa > tbody > tr > th {
  background-color: rgba(255, 128, 0, 0.25);
  color: #222;
}

/* alternates background colors for rows in zebra-classed tables 
   there are even and odd options to select which row changes color first */
table.sitecolor-generic.zebra-even > tbody > tr:nth-child(even) > td,
table.sitecolor-generic.zebra-odd > tbody > tr:nth-child(odd) > td {
  background-color: rgba(0, 153, 255, 0.15);  /* generic blue */
}

table.sitecolor-s.zebra-even > tbody > tr:nth-child(even) > td,
table.sitecolor-s.zebra-odd > tbody > tr:nth-child(odd) > td {
  background-color: rgba(170, 220, 0, 0.15);  /* Splatoon green */
}

table.sitecolor-s2.zebra-even > tbody > tr:nth-child(even) > td,
table.sitecolor-s2.zebra-odd > tbody > tr:nth-child(odd) > td {
  background-color: rgba(240, 60, 120, 0.15);  /* Splatoon 2 pink */
}

table.sitecolor-niwa.zebra-even > tbody > tr:nth-child(even) > td,
table.sitecolor-niwa.zebra-odd > tbody > tr:nth-child(odd) > td {
  background-color: rgba(255, 128, 0, 0.15);  /* NIWA orange */
}

/* zebra class intended for use in the inkipedia namespace, for example the staff page. */
table.zebra-inkipedia > tbody > tr:nth-child(odd) > td {
  background-color: rgba(55, 139, 0, 0.2)  /* green, the same shade used for links but with 20% opacity */
}

/* vertical zebra stripes */
table.sitecolor-generic.zebra-vert tbody td:nth-child(even) {
  background-color: rgba(0, 153, 255, 0.15);  /* generic blue */
}

table.sitecolor-s.zebra-vert tbody td:nth-child(even) {
  background-color: rgba(170, 220, 0, 0.15);  /* Splatoon green */
}

table.sitecolor-s2.zebra-vert tbody td:nth-child(even) {
  background-color: rgba(240, 60, 120, 0.15);  /* Splatoon 2 pink */
}

table.sitecolor-niwa.zebra-vert tbody td:nth-child(even) {
  background-color: rgba(255, 128, 0, 0.15);  /* NIWA orange */
}

/* removes borders from table cells to complement zebra stripes */
table.nocellborder > thead > tr > th,
table.nocellborder > tbody > tr > th,
table.nocellborder > tbody > tr > td {
  border-style: none;
}

/* left-aligns header cell text to complement zebra stripes */
table.nocellborder > thead > tr > th,
table.nocellborder > tbody > tr > th {
  text-align: left;
}

/*==================================================
  Interactive Music
==================================================*/

/* Checkbox styling */
.i-checkbox{
	border:3px solid black;
	border-radius:5px;
	width:25px;
	height:25px;
	text-align:center;
	display:inline-block;
}
.i-checkbox-checked{
	width:100%;
	height:100%;
	font-size:18px;
}

/* Category header */
.i-categoryh-{
	font-size:26px;
}
/* Subcategory header */
.i-categorys-{
	font-size:22px;
        margin-left:10px
}

/* Sizes for columns in Interactive Music */
/* Column1 */
.i-column1{
        width:25%
}
/* Column2 */
.i-column2{
        width:10%
}
/* Column4 */
.i-column4{
        width:350px
}

/*==================================================
  Custom fonts
==================================================*/

@font-face {
    font-family: Splatoon;
    /* https://frozenpandaman.github.io/Splatoon1.otf */
    src: url("https://splatoonwiki.org/w/extensions/StrategyWiki/fonts/Splatoon1.otf") format("opentype");
}

@font-face {
    font-family: Splatoon2;
    /* https://frozenpandaman.github.io/Splatoon2.otf */
    src: url("https://splatoonwiki.org/w/extensions/StrategyWiki/fonts/Splatoon2.otf") format("opentype");
}

/*==================================================
  OTHER
==================================================*/

/* Smaller text size for link suggestions */
#ui-id-1 {
  font-size: inherit;
}

/* Countdowns start with their metadata until the Js
changes them. So they should start invisible */
countdown {
  display: none;
}

.noscript { display: none; }
.schedulesplit { display: table-cell; }

/* Prevent line breaks in silly places:
   1) Where desired
   2) Links when we don't want them to
   3) Bold "links" to the page itself */
.nowrap,
.nowraplinks a,
.nowraplinks .selflink {
  white-space: nowrap;
}

/* Prevent text selection */
.noselect {
  -webkit-touch-callout: none;
    -webkit-user-select: none;
     -khtml-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
}

/* force-display-none */
.force-display-none {
    display:none !important
}

/* Warnings like "This user is blocked. Here is the log" */
div.mw-warning-with-logexcerpt {
    padding:10px;
    border-radius:20px;
}

/* hide sensitive data on file pages */
#mw_metadata .exif-gpslatitude,
#mw_metadata .exif-gpslongitude,
#mw_metadata .exif-artist {
  display: none;
}


/*==================================================
  3D/2D Viewer
==================================================*/

/* 3D/2D viewer */
.container-2d {
  display: block;
  position: relative;
}

.viewer-2d {
  position: relative;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.switch-to-3d {
  position: absolute;
  top: 0;
  right: 0;
  background: url("https://cdn.wikimg.net/en/splatoonwiki/images/6/65/2D_icon.png");
  width: 92px;
  height: 48px;
  z-index: 999;
  opacity: 0.5;
  cursor :pointer;
  cursor: hand;
  transition: opacity 0.2s;
}

.switch-to-2d {
  position: absolute;
  top: 0;
  right: 0;
  background: url("https://cdn.wikimg.net/en/splatoonwiki/images/7/7e/3D_icon.png");
  width: 92px;
  height: 48px;
  z-index: 999;
  opacity: 0.5;
  cursor: pointer;
  cursor: hand;
  transition: opacity 0.2s;
}

.switch-to-3d:hover, .switch-to-2d:hover {
  opacity: 1.0;
}

/* 3D model viewer */
.viewer-3d span {
    display: none;
}
.viewer-3d {
    margin: 4px;
    display: block;
    cursor: move;
    position: relative;
}
.viewer-3d-frame {
    position: absolute;
}
.viewer-3d-overlay {
    background: url("https://cdn.wikimg.net/en/splatoonwiki/images/e/ed/3D_rotation_icon.png") bottom right no-repeat;
    width: 100%;
    height: 100%;
    opacity: 0.5;
    position: relative;
}
/* End 3D model viewer */

/* New 3D viewer specific CSS */
.viewer-3d-container {
  display: block;
  padding: 2px;
  margin-left: auto;
  margin-right: auto;
  width: 288px;
}

.viewer-3d-container ul {
  padding: 0px;
  margin: 0px;
}
.viewer-3d-container ul li {
  display: block;
  margin: 0px;
  margin-top: 2px; /* For vertical spacing of the buttons */
  list-style: none;
  text-align: center;
}
.viewer-3d-container ul a {
  display: block;
  width: 134px;
  padding: 4px;
  text-decoration: none;
  font-size: 1.25em;
  opacity: .75;
}

.viewer-3d-container ul a:hover {
  opacity: 1;
}

.view-selector-default-left {
    border-radius: 10px;
    float: left;
    background: #e2e2e2;
}
.view-selector-default-right {
    border-radius: 10px;
    float: right;
    background: #e2e2e2;
}
.view-selector-default-full {
    border-radius: 10px;
    width: 100%;
    float: left;
    clear: both;
    background: #e2e2e2;
}
.view-selector-default-full a {
    width: 100% !important;
}

/* End new 3D viewer */

/******************************* Button icons ********************************/

:root {
	--switch-icon-a: url("https://splatoonwiki.org/wiki/File:Switch_Icon_A.svg?action=raw&ctype=image/svg%2bxml");
	--switch-icon-b: url("https://splatoonwiki.org/wiki/File:Switch_Icon_B.svg?action=raw&ctype=image/svg%2bxml");
	--switch-icon-capture: url("https://splatoonwiki.org/wiki/File:Switch_Icon_Capture.svg?action=raw&ctype=image/svg%2bxml");
	--switch-icon-home: url("https://splatoonwiki.org/wiki/File:Switch_Icon_Home.svg?action=raw&ctype=image/svg%2bxml");
	--switch-icon-l: url("https://splatoonwiki.org/wiki/File:Switch_Icon_L.svg?action=raw&ctype=image/svg%2bxml");
	--switch-icon-left-stick-all: url("https://splatoonwiki.org/wiki/File:Switch_Icon_Left_Stick_All.svg?action=raw&ctype=image/svg%2bxml");
	--switch-icon-left-stick-click: url("https://splatoonwiki.org/wiki/File:Switch_Icon_Left_Stick_Click.svg?action=raw&ctype=image/svg%2bxml");
	--switch-icon-left-stick-down: url("https://splatoonwiki.org/wiki/File:Switch_Icon_Left_Stick_Down.svg?action=raw&ctype=image/svg%2bxml");
	--switch-icon-left-stick-left-right: url("https://splatoonwiki.org/wiki/File:Switch_Icon_Left_Stick_Left-Right.svg?action=raw&ctype=image/svg%2bxml");
	--switch-icon-left-stick-up-down: url("https://splatoonwiki.org/wiki/File:Switch_Icon_Left_Stick_Up-Down.svg?action=raw&ctype=image/svg%2bxml");
	--switch-icon-left-stick-up: url("https://splatoonwiki.org/wiki/File:Switch_Icon_Left_Stick_Up.svg?action=raw&ctype=image/svg%2bxml");
	--switch-icon-left-stick: url("https://splatoonwiki.org/wiki/File:Switch_Icon_Left_Stick.svg?action=raw&ctype=image/svg%2bxml");
	--switch-icon-minus: url("https://splatoonwiki.org/wiki/File:Switch_Icon_Minus.svg?action=raw&ctype=image/svg%2bxml");
	--switch-icon-plus: url("https://splatoonwiki.org/wiki/File:Switch_Icon_Plus.svg?action=raw&ctype=image/svg%2bxml");
	--switch-icon-r: url("https://splatoonwiki.org/wiki/File:Switch_Icon_R.svg?action=raw&ctype=image/svg%2bxml");
	--switch-icon-right-stick-all: url("https://splatoonwiki.org/wiki/File:Switch_Icon_Right_Stick_All.svg?action=raw&ctype=image/svg%2bxml");
	--switch-icon-right-stick-click: url("https://splatoonwiki.org/wiki/File:Switch_Icon_Right_Stick_Click.svg?action=raw&ctype=image/svg%2bxml");
	--switch-icon-right-stick-down: url("https://splatoonwiki.org/wiki/File:Switch_Icon_Right_Stick_Down.svg?action=raw&ctype=image/svg%2bxml");
	--switch-icon-right-stick-left-right: url("https://splatoonwiki.org/wiki/File:Switch_Icon_Right_Stick_Left-Right.svg?action=raw&ctype=image/svg%2bxml");
	--switch-icon-right-stick-up-down: url("https://splatoonwiki.org/wiki/File:Switch_Icon_Right_Stick_Up-Down.svg?action=raw&ctype=image/svg%2bxml");
	--switch-icon-right-stick-up: url("https://splatoonwiki.org/wiki/File:Switch_Icon_Right_Stick_Up.svg?action=raw&ctype=image/svg%2bxml");
	--switch-icon-right-stick: url("https://splatoonwiki.org/wiki/File:Switch_Icon_Right_Stick.svg?action=raw&ctype=image/svg%2bxml");
	--switch-icon-sl: url("https://splatoonwiki.org/wiki/File:Switch_Icon_SL.svg?action=raw&ctype=image/svg%2bxml");
	--switch-icon-sr: url("https://splatoonwiki.org/wiki/File:Switch_Icon_SR.svg?action=raw&ctype=image/svg%2bxml");
	--switch-icon-x: url("https://splatoonwiki.org/wiki/File:Switch_Icon_X.svg?action=raw&ctype=image/svg%2bxml");
	--switch-icon-y: url("https://splatoonwiki.org/wiki/File:Switch_Icon_Y.svg?action=raw&ctype=image/svg%2bxml");
	--switch-icon-zl: url("https://splatoonwiki.org/wiki/File:Switch_Icon_ZL.svg?action=raw&ctype=image/svg%2bxml");
	--switch-icon-zr: url("https://splatoonwiki.org/wiki/File:Switch_Icon_ZR.svg?action=raw&ctype=image/svg%2bxml");
}

.switch-icon {
	background       : currentcolor;
	display          : inline-block;
	mask-size        : contain;
	vertical-align   : middle;
	-webkit-mask-size: contain;
}
.switch-icon.a { mask-image: var(--switch-icon-a); -webkit-mask-image: var(--switch-icon-a); }
.switch-icon.b { mask-image: var(--switch-icon-b); -webkit-mask-image: var(--switch-icon-b); }
.switch-icon.capture { mask-image: var(--switch-icon-capture); -webkit-mask-image: var(--switch-icon-capture); }
.switch-icon.home { mask-image: var(--switch-icon-home); -webkit-mask-image: var(--switch-icon-home); }
.switch-icon.l { mask-image: var(--switch-icon-l); -webkit-mask-image: var(--switch-icon-l); }
.switch-icon.left-stick-all { mask-image: var(--switch-icon-left-stick-all); -webkit-mask-image: var(--switch-icon-left-stick-all); }
.switch-icon.left-stick-click { mask-image: var(--switch-icon-left-stick-click); -webkit-mask-image: var(--switch-icon-left-stick-click); }
.switch-icon.left-stick-down { mask-image: var(--switch-icon-left-stick-down); -webkit-mask-image: var(--switch-icon-left-stick-down); }
.switch-icon.left-stick-left-right { mask-image: var(--switch-icon-left-stick-left-right); -webkit-mask-image: var(--switch-icon-left-stick-left-right); }
.switch-icon.left-stick-up-down { mask-image: var(--switch-icon-left-stick-up-down); -webkit-mask-image: var(--switch-icon-left-stick-up-down); }
.switch-icon.left-stick-up { mask-image: var(--switch-icon-left-stick-up); -webkit-mask-image: var(--switch-icon-left-stick-up); }
.switch-icon.left-stick { mask-image: var(--switch-icon-left-stick); -webkit-mask-image: var(--switch-icon-left-stick); }
.switch-icon.minus { mask-image: var(--switch-icon-minus); -webkit-mask-image: var(--switch-icon-minus); }
.switch-icon.plus { mask-image: var(--switch-icon-plus ); -webkit-mask-image: var(--switch-icon-plus ); }
.switch-icon.r { mask-image: var(--switch-icon-l); -webkit-mask-image: var(--switch-icon-l); }
.switch-icon.right-stick-all { mask-image: var(--switch-icon-right-stick-all); -webkit-mask-image: var(--switch-icon-right-stick-all); }
.switch-icon.right-stick-click { mask-image: var(--switch-icon-right-stick-click); -webkit-mask-image: var(--switch-icon-right-stick-click); }
.switch-icon.right-stick-down { mask-image: var(--switch-icon-right-stick-down); -webkit-mask-image: var(--switch-icon-right-stick-down); }
.switch-icon.right-stick-left-right { mask-image: var(--switch-icon-right-stick-left-right); -webkit-mask-image: var(--switch-icon-right-stick-left-right); }
.switch-icon.right-stick-up-down { mask-image: var(--switch-icon-right-stick-up-down); -webkit-mask-image: var(--switch-icon-right-stick-up-down); }
.switch-icon.right-stick-up { mask-image: var(--switch-icon-right-stick-up); -webkit-mask-image: var(--switch-icon-right-stick-up); }
.switch-icon.right-stick { mask-image: var(--switch-icon-right-stick); -webkit-mask-image: var(--switch-icon-right-stick); }
.switch-icon.sl { mask-image: var(--switch-icon-sl); -webkit-mask-image: var(--switch-icon-sl); }
.switch-icon.sr { mask-image: var(--switch-icon-sr); -webkit-mask-image: var(--switch-icon-sr); }
.switch-icon.x { mask-image: var(--switch-icon-x); -webkit-mask-image: var(--switch-icon-x); }
.switch-icon.y { mask-image: var(--switch-icon-y); -webkit-mask-image: var(--switch-icon-y); }
.switch-icon.zl { mask-image: var(--switch-icon-zl); -webkit-mask-image: var(--switch-icon-zl); }
.switch-icon.zr { mask-image: var(--switch-icon-zr); -webkit-mask-image: var(--switch-icon-zr); }