MediaWiki:Common.css

/* CSS placed here will be applied to all skins */

/* Mark redirects on Special:AllPages and Special:EditWatchlist */ .allpagesredirect a.mw-redirect, .watchlistredir a.mw-redirect { color: #888 !important; }

/* thumbnails and galleries */ margin-bottom: 3px; }
 * toc, .toc {

div.tleft, div.tright { margin-top: 0.2em; margin-bottom: 0.8em; } .thumb .mediaContainer { margin: 4px auto 2px; } .thumb .multiVert .mediaContainer { margin: 3px auto -1px; }

ul.gallery, li.gallerybox div.thumb { margin-bottom: 0; padding-bottom: 0; }

margin: 2px; padding: 2px; } li.gallerycaption { text-align: unset; }
 * 1) bodyContent ul.gallery {

/* make the ban notice red */

.warningbox { border: 1px solid darkred; background: #ffcfcf; }

/* blockquote */ blockquote { border-left: 3px solid #ff0066; margin-left: 2em; padding-left: 1em; }

/* image thumbnail improvements */ img, .results .list-thumb:not(.list-thumb-none), .ext-related-articles-card-thumb:not(.ext-related-articles-card-thumb-placeholder) { image-rendering: crisp-edges; image-rendering: pixelated; }

/* Indicator icons */ .mw-indicators, position: relative; } .mw-indicator { margin: 0 2px; }	display: none; }
 * 1) mw-indicator-shortcut {
 * 1) mw-indicator-mw-helplink {

/* category links */ margin: 0.28em 0; line-height: 1em; }
 * 1) catlinks li {

/* main page */ body.page-The_Kirby_Encyclopedia.action-view h1.firstHeading, body.page-The_Kirby_Encyclopedia.action-view #siteSub, body.page-The_Kirby_Encyclopedia.action-view #catlinks, body.page-The_Kirby_Encyclopedia.action-view #lastmod, body.page-The_Kirby_Encyclopedia.action-view .mw-revision { display: none; }

body.page-Main_Page.action-view #bodyContent { margin-top: 16px; } body.page-Main_Page.action-view .usermessage { margin-top: 43px; }

.MainTopText a { color: black !important; text-decoration: none; } .MainTopText a:hover { color: black; text-decoration: underline; } .mainpagebox { border: 2px solid #9c496c; padding: 2px; background: #F8F8FF; border-radius: 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#dyk { margin-top: 10px; }

.mainpagebox#featured-image { margin-top: 10px; }

.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 #af567c; font-size: 120%; font-weight: bold; color: #fff; text-align: center; border-radius: 0.75em; } .mainpagebox#featured-article h2 { background:#FF4868; border-color: #C60023; } .mainpagebox#featured-image h2 { background:#DA582B; border:1px solid #9D0000; } .mainpagebox#news h2 { background:#8C00EA; border:1px solid #4F0084; } .mainpagebox#dyk h2 { background:#39A5FF; border:1px solid #3b587e; }

.mainpagebox p { margin: 0.9em 0 1em; }

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

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

.infobox.character { border: 1px solid #8a8; background: #CCCCFF; } .infobox.character > tbody > tr:first-child > td { background: #D8B5DA; } .infobox.character > tbody > tr:nth-child(2n+3) { background: #D8B5DA; }

.infobox.enemy { border: 1px solid #8a8; background: #c6eff7; } .infobox.enemy > tbody > tr:first-child > td { 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 > td { background: #57E964; } .infobox.level > tbody > tr:nth-child(2n+3) { background: #57E964; }

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

/* Navigation templates */

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

.mw-collapsible-toggle { padding-right: 0.3em; }

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

/* kirby */

.navbox.kirby tr:first-child th, .navbox.kirby tr:first-child th a { color: #FFF !important; }

.navbox.kirby tr:first-child th { background-color:#FF4868; }

.navbox.kirby tr th { background: none repeat scroll 0 0 #FF96A8; }

.navbox.kirby tr:not(:first-child) th:not([rowspan]):not([colspan]) { background: none repeat scroll 0 0 #FFD1D9; }

/* tables */

.games { background: #ffa8a8; border: 1px solid #000; border-radius:5px; margin-bottom: 7px; }

.games tbody tr { background: #fff; padding:2px; }

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

a.mw-selflink { color: inherit !important; }

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

/* table templates */

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

/* References */ ol.references { margin-top: 0; font-size: 90%; } ol.references div { display: inline; } ol.references span { line-height: 1; }

/* User pages */ .ns-2 #mw-content-text p > img { max-width: 100% !important; height: auto !important; }

/* User talk pages */ .ns-3 [style*="position:fixed"], .ns-3 [style*="position: fixed"] { display: none; }

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

/* All pages */

position: relative; }
 * 1) bodyContent {

/* Upload form */ display: none; }
 * 1) mw-htmlform-description .mw-editTools {

/* Edit box */ .wikiEditor-ui-toolbar .section-main, .wikiEditor-ui-toolbar .tabs { height: auto; } .wikiEditor-ui textarea#wpTextbox1 { height: 474px; line-height: 1.4em; } .mw-summary-preview { margin-bottom: 0.5em; }	padding-bottom: 0.5em; }	margin-right: 3px; }
 * 1) wpSummaryLabel .oo-ui-textInputWidget textarea,
 * 2) wpSummaryLabel .oo-ui-textInputWidget input {
 * 1) wpSummaryWidget .oo-ui-labelElement-label {

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

/* Diff text */ .diffchange { font-weight: normal; } .diff-addedline, .diff-deletedline, .diff-context { font-size: 92%; }

/* OOUI fix */ .oo-ui-optionWidget.oo-ui-labelElement > .oo-ui-labelElement-label { overflow: visible; }

/* Video widget */ .infobox .videoWidget, .infobox .videoWidget iframe { display: block !important; } .infobox .autoResize { margin: 0 auto !important; } .autoResize:not(.thumbinner) .thumbcaption { margin: 0; padding: 0; } .videoWidget + p { margin: 0; }

/* Dismissable site notice */ .sitedir-ltr .mw-dismissable-notice-body { margin: 0 60px 0 0; } .sitedir-rtl .mw-dismissable-notice-body { margin: 0 0 0 60px; }

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

/* New user message box */ .usermessage { margin-top: 1em; }

/* Width fixes */ table { max-width: 100%; } @media all and (max-width: 1100px) { .mw-parser-output table { min-width: 0 !important; } }

/* Media player fix */ .wikitable .mediaContainer { margin-top: 2px; }

/* Captcha spacing */ margin-top: 2.5px; }	margin-top: 10px; }	margin-bottom: 5px; } .mw-htmlform-field-HTMLReCaptchaNoCaptchaField .mw-input { margin-top: 1px; } .editOptions .g-recaptcha { margin-bottom: 10px; } .mw-ui-vform { width: 302px; }
 * 1) editform #wpCaptchaWord {
 * 1) userloginForm label:not([for]) + .mw-input {
 * 1) userloginForm .mw-ui-vform-field:nth-of-type(7) {

/* Keep create account benefits up top */ .mw-special-CreateAccount #userloginForm { margin-right: 90px; }

/* Multimedia viewer */ .mw-mmv-image img { background: #fff !important; } .mw-mmv-filepage-buttons, .mw-mmv-reuse-pane .oo-ui-widget-disabled { display: none !important; } .mw-mmv-overlay { z-index: 10000000000; } .mw-mmv-wrapper { z-index: 10000000001; font-size: medium; }

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

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

/* Image classes */ img.blackbg { background: #000 !important; } img.graybg, img.greybg { background: #808080 !important; }

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

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

/* Horizontal rule */ hr { overflow: hidden; }

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

/* Misc / Unsorted */

.special li { line-height: 19px; }	color: #00c; } .easywrap { width: 100%; table-layout: fixed; word-wrap: break-word; overflow: hidden; } .right { text-align: right; }
 * 1) preftoc a:active {

pre { overflow: auto; }

.mw_metadata { margin-top: 5px; }