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
(mario) |
(mvoing) |
||
Line 21: | Line 21: | ||
color: #888 !important; |
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 */ |
/* main page */ |
||
body.page-Nintendo_Wiki.action-view h1.firstHeading, |
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 #siteSub, |
||
body.page-Nintendo_Wiki.action-view #catlinks, |
body.page-Nintendo_Wiki.action-view #catlinks, |
||
body.page-Nintendo_Wiki.action-view #lastmod |
body.page-Nintendo_Wiki.action-view #lastmod { |
||
display: none !important; |
|||
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; |
|||
} |
|||
/* 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 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:nth-child(2n) td { |
|||
background: none repeat scroll 0 0 #F6F6F6; |
|||
} |
|||
.navbox tr td { |
|||
background: none repeat scroll 0 0 #FCFCFC; |
|||
} |
|||
.navbox tr:first-child th, .navbox tr:first-child th a { |
|||
color: #FFFFFF !important; |
|||
} |
|||
.navbox.light > * > tr:first-child th, .navbox.light > * > tr:first-child th a { |
|||
color: black !important; |
|||
} |
|||
/* <h3> Mario </h3> */ |
|||
.navbox.mario tr:nth-child(2n) td { |
|||
background-color: bisque; |
|||
} |
|||
.navbox.mario tr td { |
|||
background-color: #FFF5EE; |
|||
} |
|||
/* Show/hide toggles */ |
|||
.navbox .mw-collapsible-toggle { |
|||
text-align: right; |
|||
min-width: 3.729em; |
|||
} |
|||
.wikitable.mw-collapsed .mw-collapsible-toggle { |
|||
margin-left: 10px; |
|||
} |
} |
||
Line 188: | Line 41: | ||
#mw-revision-info, #mw-revision-info-current, #mw-revision-nav { |
#mw-revision-info, #mw-revision-info-current, #mw-revision-nav { |
||
color: #54595d; |
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; |
|||
} |
} |
||
Line 248: | Line 69: | ||
.videoWidget + p { |
.videoWidget + p { |
||
margin: 0; |
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; |
|||
} |
} |
||
Line 280: | Line 83: | ||
span.fakelink:hover { |
span.fakelink:hover { |
||
text-decoration: underline; |
text-decoration: underline; |
||
} |
|||
/* Root category */ |
|||
body.page-Category_Nintendo_Wiki.action-view #mw-subcategories h3:last-of-type, |
|||
body.page-Category_Nintendo_Wiki.action-view #mw-subcategories ul:last-of-type, |
|||
body.page-Category_Nintendo_Wiki.action-view #catlinks { |
|||
display: none; |
|||
} |
} |
||
Revision as of 03:16, February 19, 2022
/* 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;
}
/* 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;
}
/* 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;
}
/* 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 fix */
.wikitable .mediaContainer {
margin-top: 2px;
}
/* fake links */
span.fakelink {
color: #002bb8;
cursor: pointer;
}
span.fakelink:hover {
text-decoration: underline;
}
/* remove box-shadow from notifications */
#pt-notifications-alert .mw-echo-notifications-badge:focus, #pt-notifications-notice .mw-echo-notifications-badge:focus {
box-shadow: none;
}
/* miscellaneous */
.mw-collapsible-toggle {
padding-right: 0.3em;
}