Welcome to our new Skyland! Article rewrites are welcome. If you see any missing images, please feel free to add them. Please use the Aboutfile template when uploading and add categories.
We are also aware of some articles being unavailable. Please bear with us while we are working to get them fixed.

MediaWiki:Common.css: Difference between revisions

From Skylanders Wiki
Aura24 (talk | contribs)
Testing
Tag: Reverted
Aura24 (talk | contribs)
No edit summary
Tag: Manual revert
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/***** CSS placed here will be applied to all skins on the entire site. *****/


/* Image thumbs */
/* Mark redirects in Special:Allpages and Special:Watchlist */
html .thumbimage { background-color: #fff; }
.allpagesredirect {
 
  font-style: italic;
/* Image/gallery classes */
img.blackbg, .gallery.blackbg img { background: #000 !important; }
img.graybg, img.greybg, .gallery.graybg img, .gallery.greybg img {
background: #808080 !important;
}
 
ul.gallery img, table.filehistory img, table.listfiles img, table.searchResultImage img {
image-rendering: crisp-edges;
image-rendering: pixelated;
}
 
.pixelated, .pixelart, .sprites, .sprite {
image-rendering: crisp-edges; image-rendering: pixelated;
}
 
/* Gallery */
ul.gallery, li.gallerybox div.thumb {
margin-bottom: 0;
padding-bottom: 0;
}
#bodyContent ul.gallery {
margin: 2px;
padding: 2px;
}
}
li.gallerycaption {
#globalWrapper {
text-align: unset;
  background-color:#69adde !important;
}
}
 
.allpagesredirect:after {
.gallery.center {
  color: #808080; content: " (redirect)"
margin-left: auto !important;
margin-right: auto !important;
}
}
.gallery.centertext .gallerytext {
.watchlistredir {
text-align: center !important;
  font-style: italic;
}
}


.mw-gallery-slideshow .gallerybox + .gallerybox {
/* Giving headers and TOC a little extra space */
display: none;
h2 {
}
  margin-top: 20px;
.mw-gallery-slideshow-thumbnails-toggled ~ .gallerybox {
display: inline-block !important;
}
}
 
.toc {
/* link colors */
  margin-top: 20px;
a { color: #00f; }
a:visited { color: #00c; }
.mw-parser-output a.extiw { color: #06f; }
.mw-parser-output a.extiw:visited { color: #3366BB; }
.mw-parser-output a.external { color: #06f; }
.mw-parser-output a.external:visited { color: #0044CC; }
 
 
/* edit options */
.mw-editform .editOptions {
  border-radius:0px;
}
}


.editOptions {
  background-color:#E8E1F3;
  border: 1px solid #B25F33;
  border-top:none;
}


/* Infobox templates */
/* Infobox templates */
Line 105: Line 62:
}
}


/* warning box */
/* Forum formatting (by -Algorithm & -Splaka) */
 
.forumheader {
.messagebox, .errorbox, .warningbox, .successbox {
  border: 1px solid #aaa;
padding:12px;
  margin-top: 1em;
  padding: 12px;
}
.forumlist td.forum_edited a {
  color: black;
  text-decoration: none;
}
.forumlist td.forum_title a {
  padding-left: 20px;
}
.forumlist td.forum_title a.forum_new {
  font-weight: bold;
  background: url(/images/4/4e/Forum_new.gif) center left no-repeat;
  padding-left: 20px;
}
.forumlist td.forum_title a.forum_new:visited {
  font-weight: normal;
  background: none;
  padding-left: 20px;
}
.forumlist th.forum_title {
  padding-left: 20px;
}
}


div.mw-warning-with-logexcerpt {
/* Recent changes byte indicators */
    border: 1px solid #7F5F00;
.mw-plusminus-pos {
  color: #006500;
}
}
 
.mw-plusminus-neg {
.mw-revision.warningbox {
  color: #8B0000;
    margin-top:0px;
    padding:0px;
    border:0px;
    background:transparent;
}
}


#mw-revision-info, #mw-revision-info-current, #mw-revision-nav {
/* Image frame fix */
    color: #54595d;
div.tright, div.tleft {
  border: 1px solid silver;
}
}


/* main page, adapted from Super Mario Wiki */
div.thumbinner {
 
  background: inherit;
body.page-Main_Page.action-view h1.firstHeading,
  border: none;
body.page-Main_Page.action-view #contentSub > *,
  color: inherit;
body.page-Main_Page.action-view #siteSub,
body.page-Main_Page.action-view #catlinks,
body.page-Main_Page.action-view #lastmod {
display: none !important;
}
}
body.page-Main_Page.action-view #bodyContent {
#article div.thumb {
margin-top: 16px;
  color:inherit;
}
body.page-Main_Page.action-view .usermessage {
margin-top: 43px;
}
}


