MediaWiki:Common.css: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
No edit summary
m (Text replacement - "url(/resources" to "url(https://mario.wiki.gallery/resources")
Line 47: Line 47:


#file img {
#file img {
background: url(/resources/src/mediawiki.action/images/checker.png) repeat;
background: url(https://mario.wiki.gallery/resources/src/mediawiki.action/images/checker.png) repeat;
}
}
.mw_metadata {
.mw_metadata {

Revision as of 03:34, February 27, 2021

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

/* Staff highlights */ /* Edit here: https://www.mariowiki.com/MediaWiki:Gadget-StaffHighlights.css */

/*

Shared interface

*/

  1. n-Anniversary { display: none; }

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

textarea, .CodeMirror { background: #fff url(/images/marioeditbg.jpg); } pre { overflow: auto; }

  1. toc, .toc {

margin-bottom: 3px; }

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; } .ns-104 div.thumb { border-color: transparent; }

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

  1. bodyContent ul.gallery {

margin: 2px; padding: 2px; } li.gallerycaption { text-align: unset; }

  1. file img {

background: url(checker.png) repeat; } .mw_metadata { margin-top: 5px; }

.catlinks { background: #f9f9f9 url(/images/papermariohead.jpg) no-repeat center right; margin-top: 10px; }

  1. catlinks li {

margin: 0.28em 0; line-height: 1em; }

blockquote { border-left: 3px solid #06f; margin-left: 2em; padding-left: 1em; }

.mw-collapsible-toggle { padding-right: 0.3em; } .infobox .mw-collapsible-toggle-expanded { padding-left: 0.5em; } .contentbox > .mw-collapsible-toggle { float: none !important; }

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

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

.ns-3 [style*="position:fixed"] { display: none; }

.ipa { font-family: "Arial Unicode MS","Charis SIL","DejaVu Sans",Gentium,"Lucida Sans Unicode","TITUS Cyberbit","DoulosSIL",Arial; }

/*

All pages

*/

  1. bodyContent {

position: relative; } .mw-newarticletext { margin-bottom: 10px; }

/* Notice templates */ body:not(.ns-6) .notice-template + .notice-template { margin-top: -0.375em !important; }

  1. mw-imagepage-content .notice-template + #aboutfile {

margin-top: 0.75em !important; }

  1. mw-imagepage-content .notice-template:not(#aboutfile) {

margin-top: 0.75em !important; margin-bottom: 2.5px !important; } .notice-template.copyright { margin: 2.5px auto !important; } .notice-template p { margin: 0.6em 0; }

/* Upload form */

  1. mw-htmlform-description .mw-editTools {

display: none; }

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

  1. wpSummaryLabel .oo-ui-textInputWidget textarea,
  2. wpSummaryLabel .oo-ui-textInputWidget input {

padding-bottom: 0.5em; }

  1. wpSummaryWidget .oo-ui-labelElement-label {

margin-right: 3px; }

/* Watchlist expiry */

  1. wpWatchlistExpiry, #wpWatchlistExpiryWidget .oo-ui-dropdownWidget-handle {

height: auto; min-height: 0; padding-top: 4px; padding-left: 7px; padding-bottom: 3px; }

/* 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 SiteNotice */ .sitedir-ltr .mw-dismissable-notice-body { margin: 0 60px 0 0; } .sitedir-rtl .mw-dismissable-notice-body { margin: 0 0 0 60px; }

/* Captcha spacing */

  1. editform #wpCaptchaWord {

margin-top: 2.5px; } .mw-ui-vform-field:nth-of-type(6) .mw-input { margin-top: 10px; }

  1. userloginForm .mw-ui-vform-field:nth-of-type(6) {

margin-bottom: 5px; } .mw-input img, #editform img, label img { image-rendering: auto !important; } .mw-htmlform-field-HTMLReCaptchaNoCaptchaField .mw-input { margin-top: 1px; } .editOptions .g-recaptcha { margin-bottom: 10px; } .mw-ui-vform { width: 302px; }

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

/* Adjust inputbox button padding in Firefox */ @-moz-document url-prefix() { .bodySearchWrap .mw-ui-button, .createboxButton { padding-top: 4px; padding-bottom: 5px; } }

/*

Main Page

*/

body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-view .mw-revision, 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 { margin-top: 16px; } body.page-Main_Page.action-view .usermessage { margin-top: 43px; }

body.page-Main_Page .pds-box { width: 100% !important; max-width: none !important; } body.page-Main_Page .pds-vote { padding-bottom: 3px !important; } body.page-Main_Page .pds-question-top { padding-left: 3px !important; }

.MainTopText a { color: black !important; text-decoration: none; } .MainTopText a:hover { color: black; text-decoration: underline; } .mainpagebox { border: 2px solid #496C9C; padding: 2px; background: #F8F8FF; border-radius: 1em; } .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#poll, .mainpagebox#dyk, .mainpagebox.shroom, .mainpagebox.mwe {

       margin-top: 10px;

} .mainpagebox #polltable { margin-bottom: 25px; } .mainpagebox .crowdsignal { margin-bottom: 10px; } .mainpagebox#poll .throbber { display: none; } .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 #567CAF; font-size: 120%; font-weight: bold; color: #FFFFFF; text-align: center; border-radius: 0.75em; } .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.shroom h2 { background: #EC0000; border-color: #9D0000; } .mainpagebox.mwe h2 { background: #FF4868; border-color: #C60023 !important; } .mainpagebox#announce { text-align: center; padding: 2px 2px 0; margin-top: 10px; } .mainpagebox#niwa { padding: 3px 2px 2px; } .mainpagebox h2#tourney { background: #4682B4; } .mainpagebox#tourneysub { background-color: lightsteelblue; border: 2px solid #3b587e; } .mainpagebox#tourneybox { border-collapse: collapse; background: #F8F8FF; }

.newpoll { width: 100%; background: transparent; text-align: center; table-layout: fixed; word-wrap: break-word; } .pollq { padding: 0 3px 0 6px; margin-bottom: -19px; position: relative; background: #F8F8FF; font-weight: bold; }

.MainPageAffiliatesBox { border: none; width: 100%; margin-bottom: 8px; } .affiliates { text-align: center; font-size: 10px; } .affiliates a { background: none !important; padding: 0 !important; } .affiliates img { margin-top: 1px; margin-bottom: 2px; } .affiliates .affiliatesub { background-color: #FFFFFF; padding: 4px; border: 1px solid #790000; background-color: #FFF9F9; }

/*

MarioWiki:Introduction

*/

.IntroPageBox { background-color: #ffe; background-repeat: no-repeat; background-position: bottom right; } .IntroPageBox div.tright { border-color: transparent !important; }

/*

Mariowiki:Proposals

*/

.page-MarioWiki_Proposals #content { background: #fefffe; color: black; border-radius: 8px; border: 2px solid black; background: #ffffff url(/images/8/88/Proposals-bg.png); } .page-MarioWiki_Proposals #p-cactions li.selected a, .page-MarioWiki_Anniversary #p-cactions li.selected a { padding: 0 .8em .3em!important; }

/*

Mariowiki:Anniversary

*/

.page-MarioWiki_Anniversary #content { background: #fffefe; color: black; border-radius: 8px; border: 2px solid black; background: #ffffff url(/images/7/79/Anniversary-bg.png); }

/*

Mariowiki:Chronology

*/

  1. fh1,
  2. fh2,
  3. fh3,
  4. fh4,
  5. fh5,
  6. fh6 {

color: black; background: none; font-weight: normal; margin: 0; padding-top: .5em; padding-bottom: .17em; border-bottom: 1px solid #aaa; }

  1. fh1 {

font-size: 188%; }

  1. fh2 {

font-size: 150%; }

  1. fh3,
  2. fh4,
  3. fh5,
  4. fh6 {

border-bottom: none; font-weight: bold; }

  1. fh3 {

font-size: 132%; }

  1. fh4 {

font-size: 116%; }

  1. fh5 {

font-size: 100%; }

  1. fh6 {

font-size: 80%; }

  1. bodyContent #fh1,
  2. bodyContent #fh2 {

margin-bottom: .6em; }

  1. bodyContent #fh3,
  2. bodyContent #fh4,
  3. bodyContent #fh5 {

margin-bottom: .3em; }

/*

MarioWiki:Chat

*/

body.page-MarioWiki_Chat #content { color: #000; background: #e9e9ff; border: 2px dashed #99f; padding: 20px; } body.page-MarioWiki_Chat #mw-content-text > .mw-parser-output > p:last-of-type { margin-bottom: 0; }

/*

List of games

*/

.games { background: silver; border: 1px solid #000; margin-bottom: 7px; } .games tbody tr { background: #fff; }

/*

Miscellaneous pages

*/

/* MarioWiki:BJAODN */ .rootpage-MarioWiki_BJAODN .mw-wiki-logo { background-image: url(/images/thumb/f/f1/Super_Mario_Wiki_Logo.png/150px-Super_Mario_Wiki_Logo.png); }

/* April Fool's */ [class*="page-MarioWiki_BJAODN_April_Fool_s_2017"] .mw-wiki-logo { background-image: url(/images/archive/4/4c/20170402024126%21Mariowiki.png); } [class*="page-MarioWiki_BJAODN_April_Fool_s_2018"] .mw-wiki-logo { background-image: url(/images/c/cd/Funky_wiki_logo.png); } [class*="page-MarioWiki_BJAODN_April_Fool_s_2019"] .mw-wiki-logo { background-image: url(/images/archive/4/4c/20190402014317%21Mariowiki.png); }

/*

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

/*

Light-colored species templates

*/

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

/*

Super Princess Peach

*/

.navbox.spp tr:first-child th, .navbox.spp tr:first-child th a { color: black !important; } .navbox.spp tr:nth-child(2n) td { background-color: pink; } .navbox.spp tr td { background-color: mistyrose; }

/*

spinoffs

*/

.navbox.spinoff tr:first-child th, .navbox.spinoff tr:first-child th a { color: black !important; } .navbox.spinoff tr:nth-child(2n) td { background-color: #FFFFBB; } .navbox.spinoff tr td { background-color: #FFFFDD; }

/*

RPGs - Paper Mario and Super Mario RPG

*/

.navbox.rpg tr:nth-child(2n) td { background-color: #CFEEFF; } .navbox.rpg tr td { background-color: aliceblue; }

/*

RPGs - Mario & Luigi

*/

.navbox.rpg-ml tr:first-child th, .navbox.rpg-ml tr:first-child th a { color: black !important; } .navbox.rpg-ml tr:nth-child(2n) td { background-color: #CFEEFF; } .navbox.rpg-ml tr td { background-color: aliceblue; }

/*

sports

*/

.navbox.sport tr:first-child th, .navbox.sport tr:first-child th a { color: black !important; } .navbox.sport tr:nth-child(2n) td { background-color: #EFFF9F; } .navbox.sport tr td { background-color: #FFFFCC; }

/*

crossovers

*/

.navbox.crossover tr:nth-child(2n) td { background-color: #E0FFE0; } .navbox.crossover tr td { background-color: #EDFFFF; }

/*

crossovers - Super Smash Bros.

*/

.navbox.crossover-ssb tr:first-child th, .navbox.crossover-ssb tr:first-child th a { color: black !important; } .navbox.crossover-ssb tr:nth-child(2n) td { background-color: #E0FFE0; } .navbox.crossover-ssb tr td { background-color: #EDFFFF; }

/*

Luigi's Mansion

*/

.navbox.lm tr:nth-child(2n) td { background-color: #BBFF99; } .navbox.lm tr td { background-color: #EEFFCC; }

/*

Yoshi

*/

.navbox.yoshi tr:nth-child(2n) td { background-color: #AFFFAA; } .navbox.yoshi tr td { background-color: #ECFFEC; }

/*

Wario

*/

.navbox.wario tr:nth-child(2n) td { background-color: #F8BFF8; } .navbox.wario tr td { background-color: #F8DFF8; }

/*

Donkey Kong

*/

.navbox.dk tr:nth-child(2n) td { background-color: wheat; } .navbox.dk tr td { background-color: #FFF8DC; }

/*

Mario

*/

.navbox.mario tr:nth-child(2n) td { background-color: bisque; } .navbox.mario tr td { background-color: #FFF5EE; }

/*

Super Mario Land

*/

.navbox.mario-sml tr:first-child th, .navbox.mario-sml tr:first-child th a { color: black !important; } .navbox.mario-sml tr:nth-child(2n) td { background-color: bisque; } .navbox.mario-sml tr td { background-color: #FFF5EE; }

/*

alternate media

*/

.navbox.media tr:first-child th, .navbox.media tr:first-child th a { color: black !important; } .navbox.media tr:nth-child(2n) td { background-color: #FFEAAA; } .navbox.media tr td { background-color: #FFFFC0; }

/*

consoles

*/

.navbox.console tr:first-child th, .navbox.console tr:first-child th a { color: black !important; } .navbox.console tr:nth-child(2n) td { background-color: #F5F5F5; } .navbox.console tr td { background-color: #FBFBFB; }

/*

Former subpages

*/

.navbox.subpage tr:first-child th { background-image:url(/images/1/1a/Temp_SMB_a.png), url(/images/1/1d/Temp_SMB_b.png); background-repeat:no-repeat,no-repeat; background-attachment:scroll, scroll; background-color:#6B8CFF; background-position:left center, right center; text-align:center; font-size:12px; color:white; } .navbox.subpage tr:nth-child(2n) td { background-color: lavender; } .navbox.subpage tr td { background-color: ghostwhite; }

/*

Template:Delete

*/

.notice-template#delete { background: #333; color: white; } .notice-template#delete a:not(.new) { color: yellow; }

/*

Template:Button

*/

.defaultbutton { background: white; border: 1px solid black; padding: 0px 0.5em; border-radius: 1em; font-variant: small-caps; color: black; font-size: smaller; white-space:nowrap; display: inline; } .button{ background:url(/images/thumb/7/75/Def_Button.svg/16px-Def_Button.svg.png) no-repeat; font-size:smaller; font-variant:small-caps; padding:0 3px; white-space:nowrap; width:10px; height:16px; display:inline-block; overflow:hidden }

/*

Template:PipeWarning

*/

.pipe { background: #d4e6ea url(/images/f/fd/Pipewarning_image.png) repeat; padding: 0.3em; color: black; }

/*

Template:Sigbox

*/

.sigbox { background: url(/images/sigboxbg.png) no-repeat top left; min-height: 35px; min-width: 295px; }

/*

Template:Fake link

*/

.fakelinks { cursor: pointer; color: #002bb8; } .fakelinks:hover { text-decoration: underline; }

/*

Template:Shroom

*/

.template-shroom ul, .template-shroom ul li { list-style-image:url(/images/3/35/Shroombull.png); }

/*

Template:NIWA

*/

.niwa-ext, .niwa-ext tr, .niwa-ext td, .niwa-ext th { border: 0px; padding: 0px; margin: 0px; }

/*

Misc / Unsorted

*/

.special li { line-height: 19px; }

  1. preftoc a:active {

color: #00c; } .oldh3 { font-size: 132%; } .spoiler { width: 70%; padding: 0.2em; margin: 10px; border-top: 2px solid #ccc; border-bottom: 2px solid #ccc; } .easywrap { width: 100%; table-layout: fixed; word-wrap: break-word; overflow: hidden; }

  1. disambig {

border-top: 3px double #cccccc; border-bottom: 3px double #cccccc; } .right { text-align: right; }

/* DK table basic styling */ table.dktable, table.dktable-brown {background:#fff;margin:1em 0;border:1pt solid #000;border-collapse:collapse;color:black} 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}

/* DK tables brown rows coloring */ 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}

/* Creates a div class that can be used to add mouse-over functionality. */ .hoverexpand { height: 18px; padding: 2px; overflow: hidden; *overflow: visible; _overflow: visible; } .hoverexpand:hover { height: 100%; overflow: visible; }

/* Indicator icons */ .mw-indicators,

  1. mw-indicator-shortcut {

position: relative; } .mw-indicator { margin: 0 2px; } .mw-indicator img { image-rendering: auto !important; }

  1. mw-indicator-mw-helplink {

display: none; }

/* 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; } .video-js { overflow: hidden; display: block !important; } .vjs-time-tooltip { display: none !important; }

  1. file > .video-js {

display: inline-block !important; } .thumb .video-js { margin-left: auto; margin-right: auto; } .infobox .video-js { margin-top: 1px; min-width: 200px; width: auto !important; }

/* Multimedia viewer */ .mw-mmv-image img { image-rendering: auto !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; }

/* Who's online */

  1. whosonline {

margin-bottom: 1px; }