MediaWiki:Common.css: Difference between revisions
From the Nintendo Wiki, a wiki covering all things Nintendo
Jump to navigationJump to search
Content added Content deleted
(add) |
(styling from https://www.mariowiki.com/MediaWiki:Common.css) |
||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ |
/* CSS placed here will be applied to all skins on desktop */ |
||
/* Navbox style |
|||
Edit here: https://www.mariowiki.com/MediaWiki:Gadget-NavboxStyle.css |
|||
Staff highlights |
|||
Edit here: https://www.mariowiki.com/MediaWiki:Gadget-StaffHighlights.css */ |
|||
/* <h3> Shared interface </h3> */ |
/* <h3> Shared interface </h3> */ |
||
#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 { |
.ns-104 div.thumb { |
||
border-color: transparent; |
border-color: transparent; |
||
} |
} |
||
.catlinks { |
|||
ul.gallery, li.gallerybox div.thumb { |
|||
background: #f9f9f9; |
|||
margin-bottom: 0; |
|||
margin-top: 10px; |
|||
} |
} |
||
#bodyContent ul.gallery { |
|||
margin: 2px; |
|||
padding: 2px; |
|||
} |
|||
li.gallerycaption { |
|||
text-align: unset; |
|||
} |
|||
.mw_metadata { |
|||
margin-top: 5px; |
|||
} |
|||
#catlinks li { |
#catlinks li { |
||
margin: 0.28em 0; |
margin: 0.28em 0; |
||
Line 46: | Line 25: | ||
margin-left: 2em; |
margin-left: 2em; |
||
padding-left: 1em; |
padding-left: 1em; |
||
} |
|||
.mw-collapsible-toggle { |
|||
padding-right: 0.3em; |
|||
} |
|||
.infobox .mw-collapsible-toggle { |
|||
min-width: 39px; |
|||
text-align: right; |
|||
} |
|||
.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; |
|||
} |
|||
/* main page */ |
|||
body.page-Nintendo_Wiki.action-view h1.firstHeading, |
|||
body.page-Nintendo_Wiki.action-view #contentSub > *, |
|||
body.page-Nintendo_Wiki.action-view #siteSub, |
|||
body.page-Nintendo_Wiki.action-view #catlinks, |
|||
body.page-Nintendo_Wiki.action-view #lastmod { |
|||
display: none !important; |
|||
} |
|||
body.page-Mario_Wiki_Main_Page.action-view h1.firstHeading, |
|||
body.page-Mario_Wiki_Main_Page.action-view #contentSub > *, |
|||
body.page-Mario_Wiki_Main_Page.action-view #siteSub, |
|||
body.page-Mario_Wiki_Main_Page.action-view #catlinks, |
|||
body.page-Mario_Wiki_Main_Page.action-view #lastmod { |
|||
display: none !important; |
|||
} |
|||
body.page-Wii_Wiki_Main_Page.action-view h1.firstHeading, |
|||
body.page-Wii_Wiki_Main_Page.action-view #contentSub > *, |
|||
body.page-Wii_Wiki_Main_Page.action-view #siteSub, |
|||
body.page-Wii_Wiki_Main_Page.action-view #catlinks, |
|||
body.page-Wii_Wiki_Main_Page.action-view #lastmod { |
|||
display: none !important; |
|||
} |
|||
body.page-Nintendo_DS_Wiki_Main_Page.action-view h1.firstHeading, |
|||
body.page-Nintendo_DS_Wiki_Main_Page.action-view #contentSub > *, |
|||
body.page-Nintendo_DS_Wiki_Main_Page.action-view #siteSub, |
|||
body.page-Nintendo_DS_Wiki_Main_Page.action-view #catlinks, |
|||
body.page-Nintendo_DS_Wiki_Main_Page.action-view #lastmod { |
|||
display: none !important; |
|||
} |
|||
body.page-Game_Boy_Wiki_Main_Page.action-view h1.firstHeading, |
|||
body.page-Game_Boy_Wiki_Main_Page.action-view #contentSub > *, |
|||
body.page-Game_Boy_Wiki_Main_Page.action-view #siteSub, |
|||
body.page-Game_Boy_Wiki_Main_Page.action-view #catlinks, |
|||
body.page-Game_Boy_Wiki_Main_Page.action-view #lastmod { |
|||
display: none !important; |
|||
} |
|||
body.page-Animal_Crossing_Wiki_Main_Page.action-view h1.firstHeading, |
|||
body.page-Animal_Crossing_Wiki_Main_Page.action-view #contentSub > *, |
|||
body.page-Animal_Crossing_Wiki_Main_Page.action-view #siteSub, |
|||
body.page-Animal_Crossing_Wiki_Main_Page.action-view #catlinks, |
|||
body.page-Animal_Crossing_Wiki_Main_Page.action-view #lastmod { |
|||
display: none !important; |
|||
} |
|||
/* revision info */ |
|||
.mw-revision.warningbox, div.mw-message-box-warning.mw-revision.mw-message-box { |
|||
margin-top:0px; |
|||
padding:0px; |
|||
border:0px; |
|||
background:none; |
|||
} |
|||
#mw-revision-info, #mw-revision-info-current, #mw-revision-nav { |
|||
color: #54595d; |
|||
} |
|||
/* References */ |
|||
ol.references { |
|||
margin-top: 0; |
|||
font-size: 90%; |
|||
} |
|||
ol.references div { |
|||
display: inline; |
|||
} |
|||
ol.references span { |
|||
line-height: 1; |
|||
} |
} |
||
Line 151: | Line 41: | ||
/* <h3> All pages </h3> */ |
/* <h3> All pages </h3> */ |
||
/* Infobox templates */ |
|||
#bodyContent { |
|||
.infobox { |
|||
position: relative; |
|||
float: right; |
|||
clear: right; |
|||
margin: 0 0 1em 1.15em; |
|||
} |
} |
||
.infobox + .infobox, |
|||
.infobox + style + .infobox { |
|||
/* Edit box */ |
|||
clear: none; |
|||
.wikiEditor-ui-toolbar .section-main, |
|||
.wikiEditor-ui-toolbar .tabs { |
|||
height: auto; |
|||
} |
} |
||
.infobox, .infobox-wide { |
|||
.wikiEditor-ui textarea#wpTextbox1 { |
|||
font-size: 88%; |
|||
line-height: 1.4em; |
|||
} |
} |
||
.infobox tr { |
|||
.mw-summary-preview { |
|||
vertical-align: top; |
|||
} |
} |
||
.infobox td, .infobox th, |
|||
#wpSummaryLabel .oo-ui-textInputWidget textarea, |
|||
.infobox-wide td, .infobox-wide th { |
|||
#wpSummaryLabel .oo-ui-textInputWidget input { |
|||
padding |
padding: 2px; |
||
} |
|||
#wpSummaryWidget .oo-ui-labelElement-label { |
|||
margin-right: 3px; |
|||
} |
} |
||
/* |
/* Notice templates */ |
||
body:not(.ns-6) .notice-template + .notice-template { |
|||
.client-js .mw-content-ltr .mw-editsection-bracket:first-of-type, |
|||
margin-top: -0.375em !important; |
|||
.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; |
|||
} |
} |
||
.notice-template.talk, |
|||
body:not(.ns-6) .notice-template.maintenance { |
|||
.client-js .editButtons .editHelp { |
|||
max-width: max-content !important; |
|||
display: none; |
|||
} |
} |
||
.notice-template p { |
|||
margin: 0.6em 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; |
|||
} |
|||
/* 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; |
|||
} |
|||
/* 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; |
|||
} |
} |
||
Line 236: | Line 87: | ||
} |
} |
||
/* |
/* <h3> Miscellaneous pages </h3> */ |
||
.wikitable .mediaContainer { |
|||
margin-top: 2px; |
|||
} |
|||
/* MarioWiki:BJAODN */ |
|||
/* remove box-shadow from notifications */ |
|||
.rootpage-MarioWiki_BJAODN .mw-wiki-logo { |
|||
#pt-notifications-alert .mw-echo-notifications-badge:focus, #pt-notifications-notice .mw-echo-notifications-badge:focus { |
|||
background-image: url(https://mario.wiki.gallery/images/thumb/f/f1/Super_Mario_Wiki_Logo.png/150px-Super_Mario_Wiki_Logo.png); |
|||
box-shadow: none; |
|||
} |
} |
||
/* |
/* April Fool's */ |
||
body[class*="page-MarioWiki_BJAODN_April_Fool_s_2017"] .mw-wiki-logo { |
|||
.infobox .tabbernav { |
|||
background-image: url(https://mario.wiki.gallery/images/archive/4/4c/20170402024126!Mariowiki.png); |
|||
font-size: 90%; |
|||
} |
} |
||
body[class*="page-MarioWiki_BJAODN_April_Fool_s_2018"] .mw-wiki-logo { |
|||
.tabber.info { |
|||
background-image: url(https://mario.wiki.gallery/images/c/cd/Funky_wiki_logo.png); |
|||
display: block; |
|||
float: right; |
|||
margin: 0 0 0.5em 1em; |
|||
} |
} |
||
body[class*="page-MarioWiki_BJAODN_April_Fool_s_2019"] .mw-wiki-logo { |
|||
.tabber.info .nav { |
|||
background-image: url(https://mario.wiki.gallery/images/archive/4/4c/20190402014317!Mariowiki.png); |
|||
display: block !important; |
|||
} |
} |
||
body[class*="page-MarioWiki_BJAODN_April_Fool_s_2021"] .mw-wiki-logo { |
|||
.tabber.info .infobox > tbody > tr:nth-child(2) img { |
|||
background-image: url(https://mario.wiki.gallery/images/archive/4/4c/20210402135134!Mariowiki.png); |
|||
max-width: 100% !important; |
|||
height: auto !important; |
|||
} |
} |
||
body[class*="page-MarioWiki_BJAODN_April_Fool_s_2023"] .mw-wiki-logo { |
|||
.tabber.info table { |
|||
background-image: url(https://mario.wiki.gallery/images/archive/4/4c/20230402112604!Mariowiki.png); |
|||
display: block !important; |
|||
float: none !important; |
|||
width: auto !important; |
|||
max-width: none !important; |
|||
margin: 0 !important; |
|||
overflow-x: auto !important; |
|||
} |
|||
.tabber.info tbody { |
|||
display: table !important; |
|||
width: 100% !important; |
|||
} |
|||
/* Indicator icons */ |
|||
.mw-indicators, |
|||
#mw-indicator-shortcut { |
|||
position: relative; |
|||
} |
|||
.mw-indicator { |
|||
margin: 0 2px; |
|||
} |
|||
/* Explain text */ |
|||
.explain[title] { |
|||
text-decoration: none; |
|||
border-bottom: 1px dotted; |
|||
} |
|||
/* New user message box */ |
|||
.usermessage { |
|||
margin-top: 1em; |
|||
} |
|||
/* search feature fixes */ |
|||
.searchresults { |
|||
margin: 1em 0 1em 0.4em; |
|||
} |
|||
.searchresults .mw-search-exists { |
|||
margin-bottom: 3px; |
|||
} |
|||
/* Width fixes */ |
|||
table { |
|||
max-width: 100%; |
|||
} |
|||
@media all and (max-width: 1100px) { |
|||
.mw-parser-output table { |
|||
min-width: 0 !important; |
|||
} |
|||
} |
|||
/* 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; |
|||
} |
|||
/* Mobile only */ |
|||
.mobileonly { |
|||
display: none; |
|||
} |
|||
/* <h3> Miscellaneous pages </h3> */ |
|||
body.ns-3006 .mw-wiki-logo, body.ns-3007 .mw-wiki-logo { |
|||
background-image: url(https://static.miraheze.org/nintendowiki/d/d2/MarioWiki.png) !important; |
|||
} |
|||
body.ns-3008 .mw-wiki-logo, body.ns-3009 .mw-wiki-logo { |
|||
background-image: url(https://static.miraheze.org/nintendowiki/d/df/Wii_Wiki.png) !important; |
|||
} |
|||
body.ns-3010 .mw-wiki-logo, body.ns-3011 .mw-wiki-logo { |
|||
background-image: url(https://static.miraheze.org/nintendowiki/c/cd/Nintendo_DS_Wiki.png) !important; |
|||
} |
|||
body.ns-3012 .mw-wiki-logo, body.ns-3013 .mw-wiki-logo { |
|||
background-image: url(https://static.miraheze.org/nintendowiki/a/ad/GB_Wiki.png) !important; |
|||
} |
|||
body.ns-3014 .mw-wiki-logo, body.ns-3015 .mw-wiki-logo { |
|||
background-image: url(https://static.miraheze.org/nintendowiki/5/5e/AC_Wiki.png) !important; |
|||
} |
} |
||
Line 375: | Line 129: | ||
} |
} |
||
/* Indicator icons */ |
|||
#editpage-copywarn { |
|||
.mw-indicator { |
|||
margin: 0.6em 0 0.7em 0; |
|||
margin: 0 2px; |
|||
} |
|||
#mw-indicator-investigate-link { |
|||
top: 7px; |
|||
} |
|||
#mw-indicator-ext-checkuser-investigation-btns { |
|||
top: 3px; |
|||
} |
} |
||
/* Who's online */ |
|||
div.mw-translatenotice, div.mw-editinginterface, div.mw-translateinterface { |
|||
#whosonline { |
|||
margin: 0.4em 0 0.5em 0; |
|||
margin-bottom: 1px; |
|||
} |
} |