.mainpagebox {
/* === Babel === */
border: 2px solid indigo;
 
padding: 2px;
div.babelbox {
background: #EEEEFF;
  float: right;
}
  margin-left: 1em;
.mainpagebox p {
  margin-bottom: 0.5em;
margin: 0.9em 0 1em;
  width: 246px;
  border: 1px solid #99B3FF;
  padding: 2px 0 2px 0;
}
}
.mainpagebox#welcome {
.lang-blockN, .lang-block0, .lang-block1, .lang-block2, .lang-block3 {
background: #EEEEFF;
  margin: 2px 4px 2px 4px; /* t, l, b, r */
padding: 2px 2px 2px 0;
  width:238px;
  border-collapse: collapse;
}
}
.mainpagebox#nav {
td.lang-codeN, td.lang-code0, td.lang-code1, td.lang-code2, td.lang-code3 {
font-size: 120%;
  text-align:center;
padding: 2px 2px 5px 0;
  font-size:14pt;
background: ghostwhite;
  width:45px;
border-color: purple;
  height:45px;
}
}
.mainpagebox#nav ul {
td.lang-descriptionN, td.lang-description0, td.lang-description1,
margin-left: 20px;
td.lang-description2, td.lang-description3 {
  font-size:8pt;
  padding:4pt;
  line-height:1.25em;
}
}


.mainpagebox#right {
.lang-block0 {
padding: 2px 2px 5px;
  border:1px solid #FFB3B3;
}
}
.mainpagebox.maintain {
td.lang-code0 {
text-align: center;
  background-color: #FFB3B3;
padding: 2px 2px 0;
  color: black;
margin-top: 10px;
}
}
.mainpagebox h2 {
td.lang-description0 {
padding: 4px 5px 2px;
  background-color: #FFE0E8;
margin-bottom: 1px !important;
  color: black;
border: 2px solid purple;
font-size: 120%;
font-weight: bold;
color: #FFFFFF;
text-align: center;
}
}


.MainTopText a {
.lang-block1, .lang-block2, .lang-block3 {
color: black !important;
  border:1px solid #99B3FF;
text-decoration: none;
}
}
.MainTopText a:hover {
td.lang-code1, td.lang-code2, td.lang-code3 {
color: black;
  background-color: #99B3FF;
text-decoration: underline;
  color: black;
}
}
 
td.lang-description1, td.lang-description2, td.lang-description3 {
.mainpagebox#featured h2 {
  background-color: #E0E8FF;
background: #1AA47D;
  color: black;
border-color: #006400;
}
}


.mainpagebox#news h2 {
.lang-blockN {
background: #D06128;
  border:1px solid #6EF7A7;
border-color: #914800;
}
}
.mainpagebox#dyk h2 {
td.lang-codeN {
    background: #0096d5;
  background-color: #6EF7A7;
    border-color: #001C8A;
  color: black;
}
}
 
td.lang-descriptionN {
/* main page responsive fixes */
  background-color: #C5FCDC;
@media all and (max-width:550px) {
  color: black;
body.page-Main_Page #welcome > tbody > tr > td {
    display: block !important;
}
body.page-Main_Page #mp-body > tbody > tr > td {
    display: block !important;
    width: 100% !important;
}
body.page-Main_Page #mp-body > tbody > tr > td + td {
    margin-top: 5px !important;
}
}
}


Line 284: Line 240:
.navbox.light > * > tr:first-child th, .navbox.light > * > tr:first-child th a {
.navbox.light > * > tr:first-child th, .navbox.light > * > tr:first-child th a {
color: black !important;
color: black !important;
}
/* <h4> spyro </h4> */
.navbox.spyro tr:first-child th, .navbox.spyro tr:first-child th a {
background-color: #BA55D3;
}
.navbox.spyro tr th {
  background-color: #D9A3E7;
}
.navbox.spyro tr:nth-child(2n) td {
  background-color: #F5F5F5;
}
.navbox.spyro tr td {
background-color: #FBFBFB;
}
.navbox.spyro tr:not(:first-child) th:not([rowspan]):not([colspan]) {
    background: none repeat scroll 0 0 #e6c2ef;
}
/* rc display adjustment */
.client-js .mw-input-hidden {
    display:inline-block;
}
}


