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

img { 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; }

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

/* Media files */ .gallery audio { max-width: calc(100% - 30px) !important; } .gallery audio, .gallery video, .thumb audio, .thumb video { display: block; margin: auto; } .filehistory audio, .filehistory video { max-width: 120px !important; }

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

/* 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; }
 * 1) toc { clear: left; }

/** search results **/ .mw-search-result-data { color: #008000; font-size: 97%; }

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

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

/* Explain text */ .explain[title] { cursor: help; border-bottom: 1px dotted; text-decoration: none; }

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

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

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

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

/* infobox templates */ .infobox audio + br { margin-top: 14px; } .infobox td > audio:first-child { margin-top: 2px; }

/* specific infoboxes */ .infobox.game { border: 1px solid #F98686; background: #FFF5EE; } .infobox.game > tbody > tr:first-child > * { background: #FFE4E1; } .infobox.game > tbody > tr:nth-child(2n+3) { background: #FFE4E1; }

.infobox.character { border: 1px solid purple; background: #CCCCFF; } .infobox.character > tbody > tr:first-child > * { background: #D1A8D4; } .infobox.character > tbody > tr:nth-child(2n+3) { background: #D1A8D4; }

.infobox.enemy { border: 1px solid #8a8; background: #c6eff7; } .infobox.enemy > tbody > tr:first-child > * { background: #ffffc6; } .infobox.enemy > tbody > tr:nth-child(2n+3) { background: #ffffc6; }

.infobox.level { background: #C3FDB8; border:1px solid #4CC552; } .infobox.level > tbody > tr:first-child > * { background: #57E964; } .infobox.level > tbody > tr:nth-child(2n+3) { background: #57E964; }

.infobox.system { border: 1px solid #00004C; background: #F0F8FF; } .infobox.system > tbody > tr:first-child > * { background: #5993E5; color:#FFF } .infobox.system > tbody > tr:nth-child(2n+3) { background: #BDD4F5; }

.infobox.green { border: 1px solid #4CC552; background: #C3FDB8; } .infobox.green > tbody > tr:first-child > * { background: #57E964; } .infobox.green > tbody > tr:nth-child(2n+3) { background: #57E964; }

.infobox.gray { background: #ECECF2; border:1px solid #999; } .infobox.gray > tbody > tr:first-child > * { background: #CCD; } .infobox.gray > tbody > tr:nth-child(2n+3) { background: #CCD; }

/* 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#aboutfile { width: 90%; font-size: 95%; background: #eee; margin: 5px auto; border: 1px solid #000; border-collapse: collapse; }

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

/* Template:Sigbox */ div.sigbox { min-width: 295px; min-height: 35px; background: url(https://static.miraheze.org/kirbywiki/2/29/Sigbox.svg) no-repeat top left; }

/* Tables */ .wikitable > tr > th, .wikitable > * > tr > th { background-color: #eaeeff; }

table.kirbytable { color: #000; background: #fff; border: 1pt solid #000; border-collapse: collapse; margin: 1em 0; } table.kirbytable > * > tr > td, table.kirbytable > * > tr > th { border: 1pt solid #000; padding: 0.2em 0.4em; } table.kirbytable > * > tr > th { background:#FFA8A8; }

/* Fake headings */ color: #000; font-weight: normal; background: none; border-bottom: 1px solid #aaa; padding-top: 0.5em; padding-bottom: 0.17em; margin: 0; }	font-weight: bold; border-bottom: none; }	margin-bottom: 0.6em; }	margin-bottom: 0.3em; }
 * fh1, #fh2, #fh3,
 * fh4, #fh5, #fh6 {
 * 1) fh1 { font-size: 188%; }
 * 2) fh2 { font-size: 150%; }
 * 3) fh3 { font-size: 132%; }
 * 4) fh4 { font-size: 116%; }
 * 5) fh5 { font-size: 100%; }
 * 6) fh6 { font-size: 80%; }
 * fh3, #fh4, #fh5, #fh6 {
 * 1) bodyContent #fh1, #bodyContent #fh2 {
 * 1) bodyContent #fh3, #bodyContent #fh4, #bodyContent #fh5 {

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