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; }D

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: #114; }

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

/* message box padding */ .messagebox, .errorbox, .warningbox, .successbox { padding:12px; }

/* main page boxes */ .mainpagebox { border: 1px solid #3B587E; padding: 2px; background: #F8F8FF; } .mainpagebox p { margin: 0.9em 0 1em; } .mainpagebox#welcome { padding: 2px 2px 2px 0; } .mainpagebox#nav { font-size: 120%; padding: 2px 2px 5px 0; background: #FDFDFF; border-color: #999; } .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: 1px solid #567CAF; font-size: 120%; font-weight: bold; color: #FFFFFF; text-align: center; } .mainpagebox#featured h2 { background: #009D00; border-color: #005100; }

.mainpagebox#poll h2 { background: #9B04FF; border-color: #4F0084; }

.mainpagebox#news h2 { background: #1C49FF; border-color: #001C8A; } .mainpagebox#dyk h2 { background: #FF8000; border-color: #914800; }

.mainpagebox#helping-out h2 { background: #FF4868; border-color: #C60023; }

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

padding: 2px 2px 5px 0; background: #FDFDFF; border: 1px solid gray; }
 * 1) nav.mainpagebox {

.mainpagebox#poll .poll__question-media > div { border: 1px solid #3B587E; }
 * 1) mf-poll .poll__question-media > div,

/* link colors */