Line 344: Line 275:
}
}


/* Indicator icons */
.mainpagebox {
.mw-indicators,
border: 2px solid blue;
#mw-indicator-shortcut {
padding: 2px;
  position: relative;
background: #d2f5ff;
}
}
.mw-indicator {
.mainpagebox p {
  margin: 0 2px;
margin: 0.9em 0 1em;
}
}
.mw-indicator img {
.mainpagebox#welcome {
  image-rendering: auto !important;
background: #d2f5ff;
padding: 2px 2px 2px 0;
}
}
#mw-indicator-mw-helplink {
.mainpagebox#nav {
  display: none;
font-size: 120%;
padding: 2px 2px 5px 0;
background: ghostwhite;
border-color: blue;
}
}
 
.mainpagebox#nav ul {
/* References */
margin-left: 20px;
ol.references {
margin-top: 0;
font-size: 90%;
}
ol.references div {
display: inline;
}
ol.references span {
line-height: 1;
}
}


/* Captcha spacing */
.mainpagebox#right {
#editform #wpCaptchaWord {
padding: 2px 2px 5px;
margin-top: 2.5px;
}
}
#userloginForm label:not([for]) + .mw-input {
.mainpagebox.maintain {
text-align: center;
padding: 2px 2px 0;
margin-top: 10px;
margin-top: 10px;
}
}
#userloginForm .mw-ui-vform-field:nth-of-type(7) {
.mainpagebox h2 {
margin-bottom: 5px;
padding: 4px 5px 2px;
}
margin-bottom: 1px !important;
.mw-htmlform-field-HTMLReCaptchaNoCaptchaField .mw-input {
border: 2px solid blue;
margin-top: 1px;
font-size: 120%;
}
font-weight: bold;
.editOptions .g-recaptcha {
color: #FFFFFF;
margin-bottom: 10px;
text-align: center;
}
.mw-ui-vform {
width: 302px;
}
}


/* Diff lines */
.MainTopText a {
.diff-addedline, .diff-deletedline, .diff-context {
color: black !important;
    font-size: 88% !important;
text-decoration: none;
    line-height: 1.6 !important;
    vertical-align: top;
    white-space: -moz-pre-wrap;
    white-space: pre-wrap !important;
    border-style: solid;
    border-width: 1px 1px 1px 4px;
    border-radius: 0.33em;
}
}
 
.MainTopText a:hover {
.diff-editfont-monospace .diff-addedline, .diff-editfont-monospace .diff-deletedline, .diff-editfont-monospace .diff-context {
color: black;
    font: x-small sans-serif;
text-decoration: underline;
}
}


/* Edit box */
.mainpagebox#featured h2 {
.wikiEditor-ui-toolbar .section-main,
background: #06b9e1;
.wikiEditor-ui-toolbar .tabs {
border-color: #004664;
height: auto;
}
.wikiEditor-ui textarea#wpTextbox1 {
height: 474px;
line-height: 1.4em;
}
.wikiEditor-ui .wikiEditor-ui-view {
    border: 1px solid #B25F33;
}
.mw-summary-preview {
margin-bottom: 0.5em;
}
#wpSummaryLabel .oo-ui-textInputWidget textarea,
#wpSummaryLabel .oo-ui-textInputWidget input {
padding-bottom: 0.5em;
}
#wpSummaryWidget .oo-ui-labelElement-label {
margin-right: 3px;
}
}


/* Keep create account benefits up top */
.mainpagebox#news h2 {
.mw-special-CreateAccount #userloginForm {
background: #28d0aa;
margin-right: 90px;
border-color: #280091;
}
}
 
.mainpagebox#dyk h2 {
/* Adjust inputbox button padding in Firefox */
    background: #0096d5;
@-moz-document url-prefix() {
    border-color: #001C8A;
.bodySearchWrap .mw-ui-button, .createboxButton {
padding-top: 4px;
padding-bottom: 5px;
}
}
}


/* Mark redirects on Special:AllPages and Special:EditWatchlist */
/* main page responsive fixes */
.allpagesredirect a.mw-redirect, .watchlistredir a.mw-redirect {
@media all and (max-width:550px) {
color: #888 !important;
body.page-Main_Page #welcome > tbody > tr > td {
    display: block !important;
}
body.page-Main_Page #mp-body > tbody > tr > td {
    display: block !important;
    width: 100% !important;
}
body.page-Main_Page #mp-body > tbody > tr > td + td {
    margin-top: 5px !important;
}
}
}


