MediaWiki:Common.css
Jump to navigation
Jump to search
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
/* CSS placed here will be applied to all skins on desktop */
/* Navbox style
Edit here: https://www.pikminwiki.com/MediaWiki:Gadget-NavboxStyle.css
Staff highlights
Edit here: https://www.pikminwiki.com/MediaWiki:Gadget-StaffHighlights.css */
/* Don't display some stuff on the main page */
body.page-Main_Page.action-view h1.firstHeading,
body.page-Main_Page.action-view #contentSub,
body.page-Main_Page.action-view #siteSub,
body.page-Main_Page.action-view #catlinks,
body.page-Main_Page.action-view #lastmod {
display: none !important;
}
/* Mark redirects on Special:AllPages and Special:EditWatchlist */
.allpagesredirect a.mw-redirect, .watchlistredir a.mw-redirect {
color: #888 !important;
}
/* Infoboxes */
.infobox {
color: #000;
float: right;
clear: right;
font-size: 80%;
text-align: left;
min-width: 150px;
max-width: 350px;
border: 1px solid #AAA;
background-color: #F9F9F9;
margin-bottom: 0.5em;
margin-left: 1em;
padding: 0.2em;
}
.infobox td, .infobox th {
vertical-align: top;
}
.infobox th {
background: #CFC;
}
.infobox caption {
font-size: larger;
margin-left: inherit;
}
.infobox img {
max-width: 340px;
height: auto !important;
}
.infobox.bordered {
border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
border: 1px solid #AAA;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
border: 0;
}
.infoboxTitle {
font-size: 140%;
background: #CCF;
text-align: center;
}
/* Bordered infobox with merged rows */
.infobox.bordered .mergedtoprow td,
.infobox.bordered .mergedtoprow th {
border: 0;
border-top: 1px solid #AAA;
border-right: 1px solid #AAA;
}
.infobox.bordered .mergedrow td,
.infobox.bordered .mergedrow th {
border: 0;
border-right: 1px solid #AAA;
}
/* Bold edit tab */
#ca-edit a {
font-weight: bold !important;
}
/* Table of contents */
#toc, .toc {
margin-bottom: 3px;
}
/* Thumbs */
div.tleft, div.tright {
margin-top: 0.2em;
margin-bottom: 0.8em;
}
/* Galleries */
ul.gallery, li.gallerybox div.thumb {
margin-bottom: 0;
padding-bottom: 0;
}
#bodyContent ul.gallery {
margin: 2px;
padding: 2px;
}
li.gallerycaption {
text-align: unset;
}
/* File pages */
.mw_metadata {
margin-top: 5px;
}
/* Forum */
.forumheader {
border: 1px solid #AAA;
background-color: #F9F9F9;
margin: 1em 0 15px;
padding: 12px;
}
.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;
background: url(https://pikmin.wiki.gallery/images/forum_new.gif) center left no-repeat;
padding-left: 20px;
}
.forumlist td.forum_title a.forum_new:visited {
font-weight: normal;
background: none;
padding-left: 20px;
}
.forumlist th.forum_title {
padding-left: 20px;
}
/* Upload form */
#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;
}
#wpSummary, #wpSummaryLabel {
margin: 0.2em 0 0.4em 0 !important;
}
input#wpSummary {
width: 99%;
}
#wpSummaryWidget .oo-ui-labelElement-label {
margin-right: 10px;
}
/* Watchlist expiry */
#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 site notice */
.sitedir-ltr .mw-dismissable-notice-body {
margin: 0 60px 0 0;
}
.sitedir-rtl .mw-dismissable-notice-body {
margin: 0 0 0 60px;
}
/* Captcha spacing */
#editform #wpCaptchaWord {
margin-top: 2.5px;
}
#userloginForm label:not([for]) + .mw-input {
margin-top: 10px;
}
#userloginForm .mw-ui-vform-field:nth-of-type(7) {
margin-bottom: 5px;
}
.mw-htmlform-field-HTMLReCaptchaNoCaptchaField .mw-input {
margin-top: 1px;
}
.editOptions .g-recaptcha {
margin-bottom: 10px;
}
/* Pikipedia boxes */
.pikipediaBox {
color: #000;
background-color: #CFC;
border: 2px outset #0b0;
margin: 0 auto 10px;
padding: 0 0.5em;
}
div + .pikipediaBox,
table + .pikipediaBox,
.pikipediaBox + .navbox {
margin-top: 10px;
}
.pikipediaBox + .pikipediaBox {
margin-top: -5px;
}
/* Titled boxes */
.titledBox {
width: 100%;
background-color: #f5fffa;
border: 1px solid #cef2e0;
margin-top: 10px;
padding: 6px;
}
.titledBoxTitle {
width: 100%;
font-size: 1.2em;
font-weight: bold;
background-color: #cef2e0;
border: 1px solid #a3bfb1;
padding: 0 5px;
}
/* MediaWiki collapsible buttons */
.mw-collapsible-toggle {
font-weight: normal;
}
/* References */
ol.references {
margin-top: 0;
}
ol.references div {
display: inline;
}
ol.references span {
line-height: 1;
}
/* Indicator icons */
.mw-indicators {
position: relative;
}
.mw-indicator {
margin: 0 2px;
}
/* New user message box */
.usermessage {
margin-top: 1em;
}
/* Width fixes */
#content { overflow-x: clip; }
table, .thumbinner { max-width: 100%; }
@media all and (max-width: 1350px) {
.content-table > table.wikitable:not(.technicaltable),
.mw-parser-output > table.wikitable:not(.technicaltable) {
width: auto !important;
display: block !important;
overflow: auto !important;
max-width: max-content !important;
min-width: 100px !important;
border: 0 !important;
}
}
@media all and (max-width: 1250px) {
table.wikitable img {
min-width: 15px !important;
max-width: 100% !important;
height: auto !important;
}
.mw-parser-output table:not(.wikitable) {
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;
}
/* Who's online */
#whosonline {
margin-bottom: 1px;
}