/** main page **/
 * 1) mp-body a, .mainpagebox a { color: #00f !important; }
 * 2) mp-body a:active, .mainpagebox a:active { color: orange !important; }
 * 3) mp-body a:visited, .mainpagebox a:visited { color: #00c !important; }
 * 4) mp-body a.new, .mainpagebox a.new { color: #C20 !important; }
 * 5) mp-body a.new:visited, .mainpagebox a.new:visited { color: #a55858 !important; }
 * 6) mp-body .mw-parser-output a.extiw { color: #06f !important; }
 * 7) mp-body .mw-parser-output a.extiw:visited { color: #3366BB !important; }
 * 8) mp-body .mw-parser-output a.external { color: #06f !important; }
 * 9) mp-body .mw-parser-output a.external:visited { color: #0044CC !important; }

/** aboutfile **/
 * 1) aboutfile a { color: #00f !important; }
 * 2) aboutfile a:active { color: orange !important; }
 * 3) aboutfile a:visited { color: #00c !important; }
 * 4) aboutfile a.new { color: #C20 !important; }
 * 5) aboutfile a.new:visited { color: #a55858 !important; }
 * 6) aboutfile a.extiw { color: #06f !important; }
 * 7) aboutfile a.extiw:visited { color: #3366BB !important; }
 * 8) aboutfile a.external { color: #06f !important; }
 * 9) aboutfile a.external:visited { color: #0044CC !important; }

/** infobox **/ .infobox a { color: #00f !important; } .infobox a:active { color: orange !important; } .infobox a:visited { color: #00c !important; } .infobox a.new { color: #C20 !important; } .infobox a.new:visited { color: #a55858 !important; } .infobox a.extiw { color: #06f !important; } .infobox a.extiw:visited { color: #3366BB !important; } .infobox a.external { color: #06f !important; } .infobox a.external:visited { color: #0044CC !important; }

/** copyright templates **/ .notice-template.copyright a { color: #00f !important; } .notice-template.copyright a:active { color: orange !important; } .notice-template.copyright a:visited { color: #00c !important; } .notice-template.copyright a.new { color: #C20 !important; } .notice-template.copyright a.new:visited { color: #a55858 !important; } .notice-template.copyright a.extiw { color: #06f !important; } .notice-template.copyright a.extiw:visited { color: #3366BB !important; } .notice-template.copyright a.external { color: #06f !important; } .notice-template.copyright a.external:visited { color: #0044CC !important; }

/** maintenance tables **/ table#maintenance a { color: #00f !important; } table#maintenance a:active { color: orange !important; } table#maintenance a:visited { color: #00c !important; } table#maintenance a.new { color: #C20 !important; } table#maintenance a.new:visited { color: #a55858 !important; } table#maintenance a.extiw { color: #06f !important; } table#maintenance a.extiw:visited { color: #3366BB !important; } table#maintenance a.external { color: #06f !important; } table#maintenance a.external:visited { color: #0044CC !important; }

/* revision info */ div#viewingold-warning { background: #F9F9F9; border: 1px solid #AAA; color:#000 !important; font-weight: bold; margin: .5em 0 .5em; padding: .5em 1em; clear: both; }

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

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

/* Links */ a { color: #D9D919; } a:active { color: #F9F939; } a:visited { color: #C0C000; } a.new:active { color: #B95959; } .mw-parser-output a.extiw { color: #09C; } .mw-parser-output a.extiw:visited { color: #69C; } .mw-parser-output a.external { color: #09C; } .mw-parser-output a.external:visited { color: #69C; }

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

/* fake links */ span.fakelink { color: #D9D919; cursor: pointer; } span.fakelink:hover { text-decoration: underline; }

/* 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_Rarepedia.action-view #mw-subcategories .mw-category-group:last-of-type, body.page-Category_Rarepedia.action-view #catlinks { display: none; }

/* Infobox templates */

.infobox { background-color: #fff; border: 1px solid #AAA; 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 coloring */

.infobox.red { border: 1px solid #F98686; background: #FFF5EE; } .infobox.red > tbody > tr:first-child > * { background: #FAAAAA; } .infobox.red > tbody > tr:nth-child(2n+3) { background: #FFE4E1; } .infobox.blue { border: 1px solid #88A; background: #F8F8FF; } .infobox.blue > tbody > tr:first-child > * { background: #10274C; color: #fff; } .infobox.blue > tbody > tr:nth-child(2n+3) { background: #C5CED6; } .infobox.green { border: 1px solid #88AA88; background: #F8FFF7; } .infobox.green > tbody > tr:first-child > * { background: #8AFA8A; } .infobox.green > tbody > tr:nth-child(2n+3) { background: #AAFFAA; } .infobox.lightblue { border: 1px solid #00004C; background: #F0F8FF; } .infobox.lightblue > tbody > tr:first-child > * { background: #5993E5; } .infobox.lightblue > tbody > tr:nth-child(2n+3) { background: #BDD4F5; } .infobox.orange { border: 1px solid #FF5300; background: #FFF7EE; } .infobox.orange > tbody > tr:first-child > * { background: #FF8A4A; } .infobox.orange > tbody > tr:nth-child(2n+3) { background: #FF9C77; } .infobox.gray { border: 1px solid #000; background: #F5F5F5; } .infobox.gray > tbody > tr:first-child > * { background: #D3D3D3; } .infobox.gray > tbody > tr:nth-child(2n+3) { background: #DCDCDC; }

.infobox.game { border: 1px solid #AAAA88; background: #FAFADA; } .infobox.game > tbody > tr:first-child > * { background: gold; } .infobox.game > tbody > tr:nth-child(2n+3) { background: #9999FF; }

.infobox.company { border: 1px solid #A88; background: skyblue; } .infobox.company > tbody > tr:first-child > * { background: #0000FF;color:#FFF; } .infobox.company > tbody > tr:nth-child(2n+3) { background: steelblue; }

/* 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; color:#000; 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; }

/* button template */

span.longbutton { color: #000; font-size: smaller; font-variant: small-caps; white-space: nowrap; background: #fff; border: 1px solid #000; border-radius: 1em; padding: 0 0.5em; display: inline; } span.roundbutton { color: #000; width: 10px; height: 16px; font-size: smaller; font-variant: small-caps; white-space: nowrap; background: url(https://static.miraheze.org/rarewiki/7/75/Def_Button.svg) no-repeat; padding: 0 3px; display: inline-block; overflow: hidden; }

/* White border & cell tables */ table.table, table.table {background:#226;margin:1em 0;border:1pt solid #AAA;border-collapse:collapse;color:#FFF} table.table > * > tr > td, table.table > * > tr > th, table.table > * > tr > td, table.table > * > tr > th {border:1pt solid #FFF;padding:0.2em 0.4em}

/* coloring fixes */ .mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend { background-color: #225; }

background: #226; padding-left: 1em; }
 * 1) managewiki .managewiki-submit-formfields {

.mw-search-profile-tabs, .mw-changeslist-legend { background: #226; }

div.thumb { color:#000; }

div.noarticletext { background: #060669; color: #FFF; }

.search-types .current a { color: #FFF; cursor: default; }

.oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle { color: #000; }

.mw_metadata td, .mw_metadata th { background:#226; }

color: #FFF; }
 * 1) contentSub, #contentSub2, #mw-revision-info, #mw-revision-info-current, #mw-revision-nav {

color: #D9D919; }
 * 1) contentSub, #contentSub2 a {

.mw-plusminus-neg { color: #F00; }

.mw-plusminus-pos { color: #0F0; }

background-color: #226; }
 * 1) filetoc {

.CategoryTreeToggle { color: gold; }

.mw-metadata td, .mw-metadata th { background-color: #226; color:#FFF; }

background-color: #226; color: #FFF; }
 * 1) pagehistory li.selected {

.diff-addedline { background:#9C9; color:#000; border-color:#a3ffcf} .diff-deletedline { background:#BB6; color:#000 }

.wikitable > tr > th, .wikitable > * > tr > th { color:#000; }

fieldset { border: 1px solid #AAA; }

.warningbox a, .editOptions a { color: #00f; }

ol.references li:target, sup.reference:target { background-color: #446; }

pre, code, .mw-code { color: #FFF; }

.wikiEditor-ui-toolbar .booklet > .index { color: #000; }

code { background:none } table.gallery, table.gallery td { background:#336 } div.tleft, div.tright {border-color:#060669} div.thumb, div.thumbinner, li.gallerybox div.thumb { color:white;background:#114 } table.diff { background:#060669 } td.diff-otitle { background:#060669 } td.diff-ntitle { background:#060669 } td.diff-context { background:#336;color:#FFF }
 * 1) siteSub { display:inline;font-size:90%;color:#CCC;font-weight:normal; }
 * 1) allmessagestable th, #allmessagestable tr.orig, #allmessagestable tr.new, #allmessagestable tr.def { color:black; }

/** toc **/

background: #226; color: #FFF; }
 * 1) toc {

.tocnumber { color: #FFF; }

.toctogglelabel { color:#D9D919; }

.toc, .toccolours { background-color: #226; }

/** wikitable **/

.wikitable { color: #FFF; background: #226; }

.wikitable > tr > th, .wikitable > * > tr > th { background-color: #114; color: #FFF; }

.wikitable > tr > th, .wikitable > tr > td, .wikitable > * > tr > th, .wikitable > * > tr > td { border: 1px solid #AAA; }

/* DK tables */ table.dktable, table.dktable-brown { color: #000; background: #fff; border: 1pt solid #000; border-collapse: collapse; margin: 1em 0; } table.dktable > * > tr > td, table.dktable > * > tr > th, table.dktable-brown > * > tr > td, table.dktable-brown > * > tr > th { border: 1pt solid #000; padding: 0.2em 0.4em; } table.dktable-brown > * > tr > th { background: #BB8855; } table.dktable-brown > * > tr:nth-child(odd) > td { background: #FFF8DC; } table.dktable-brown > * > tr:nth-child(even) > td { background: wheat; }