/* Media player */
/* rc display adjustment */
#file > .video-js { display: inline-block !important; }
.client-js .mw-input-hidden {
.thumb .video-js { margin-left: auto; margin-right: auto; }
     display:inline-block;
.video-js .vjs-progress-control .vjs-mouse-display { z-index: 2; }
.infobox .video-js { margin-top: 1px; min-width: 200px; width: auto !important; }
.video-js .vjs-control-bar, .video-js .vjs-volume-vertical { background: #000; }
.video-js .vjs-mouse-display .vjs-time-tooltip { background: #111; }
.video-js { overflow-x: clip; display: block !important; }
/* Newbie bug fix */
body.newbie .video-js { overflow: hidden !important; }
body.newbie .vjs-time-tooltip { display: none !important; }
 
/* Edit section */
.client-js .mw-content-ltr .mw-editsection-bracket:first-of-type,
.client-js .mw-content-rtl .mw-editsection-bracket:first-of-type,
.client-js .mw-content-rtl .mw-editsection-bracket:not(:first-of-type),
.client-js .mw-content-ltr .mw-editsection-bracket:not(:first-of-type) {
margin: 0;
color: unset;
}
.client-js .editButtons .editHelp {
     display: none;
}
 
/* OOUI fixes */
.oo-ui-optionWidget.oo-ui-labelElement > .oo-ui-labelElement-label {
  overflow: visible;
}
}


.oo-ui-menuOptionWidget.oo-ui-optionWidget-selected .oo-ui-menuOptionWidget-checkIcon {
/**************************/
    display:none;
/* BEGIN Portable Infobox */
}
/**************************/


.oo-ui-textInputWidget .oo-ui-inputWidget-input, .oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle, .oo-ui-tagMultiselectWidget-handle {
/* ALL themes */
border:1px solid #AAA;
.pi-title {
    text-align: center;
}
}


.oo-ui-textInputWidget.oo-ui-widget-enabled .oo-ui-inputWidget-input:focus {
/* Air Portable Infobox Theme */
border:1px solid #B25F33;
.pi-theme-Air {
border-radius:0px;
      background :#DFF;
box-shadow: none;
      border:solid 3px #ADD8E6;
}
      color: #3d3d3d;
  }


.oo-ui-panelLayout-framed {
/* Dark Portable Infobox Theme */
    border: 1px solid #B25F33;
  .pi-theme-Dark {
    border-radius: 0px;
      background :#ebebef;
}
      border:solid 3px #191970;
      color: #3d3d3d;
  }


.oo-ui-buttonElement-framed > .oo-ui-buttonElement-button {
/* Earth Portable Infobox Theme */
    box-shadow: none !important;
  .pi-theme-Earth {
    border: 1px solid #ccc !important;
      background :#FEC;
}
      border:solid 3px #960;
      color: #3d3d3d;
  }


.oo-ui-dropdownWidget-handle {
/* Fire Portable Infobox Theme */
    border: 1px solid gray;
  .pi-theme-Fire {
    border-radius:0px;
      background :#FDD;
}
      border:solid 3px #1390FF;
      color: #3d3d3d;
  }


.oo-ui-textInputWidget input, .oo-ui-textInputWidget textarea {
/* Kaos (Element) Portable Infobox Theme */
    border: 1px solid gray;
  .pi-theme-Kaos {
    border-radius: 0.25em !important;
      background :#DFF;
}
      border:solid 3px #ADD8E6;
      color: #3d3d3d;
  }


.oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle:hover, .oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle:focus {
/* Life Portable Infobox Theme */
    border-color:#B25F33;
  .pi-theme-Life {
    box-shadow:none;
      background :#EFC;
}
      border:solid 3px #9BCB65;
      color: #3d3d3d;
  }


.oo-ui-textInputWidget.oo-ui-widget-enabled .oo-ui-inputWidget-input {
/* Light Portable Infobox Theme */
    border-radius: 0px !important;
  .pi-theme-Light {
    box-shadow: none;
      background :#fdff74;
    transition: none;
      border:solid 3px #FFD700;
}
      color: #3d3d3d;
  }


.mw-prefs-tabs-wrapper.oo-ui-panelLayout-framed, .mw-prefs-tabs > .oo-ui-menuLayout-content > .oo-ui-indexLayout-stackLayout > .oo-ui-tabPanelLayout {
/* Magic Portable Infobox Theme */
    border-color: #7F5F00;
  .pi-theme-Magic {
}
      background :#EDF;
      border:solid 3px #9400D3;
      color: #3d3d3d;
  }


body:not(.mw-special-Export) .mw-htmlform-ooui-wrapper .oo-ui-fieldLayout { margin-right: 10px; display: block; vertical-align: middle !important; }
/* Tech Portable Infobox Theme */
body:not(.mw-special-Export) .mw-htmlform-ooui-wrapper .oo-ui-fieldsetLayout-group { display: block !important; }
  .pi-theme-Tech {
body:not(.mw-special-Export) .mw-htmlform-ooui-wrapper .oo-ui-fieldsetLayout.mw-collapsible .mw-collapsible-toggle .oo-ui-iconElement-icon { display: none !important; }
      background :#FFC;
body:not(.mw-special-Export) .mw-htmlform-ooui-wrapper.oo-ui-panelLayout-padded .oo-ui-fieldsetLayout.mw-collapsible .oo-ui-fieldsetLayout-header { padding-left: 0 !important; margin-bottom: 0 !important; }
      border:solid 3px #FFA500;
      color: #3d3d3d;
  }


/* disable calendar widget */
/* Undead Portable Infobox Theme */
.mw-widget-calendarWidget {
  .pi-theme-Undead {
    display: none !important;
      background :#EEF;
}
      border:solid 3px #808080;
      color: #3d3d3d;
  }


.mw-widget-dateInputWidget-handle {
/* Undead Portable Infobox Theme */
    border-radius: 0px;
  .pi-theme-Water {
      background :#CEF;
      border:solid 3px #4169E1;
      color: #3d3d3d;
}
}


/* Formatting fixes */
/* Gallery fixes in FD's dark mode */
li ul, li ol { margin-top: 0.1em !important; }
.theme-fandomdesktop-dark .pi-image-collection .wds-tabs__tab {
dl + ul, dl + ol { margin-top: -0.3em !important; }
  color: #3d3d3d;
ul + dl, ol + dl  { margin-top: 0.3em !important; }
.mw-parser-output table sup { white-space: nowrap; }
div[style*="column-count"] > p { margin: 0 !important; }
span.comment, .mw-parser-output a.external.free, .filehistory.wikitable td[dir] {
word-wrap: anywhere;
}
}


/* Scrollable tables */
.pi-image-collection .wds-is-current {
table.scrollable {
    color: var(--theme-accent-color) !important;
display: block;
overflow: auto;
max-width: max-content;
border: 0;
}
}


/* Show/hide toggles */
/************************/
.navbox .mw-collapsible-toggle {
/* END Portable Infobox */
text-align: right;
/************************/
min-width: 3.729em;
}
.wikitable.mw-collapsed .mw-collapsible-toggle {
margin-left: 10px;
}
 
/* Horizontal rule */
hr { overflow: hidden; }
 
/* Self-links */
body.mediawiki a.mw-selflink {
color: inherit !important;
cursor: inherit !important;
text-decoration: inherit !important;
font-weight: bold !important;
}
 
/* Inline link colors */
a font:hover, a span:hover {
text-decoration: inherit;
}
 
/* Special:Preferences */
#mw-htmlform-mobile .oo-ui-inline-help { display: none; }
 
/* Miscellaneous */
pre {
background-color: #fff;
border: 1px dashed #7F5F00;
color: #000;
overflow:auto;
}
 
.mw_metadata {
margin-top: 5px;
}
 
#bodyContent {
position: relative;
}
.mw-newarticletext {
margin-bottom: 10px;
}
.top-right {
position: absolute;
top: -31px;
right: 1px;
}
.top-right-text {
position: absolute;
top: -17px;
right: 1px;
}
 
fieldset {
    border: 1px solid #7F5F00;
}
 
div.tleft, div.tright {
    margin-top: 0.2em;
    margin-bottom: 0.8em;
}
 
blockquote {
border-left: 3px solid #7F5F00;
margin-left: 2em;
padding-left: 1em;
}
 
#disambig {
border-top: 3px double #cccccc;
border-bottom: 3px double #cccccc;
    margin-top:5px;
    background:transparent;
    border-left:none;
    border-right:none;
}
 
