MediaWiki:Gadget-GlobalStyle.css

/* CSS placed here will be applied to all skins on both desktop and mobile The "mobile" body class can be used to target mobile specifically */

.mw-wiki-logo { background-size: 150px; }

.mw-special-Upload .noupload, .useronly, .autoconfonly, .editprotected, .editinterface { display: none; }

body.anon.ns-content.action-view.desktop .notice-template.show { margin-top: 0 !important; }

/* Site notice */ padding: 0 !important; background: none !important; }
 * 1) localNotice a.external {

/* Image thumbs */ html .thumbimage { background-color: #fff; }

/* 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 classes */ .gallery.center { margin-left: auto !important; margin-right: auto !important; } .gallery.centertext .gallerytext { text-align: center !important; }

/* Gallery slideshow */ .mw-gallery-slideshow .gallerybox + .gallerybox { display: none; } .mw-gallery-slideshow-thumbnails-toggled ~ .gallerybox { display: inline-block !important; }

/* main page box */

padding:0.5em; background:#EAEEFF; border:2px solid #9093B8; margin-top:5px; vertical-align:top; }
 * 1) mainpagebox {

font-size:110%; padding:5px; background-color:#000000; color:white; text-align:center; font-weight:bold; }
 * 1) mpheader {

/* File pages */ background: url(https://static.miraheze.org/kirbywiki/7/73/Checker.png) repeat; }
 * 1) file img, .filehistory a img {

/* Media player */ .thumb .video-js { margin-left: auto; margin-right: auto; } .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-volume-vertical, .vjs-mouse-display .vjs-time-tooltip { background: #111; } .video-js { overflow-x: clip; display: block !important; } .video-js .vjs-control-bar { background: #000; } /* Newbie bug fix */ body.newbie .video-js { overflow: hidden !important; } body.newbie .vjs-time-tooltip { display: none !important; }
 * 1) file > .video-js { display: inline-block !important; }

/* Formatting fixes */ pre { overflow: auto; } hr { overflow: hidden; } div[style*="column-"] > p { margin: 0 !important; } .mw-parser-output table sup { white-space: nowrap; } span.comment, .mw-parser-output a.external.free, .filehistory.wikitable td[dir] { word-wrap: anywhere; }

/* Margin fixes */ .ns-subject:not(.ns-110) #mw-content-text li > ul, .ns-subject:not(.ns-110) #mw-content-text li > ol { margin-top: 0.1em !important; } .ns-subject:not(.ns-110) #mw-content-text dl + ul, .ns-subject:not(.ns-110) #mw-content-text dl + ol { margin-top: -0.3em !important; } .ns-subject:not(.ns-110) #mw-content-text ul + dl, .ns-subject:not(.ns-110) #mw-content-text ol + dl { margin-top: 0.3em !important; }

/* Scrollable tables */ table.scrollable { display: block; overflow: auto; max-width: max-content; border: 0; }

/* Show/hide toggles */ .navbox .mw-collapsible-toggle { text-align: right; min-width: 3.729em; } .wikitable.mw-collapsed .mw-collapsible-toggle { margin-left: 10px; }

/* Links */ a { color: #00f; } a:active { color: orange; } 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; }

/* Link fixes */ body.mediawiki a.mw-selflink { color: inherit !important; cursor: inherit !important; text-decoration: inherit !important; font-weight: bold !important; } a font:hover, a span:hover { text-decoration: inherit; } .autocomment a:hover { color: inherit; }

/* Hide help indicator */
 * 1) mw-indicator-mw-helplink { display: none; }

/* Special:Preferences */
 * 1) mw-htmlform-mobile .oo-ui-inline-help { display: none; }

/* Special:Contact */ .mw-special-Contact fieldset div[data-ooui*="wpSubject"] { display: none; } .mw-special-Contact #wpCaptchaWord, .mw-special-Contact fieldset div[data-ooui*="HTMLInfoField"], .mw-special-Contact.desktop fieldset div[data-ooui*="wpCCme"] { margin-top: 2px; } .mw-special-Contact fieldset div[data-ooui*="CAPTCHA"] { margin-top: 1em; }

/* Watchlist expiry (icon fix) */ .oo-ui-icon-clock, .mw-ui-icon-clock::before { background-image: linear-gradient(transparent,transparent),url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2220%22 height=%2220%22 viewBox=%220 0 20 20%22%3E%3Ctitle%3Eclock%3C/title%3E%3Cpath d=%22M10 0a10 10 0 1010 10A10 10 0 0010 0zm2.5 14.5L9 11V4h2v6l3 3z%22/%3E%3C/svg%3E"); } .mw-changesList-watchlistExpiry.oo-ui-iconElement-icon { height: 13px; min-height: 13px; position: relative; top: -1px; opacity: 0.51; }

/* Pixelated gallery/interface image upscaling */ ul.gallery img, table.filehistory img, table.listfiles img, table.searchResultImage img { image-rendering: crisp-edges; image-rendering: pixelated; }

/* Root category */ body.page-Category_Metroidpedia.action-view #mw-subcategories h3:last-of-type, body.page-Category_Metroidpedia.action-view #mw-subcategories ul:last-of-type, body.page-Category_Metroidpedia.action-view #catlinks { display: none; }

/* Infobox templates */

.infobox { background-color: #fff; border: 1px solid gray; float: right; font-size: 88%; width: 300px; margin:0 0 1em 1.15em; padding:4px; }

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

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

.infobox.bordered { border-collapse: collapse; } .infobox.bordered td, .infobox.bordered th { border: 1px solid #000; }

.infobox.bordered.gray td, .infobox.bordered.gray th { border: 1px solid #aaa; }

.infobox td, .infobox th, .infobox.bordered td, .infobox.bordered th { padding: 2px; }

/* infobox colors */ .infobox { color: #000; } .infobox.red { border: 1px solid #F98686; background: #FFF5EE; } .infobox.red > tbody > tr:first-child > td { background: #FAAAAA; } .infobox.red > tbody > tr:nth-child(2n+3) { background: #FFE4E1; } .infobox.green { border: 1px solid #88AA88; background: #F8FFF7; } .infobox.green > tbody > tr:first-child > td { background: #8AFA8A; } .infobox.green > tbody > tr:nth-child(2n+3) { background: #AAFFAA; } .infobox.orange { border: 1px solid #FF5300; background: #FFF7EE; } .infobox.orange > tbody > tr:first-child > td { background: #FF8A4A; } .infobox.orange > tbody > tr:nth-child(2n+3) { background: #FF9C77; } .infobox.gray { border: 1px solid #000; background: whitesmoke; } .infobox.gray > tbody > tr:first-child > td { background: lightgray; } .infobox.gray > tbody > tr:nth-child(2n+3) { background: gainsboro; }

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

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

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

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

/* forum formatting */ .forumheader { border: 1px solid #88A; background-color: #F8F8FF; margin-top: 1em; margin-bottom: 1em; padding: 8px; } .forumlist td.forum_edited a { color: #000; text-decoration: none; } .forumlist td.forum_title a { padding-left: 20px; } .forumlist td.forum_title a.forum_new { font-weight: bold; padding-left: 20px; } .forumlist td.forum_title a.forum_new:visited { background: none; font-weight: normal; padding-left: 20px; } .forumlist th.forum_title { padding-left: 20px; }

/* Tabs fix */ .tabber { display: inline-block; } .tabbertab:not(:first-of-type) { display: none; } .tabbertab:first-child { padding: 6px; margin-top: 26px; } .mw-parser-output > .tabber { display: table; margin-bottom: 0.5em; } .infobox .tabbertab:first-child, .infobox p.mw-empty-elt:first-child + .tabbertab { padding: 6px; margin-top: 24px; } .infobox .tabber:not(.tabberlive) { display: block; } .tabbertab > p:first-child { margin-top: 0.2em; } .tabbertab > p:last-child { margin-bottom: 0; }

.mobile .tabbertab:first-child { margin-top: 0; padding-top: 31.5px; } .mobile.skin-timeless .tabbertab:first-child { padding-top: 33.6px; } .mobile.skin-timeless .infobox .tabbertab:first-child { padding-top: 31px; } .mobile .infobox .tabbertab:first-child { padding-top: 29px; }

/* Black border & cell tables */ table.table, table.table {background:#fff;margin:1em 0;border:1pt solid #000;border-collapse:collapse;color:black} table.table > * > tr > td, table.table > * > tr > th, table.table > * > tr > td, table.table > * > tr > th {border:1pt solid #000;padding:0.2em 0.4em}