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 (Styles and media queries not working for Anisa and other skins (as expected) when put in MediaWiki:Gadget-GlobalStyle.css, test putting them globally (for this wiki) in Common.css (as is normal practice for this type thing)) |
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 |
||
Line 124: | Line 124: | ||
margin-left: 2em; |
margin-left: 2em; |
||
padding-left: 1em; |
padding-left: 1em; |
||
} |
|||
/* mainpage new-releases box input field to adjust to width of parent */ |
|||
.new-releases .mw-inputbox-createbox { |
|||
width: 100%; |
|||
} |
|||
/* -- At 800 px wide or less -- */ |
|||
@media only screen and (max-width: 800px) { |
|||
.twocol-left { |
|||
width:100%!important; |
|||
} |
|||
.twocol-right { |
|||
width:100%!important; |
|||
margin-top:9px; |
|||
} |
|||
.mainpagebox-inner { |
|||
width:100%!important; |
|||
} |
|||
} |
|||
/* -- At 300 px wide or less -- */ |
|||
@media only screen and (max-width: 300px) { |
|||
.mainpagebox .wikicolumns { |
|||
column-count: 1; |
|||
} |
|||
} |
} |
Revision as of 22:02, March 25, 2022
/* CSS placed here will be applied to all skins */
/* 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;
}
/* 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;
}
/* 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;
}
#toc, .toc {
margin-bottom: 3px;
}
.messagebox, .errorbox, .warningbox, .successbox {
padding:12px;
}
blockquote {
border-left: 3px solid #06f;
margin-left: 2em;
padding-left: 1em;
}