p {
    margin: 0.6em 0 0.7em 0;
}
 
.portlet {
    width: 11.8em;
}
 
#pagehistory li {
    padding: 2px;
}
 
.mw-ui-button {
    color: #000;
    margin-bottom: 0.25em;
}
 
 
#localNotice {
    margin-bottom: 0.4em;
}
 
.mw-customtoggle, .mw-collapsible-toggle {
    cursor: default;
}
 
.mw-collapsible-toggle {
padding-right: 0.3em;
}
 
.mw-prefs-buttons {
    background:transparent;
    position:inherit;
    padding:5px;
}
 
.right {
text-align: right;
}
 
#preftoc a:active {
color: #00c;
}
 
.special li {
line-height: 19px;
}
 
a.mw-selflink:hover {
  color: inherit;
}
 
span#mw-editform-cancel {
    display:none;
}
 
.contentbox > .mw-collapsible-toggle {
float: none !important;
}
 
.successbox {
    border-color: #008000;
}
 
.errorbox {
    border-color: #d33d33;
}
 
div.noarticletext {
    border: 1px solid #B25F33;
    background: transparent;
    padding-left: 7px;
    font-size: 95%;
}
 
.thumb .mediaContainer {
margin: 4px auto 2px;
}
.thumb .multiVert .mediaContainer {
margin: 3px auto -1px;
}
 
