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
(Game infboox) |
(specify) |
||
Line 67: | Line 67: | ||
} |
} |
||
/* <h3> |
/* <h3> infobox coloring </h3> */ |
||
.infobox td:nth-of-type(1) { |
|||
background:#C0CFFF; |
|||
} |
|||
.infobox.game td:nth-of-type(1) { |
.infobox.game td:nth-of-type(1) { |
Revision as of 05:54, November 28, 2021
/* 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;
}
/* image thumbnail adjustments */
img, .results .list-thumb:not(.list-thumb-none),
.ext-related-articles-card-thumb:not(.ext-related-articles-card-thumb-placeholder) {
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;
}
/* <h3> infobox coloring </h3> */
.infobox td:nth-of-type(1) {
background:#C0CFFF;
}
.infobox.game td:nth-of-type(1) {
background:#CCCCFF;
}
/* 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;
}