MediaWiki:Common.css
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 */
pre {
overflow: auto;
}
#toc, .toc {
margin-bottom: 3px;
}
#mw-indicator-mw-helplink a {
display:none;
}
.messagebox, .errorbox, .warningbox, .successbox {
padding:12px;
}
/* Mark redirects on Special:AllPages and Special:EditWatchlist */
.allpagesredirect a.mw-redirect, .watchlistredir a.mw-redirect {
color: #888 !important;
}
/* Pixelated gallery/interface image upscaling */
ul.gallery img, table.filehistory img, table.listfiles img {
image-rendering: crisp-edges;
image-rendering: pixelated;
}
.pixelated, .pixelart, .sprites, .sprite {
image-rendering: crisp-edges;
image-rendering: pixelated;
}
/* 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; }
/* main page */
body.page-Nintendo_Wiki.action-view h1.firstHeading,
body.page-Nintendo_Wiki.action-view #siteSub,
body.page-Nintendo_Wiki.action-view #catlinks,
body.page-Nintendo_Wiki.action-view #lastmod,
body.page-Nintendo_Wiki.action-view .mw-revision {
display: none;
}
/* 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;
}
/* notice templates */
body:not(.ns-6) .notice-template + .notice-template {
margin-top: -0.375em !important;
}
#mw-imagepage-content .notice-template + #aboutfile {
margin-top: 0.75em !important;
}
#mw-imagepage-content .notice-template:not(#aboutfile) {
margin-top: 0.75em !important;
margin-bottom: 2.5px !important;
}
.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.copyright {
background: #fff9f9;
border: 1px solid #C55;
font-size: 95%;
width: 90%;
margin: 5px auto;
padding: 5px;
}
/* revision info */
.mw-revision.warningbox {
margin-top:0px;
padding:0px;
border:0px;
background:none;
}
#mw-revision-info, #mw-revision-info-current, #mw-revision-nav {
color: #54595d;
}
/* 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}
/* 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;
}
/* References */
ol.references {
margin-top: 0;
font-size: 90%;
}
ol.references div {
display: inline;
}
ol.references span {
line-height: 1;
}
/* 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;
}
/* Media player */
#file > .video-js { display: inline-block !important; }
.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; }
/* 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;
}
/* Media player fix */
.wikitable .mediaContainer {
margin-top: 2px;
}
/* fake links */
span.fakelink {
color: #002bb8;
cursor: pointer;
}
span.fakelink:hover {
text-decoration: underline;
}