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
FrozenPlum (talk | contribs) m (Undo revision 3569 because the CSS doesn't function here as it does normally (no idea why), so these are not useful.) Tag: Undo |
(More from mario wiki) |
||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ |
/* CSS placed here will be applied to all skins */ |
||
/* <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 { |
|||
border-color: transparent; |
|||
} |
|||
ul.gallery, li.gallerybox div.thumb { |
|||
margin-bottom: 0; |
|||
padding-bottom: 0; |
|||
} |
|||
#bodyContent ul.gallery { |
|||
margin: 2px; |
|||
padding: 2px; |
|||
} |
|||
li.gallerycaption { |
|||
text-align: unset; |
|||
} |
|||
.mw_metadata { |
|||
margin-top: 5px; |
|||
} |
|||
#catlinks li { |
|||
margin: 0.28em 0; |
|||
line-height: 1em; |
|||
} |
|||
blockquote { |
|||
border-left: 3px solid #06f; |
|||
margin-left: 2em; |
|||
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 */ |
/* Mark redirects on Special:AllPages and Special:EditWatchlist */ |
||
Line 37: | Line 95: | ||
ol.references span { |
ol.references span { |
||
line-height: 1; |
line-height: 1; |
||
} |
|||
/* User pages */ |
|||
.ns-2 #mw-content-text p > img { |
|||
max-width: 100% !important; |
|||
height: auto !important; |
|||
} |
|||
/* User talk pages */ |
|||
.ns-3 [style*="position:fixed"], |
|||
.ns-3 [style*="position: fixed"] { |
|||
display: none; |
|||
} |
|||
/* <h3> All pages </h3> */ |
|||
#bodyContent { |
|||
position: relative; |
|||
} |
} |
||
Line 64: | Line 140: | ||
.client-js .mw-content-rtl .mw-editsection-bracket:not(: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) { |
.client-js .mw-content-ltr .mw-editsection-bracket:not(:first-of-type) { |
||
margin: 0; |
|||
color: unset; |
|||
} |
} |
||
Line 86: | Line 162: | ||
.videoWidget + p { |
.videoWidget + p { |
||
margin: 0; |
margin: 0; |
||
} |
|||
/* OOUI fix */ |
|||
.oo-ui-optionWidget.oo-ui-labelElement > .oo-ui-labelElement-label { |
|||
overflow: visible; |
|||
} |
|||
/* Keep create account benefits up top */ |
|||
.mw-special-CreateAccount #userloginForm { |
|||
margin-right: 90px; |
|||
} |
|||
/* Adjust inputbox button padding in Firefox */ |
|||
@-moz-document url-prefix() { |
|||
.bodySearchWrap .mw-ui-button, .createboxButton { |
|||
padding-top: 4px; |
|||
padding-bottom: 5px; |
|||
} |
|||
} |
} |
||
Line 107: | Line 201: | ||
} |
} |
||
/* <h3> Misc / Unsorted </h2> */ |
|||
/* miscellaneous */ |
|||
.mw-collapsible-toggle { |
|||
.special li { |
|||
padding-right: 0.3em; |
|||
line-height: 19px; |
|||
} |
|||
#preftoc a:active { |
|||
color: #00c; |
|||
} |
|||
.easywrap { |
|||
width: 100%; |
|||
table-layout: fixed; |
|||
word-wrap: break-word; |
|||
overflow: hidden; |
|||
} |
|||
.right { |
|||
text-align: right; |
|||
} |
} |
||
/* Indicator icons */ |
|||
#toc, .toc { |
|||
.mw-indicators, |
|||
margin-bottom: 3px; |
|||
#mw-indicator-shortcut { |
|||
position: relative; |
|||
} |
|||
.mw-indicator { |
|||
margin: 0 2px; |
|||
} |
} |
||
/* Explain text */ |
|||
.messagebox, .errorbox, .warningbox, .successbox { |
|||
.explain[title] { |
|||
padding:12px; |
|||
text-decoration: none; |
|||
border-bottom: 1px dotted; |
|||
} |
} |
||
/* New user message box */ |
|||
blockquote { |
|||
.usermessage { |
|||
border-left: 3px solid #06f; |
|||
margin- |
margin-top: 1em; |
||
} |
|||
padding-left: 1em; |
|||
/* Width fixes */ |
|||
table { |
|||
max-width: 100%; |
|||
} |
|||
@media all and (max-width: 1100px) { |
|||
.mw-parser-output table { |
|||
min-width: 0 !important; |
|||
} |
|||
} |
|||
/* Media player fix */ |
|||
.wikitable .mediaContainer { |
|||
margin-top: 2px; |
|||
} |
|||
/* 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; |
|||
} |
} |
Revision as of 19:36, April 19, 2022
/* CSS placed here will be applied to all skins */
/* <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 {
border-color: transparent;
}
ul.gallery, li.gallerybox div.thumb {
margin-bottom: 0;
padding-bottom: 0;
}
#bodyContent ul.gallery {
margin: 2px;
padding: 2px;
}
li.gallerycaption {
text-align: unset;
}
.mw_metadata {
margin-top: 5px;
}
#catlinks li {
margin: 0.28em 0;
line-height: 1em;
}
blockquote {
border-left: 3px solid #06f;
margin-left: 2em;
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;
}
/* 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;
}
/* User pages */
.ns-2 #mw-content-text p > img {
max-width: 100% !important;
height: auto !important;
}
/* User talk pages */
.ns-3 [style*="position:fixed"],
.ns-3 [style*="position: fixed"] {
display: none;
}
/* <h3> All pages </h3> */
#bodyContent {
position: relative;
}
/* 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;
}
#wpSummaryLabel .oo-ui-textInputWidget textarea,
#wpSummaryLabel .oo-ui-textInputWidget input {
padding-bottom: 0.5em;
}
#wpSummaryWidget .oo-ui-labelElement-label {
margin-right: 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;
}
.client-js .editButtons .editHelp {
display: none;
}
/* 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;
}
/* OOUI fix */
.oo-ui-optionWidget.oo-ui-labelElement > .oo-ui-labelElement-label {
overflow: visible;
}
/* Keep create account benefits up top */
.mw-special-CreateAccount #userloginForm {
margin-right: 90px;
}
/* Adjust inputbox button padding in Firefox */
@-moz-document url-prefix() {
.bodySearchWrap .mw-ui-button, .createboxButton {
padding-top: 4px;
padding-bottom: 5px;
}
}
/* 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;
}
/* <h3> Misc / Unsorted </h2> */
.special li {
line-height: 19px;
}
#preftoc a:active {
color: #00c;
}
.easywrap {
width: 100%;
table-layout: fixed;
word-wrap: break-word;
overflow: hidden;
}
.right {
text-align: right;
}
/* 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;
}
/* Width fixes */
table {
max-width: 100%;
}
@media all and (max-width: 1100px) {
.mw-parser-output table {
min-width: 0 !important;
}
}
/* Media player fix */
.wikitable .mediaContainer {
margin-top: 2px;
}
/* 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;
}