.mw-changeslist-legend {
  border: 1px solid #aaa;
}
 
.mw-highlight pre {
    border: 1px dashed gray;
}
 
#toc, .toc {
margin-bottom: 3px;
}
 
#editpage-specialchars {
  background:#fff;
}
 
.mw-editinginterface {
    color:red;
}


.catlinks {
/* Styles for CharElemList */
    margin-top:10px;
.char-elem-list {
background-color: var(--theme-page-background-color--secondary);
}
}


#pagehistory li.selected {
/* Making gallery captions readable in light/dark themes */
    background-color: #FFF;
.wikia-gallery-caption-below .lightbox-caption {
    color: #202122;
color: rgba(var(--theme-page-text-color--rgb),.9);
    outline: 1px dashed #B25F33;
}
}

Revision as of 08:21, May 15, 2025

/***** CSS placed here will be applied to all skins on the entire site. *****/

/* Mark redirects in Special:Allpages and Special:Watchlist */
.allpagesredirect {
   font-style: italic;
}
#globalWrapper {
  background-color:#69adde !important;
}
.allpagesredirect:after {
   color: #808080; content: " (redirect)"
}
.watchlistredir {
   font-style: italic;
}

/* Giving headers and TOC a little extra space */
h2 {
   margin-top: 20px;
}
.toc {
   margin-top: 20px;
}


/* Infobox templates */
.infobox {
   background: ghostwhite;
   border: 1px solid gray;
   float: right;
   margin: 0 0 1em 1.15em;
   width: 300px;
   padding: 3px;
   font-size: 88%;
}

.infobox tr {
	vertical-align: top;
}
.infobox td, .infobox th {
	padding: 2px;
}

.infobox .mw-collapsible-toggle {
	min-width: 39px;
	text-align: right;
}

/* aboutfile */

.aboutfile {
  background:#FFF;
  border:1px solid #000;
  border-collapse: collapse;
  font-size:95%;
  width: 90%;
  margin: 5px auto;
}

.aboutfile td {
  padding:3px;
}

/* Forum formatting (by -Algorithm & -Splaka) */
.forumheader {
   border: 1px solid #aaa;
   margin-top: 1em;
   padding: 12px;
}
.forumlist td.forum_edited a {
   color: black;
   text-decoration: none;
}
.forumlist td.forum_title a {
   padding-left: 20px;
}
.forumlist td.forum_title a.forum_new {
   font-weight: bold;
   background: url(/images/4/4e/Forum_new.gif) center left no-repeat;
   padding-left: 20px;
}
.forumlist td.forum_title a.forum_new:visited {
   font-weight: normal;
   background: none;
   padding-left: 20px;
}
.forumlist th.forum_title {
   padding-left: 20px;
}

/* Recent changes byte indicators */
.mw-plusminus-pos {
   color: #006500;
}
.mw-plusminus-neg {
   color: #8B0000;
}

/* Image frame fix */
div.tright, div.tleft {
   border: 1px solid silver;
}

div.thumbinner {
   background: inherit;
   border: none;
   color: inherit;
}
#article div.thumb {
   color:inherit;
}

/* === Babel === */

div.babelbox {
   float: right;
   margin-left: 1em;
   margin-bottom: 0.5em;
   width: 246px;
   border: 1px solid #99B3FF;
   padding: 2px 0 2px 0;
}
.lang-blockN, .lang-block0, .lang-block1, .lang-block2, .lang-block3 {
   margin: 2px 4px 2px 4px; /* t, l, b, r */
   width:238px;
   border-collapse: collapse;
}
td.lang-codeN, td.lang-code0, td.lang-code1, td.lang-code2, td.lang-code3 {
   text-align:center;
   font-size:14pt;
   width:45px;
   height:45px;
}
td.lang-descriptionN, td.lang-description0, td.lang-description1,
td.lang-description2, td.lang-description3 {
  font-size:8pt;
  padding:4pt;
  line-height:1.25em;
}

.lang-block0 {
   border:1px solid #FFB3B3;
}
td.lang-code0 {
  background-color: #FFB3B3;
  color: black;
}
td.lang-description0 {
  background-color: #FFE0E8;
  color: black;
}

.lang-block1, .lang-block2, .lang-block3 {
   border:1px solid #99B3FF;
}
td.lang-code1, td.lang-code2, td.lang-code3 {
  background-color: #99B3FF;
  color: black;
}
td.lang-description1, td.lang-description2, td.lang-description3 {
  background-color: #E0E8FF;
  color: black;
}

.lang-blockN {
   border:1px solid #6EF7A7;
}
td.lang-codeN {
  background-color: #6EF7A7;
  color: black;
}
td.lang-descriptionN {
  background-color: #C5FCDC;
  color: black;
}

/* <h3> Navigation templates </h3> */

.navbox {
	background: none repeat scroll 0 0 white;
	border: 1px solid grey;
	color: black;
	font-family: Arial;
	font-size: 11px;
	width: 100%;
	margin-top: 15px;
        border-spacing:3px;
}
.navbox + .navbox,
.navbox .navbox {
	margin-top: 0;
}
.navbox .mw-collapsible-toggle-expanded {
	padding-left: 7px;
}
.navbox:not(.multi) .mw-collapsible > tbody > tr:first-child > th {
	padding-left: 42px;
}
.navbox tr:first-child th {
	background: none repeat scroll 0 0 #999999;
	color: white;
	font-size: 12px;
	font-weight: bold;
}
.navbox tr:first-child th, .navbox tr:first-child th a {
	color: #FFFFFF !important;
}
.navbox tr th {
	background: none repeat scroll 0 0 #CCCCCC;
	text-align: center;
}
.navbox tr:not(:first-child) th:not([rowspan]):not([colspan]) {
	background: none repeat scroll 0 0 #E6E6E6;
}
.navbox tr th a, .navbox tr th a:visited, .navbox tr th a.new, .navbox tr th a.new:visited {
	color: #000000;
}
.navbox tr:nth-child(2n) td {
	background: none repeat scroll 0 0 #F6F6F6;
}
.navbox tr td {
	background: none repeat scroll 0 0 #FCFCFC;
}
.navbox td a {
	color: #0000FF;
}
.navbox td a:visited {
	color: #0000CC;
}
.navbox td a.new {
	color: #CC2200;
}
.navbox td a.new:visited {
	color: #A55858;
}
.navbox td a.selflink {
	color: #000;
}

.navbox.light > * > tr:first-child th, .navbox.light > * > tr:first-child th a {
	color: black !important;
}

/* Notice templates */
body:not(.ns-6) .notice-template + .notice-template {
	margin-top: -0.375em !important;
}
#mw-imagepage-content .notice-template + #aboutfile {
	margin-top: 0.75em !important;
}
#mw-imagepage-content .notice-template:not(#aboutfile) {
	margin-top: 0.75em !important;
	margin-bottom: 2.5px !important;
}

.notice-template p {
   margin: 0.6em 0;
}

.notice-template {
        display: flex;
        background: #CCC;
        border: 1px solid #000;
        margin: 0 2% 0.75em;
        padding:0 1em;
        color: #000;
}

.notice-template.copyright {
   background: #fff9f9;
   border: 1px solid #C55;
   width: 90%;
   margin: 5px auto;
   padding: 5px;
}

.mainpagebox {
	border: 2px solid blue;
	padding: 2px;
	background: #d2f5ff;
}
.mainpagebox p {
	margin: 0.9em 0 1em;
}
.mainpagebox#welcome {
	background: #d2f5ff;
	padding: 2px 2px 2px 0;
}
.mainpagebox#nav {
	font-size: 120%;
	padding: 2px 2px 5px 0;
	background: ghostwhite;
	border-color: blue;
}
.mainpagebox#nav ul {
	margin-left: 20px;
}

.mainpagebox#right {
	padding: 2px 2px 5px;
}
.mainpagebox.maintain {
	text-align: center;
	padding: 2px 2px 0;
	margin-top: 10px;
}
.mainpagebox h2 {
	padding: 4px 5px 2px;
	margin-bottom: 1px !important;
	border: 2px solid blue;
	font-size: 120%;
	font-weight: bold;
	color: #FFFFFF;
	text-align: center;
}

.MainTopText a {
	color: black !important;
	text-decoration: none;
}
.MainTopText a:hover {
	color: black;
	text-decoration: underline;
}

.mainpagebox#featured h2 {
	background: #06b9e1;
	border-color: #004664;
}

.mainpagebox#news h2 {
	background: #28d0aa;
	border-color: #280091;
}
.mainpagebox#dyk h2 {
    background: #0096d5;
    border-color: #001C8A;
}

/* main page responsive fixes */
@media all and (max-width:550px) {
 body.page-Main_Page #welcome > tbody > tr > td {
    display: block !important;
 }
 body.page-Main_Page #mp-body > tbody > tr > td {
    display: block !important;
    width: 100% !important;
 }
 body.page-Main_Page #mp-body > tbody > tr > td + td {
    margin-top: 5px !important;
 }
}

/* rc display adjustment */
.client-js .mw-input-hidden {
    display:inline-block;
}

/**************************/
/* BEGIN Portable Infobox */
/**************************/

/* ALL themes */
.pi-title {
    text-align: center;
}

/* Air Portable Infobox Theme */
.pi-theme-Air {
      background :#DFF;
      border:solid 3px #ADD8E6;
      color: #3d3d3d;
   }

/* Dark Portable Infobox Theme */
   .pi-theme-Dark {
      background :#ebebef;
      border:solid 3px #191970;
      color: #3d3d3d;
   }

/* Earth Portable Infobox Theme */
   .pi-theme-Earth {
      background :#FEC;
      border:solid 3px #960;
      color: #3d3d3d;
   }

/* Fire Portable Infobox Theme */
   .pi-theme-Fire {
      background :#FDD;
      border:solid 3px #1390FF;
      color: #3d3d3d;
   }

/* Kaos (Element) Portable Infobox Theme */
   .pi-theme-Kaos {
      background :#DFF;
      border:solid 3px #ADD8E6;
      color: #3d3d3d;
   }

/* Life Portable Infobox Theme */
   .pi-theme-Life {
      background :#EFC;
      border:solid 3px #9BCB65;
      color: #3d3d3d;
   }

/* Light Portable Infobox Theme */
   .pi-theme-Light {
      background :#fdff74;
      border:solid 3px #FFD700;
      color: #3d3d3d;
   }

/* Magic Portable Infobox Theme */
   .pi-theme-Magic {
      background :#EDF;
      border:solid 3px #9400D3;
      color: #3d3d3d;
   }

/* Tech Portable Infobox Theme */
   .pi-theme-Tech {
      background :#FFC;
      border:solid 3px #FFA500;
      color: #3d3d3d;
   }

/* Undead Portable Infobox Theme */
   .pi-theme-Undead {
      background :#EEF;
      border:solid 3px #808080;
      color: #3d3d3d;
   }

/* Undead Portable Infobox Theme */
   .pi-theme-Water {
      background :#CEF;
      border:solid 3px #4169E1;
      color: #3d3d3d;
}

/* Gallery fixes in FD's dark mode */
.theme-fandomdesktop-dark .pi-image-collection .wds-tabs__tab {
   color: #3d3d3d;
}

.pi-image-collection .wds-is-current {
    color: var(--theme-accent-color) !important;
}

/************************/
/* END Portable Infobox */
/************************/

/* Styles for CharElemList */
.char-elem-list {
	background-color: var(--theme-page-background-color--secondary);
}

/* Making gallery captions readable in light/dark themes */
.wikia-gallery-caption-below .lightbox-caption {
	color: rgba(var(--theme-page-text-color--rgb),.9);
}