MediaWiki:Common.css: Difference between revisions

m
no edit summary
No edit summary
mNo edit summary
(81 intermediate revisions by the same user not shown)
Line 8: Line 8:
/* <h3> Shared interface </h3> */
/* <h3> Shared interface </h3> */


textarea, .CodeMirror {
background: #fff url(https://mario.wiki.gallery/images/marioeditbg.jpg);
}
pre {
overflow: auto;
}
#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 {
.ns-104 div.thumb {
border-color: transparent;
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 {
.catlinks {
background: #f9f9f9 url(https://mario.wiki.gallery/images/papermariohead.jpg) no-repeat center right;
background: #f9f9f9 url(https://mario.wiki.gallery/images/papermariohead.jpg) no-repeat bottom right;
margin-top: 10px;
margin-top: 10px;
}
}
Line 62: Line 25:
margin-left: 2em;
margin-left: 2em;
padding-left: 1em;
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;
}
/* References */
ol.references {
margin-top: 0;
font-size: 90%;
}
ol.references div {
display: inline;
}
ol.references span {
line-height: 1;
}
}


Line 105: Line 40:


/* <h3> All pages </h3> */
/* <h3> All pages </h3> */
#bodyContent {
position: relative;
}


/* Infobox templates */
/* Infobox templates */
.infobox {
.infobox {
float: right;
float: right;
clear: right;
margin: 0 0 1em 1.15em;
margin: 0 0 1em 1.15em;
}
.infobox + .infobox,
.infobox + style + .infobox {
clear: none;
}
}
.infobox, .infobox-wide {
.infobox, .infobox-wide {
padding: 4px;
font-size: 88%;
font-size: 88%;
}
.infobox-wide {
width: 100%;
}
}
.infobox tr {
.infobox tr {
Line 140: Line 72:
.notice-template p {
.notice-template p {
margin: 0.6em 0;
margin: 0.6em 0;
}
/* Upload form */
#mw-htmlform-description .mw-editTools {
display: none;
}
/* 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;
}
/* Watchlist expiry */
#wpWatchlistExpiry, #wpWatchlistExpiryWidget .oo-ui-dropdownWidget-handle {
height: auto;
min-height: 0;
padding-top: 4px;
padding-left: 7px;
padding-bottom: 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;
}
/* Diff text */
.diffchange { font-weight: normal; }
.diff-addedline, .diff-deletedline, .diff-context {
font-size: 92%;
}
/* OOUI fix */
.oo-ui-optionWidget.oo-ui-labelElement > .oo-ui-labelElement-label {
overflow: visible;
}
/* 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;
}
/* Dismissable site notice */
.sitedir-ltr .mw-dismissable-notice-body {
margin: 0 60px 0 0;
}
.sitedir-rtl .mw-dismissable-notice-body {
margin: 0 0 0 60px;
}
/* Captcha spacing */
#editform #wpCaptchaWord {
margin-top: 2.5px;
}
#userloginForm label:not([for]) + .mw-input {
margin-top: 10px;
}
#userloginForm .mw-ui-vform-field:nth-of-type(7) {
margin-bottom: 5px;
}
.mw-htmlform-field-HTMLReCaptchaNoCaptchaField .mw-input {
margin-top: 1px;
}
.editOptions .g-recaptcha {
margin-bottom: 10px;
}
.mw-ui-vform {
width: 302px;
}
}


Line 251: Line 85:
padding-bottom: 5px;
padding-bottom: 5px;
}
}
}
/* <h3> [[Main Page]] </h3> */
body.page-Main_Page.action-view h1.firstHeading,
body.page-Main_Page.action-view #contentSub > *,
body.page-Main_Page.action-view #siteSub,
body.page-Main_Page.action-view #catlinks,
body.page-Main_Page.action-view #lastmod {
display: none !important;
}
body.page-Main_Page.action-view #bodyContent {
margin-top: 16px;
}
body.page-Main_Page.action-view .usermessage {
margin-top: 43px;
}
body.page-Main_Page .pds-box {
width: 100% !important;
max-width: none !important;
}
body.page-Main_Page .pds-question-top {
padding-left: 3px !important;
}
.MainTopText a {
color: black !important;
text-decoration: none;
}
.MainTopText a:hover {
color: black;
text-decoration: underline;
}
.mainpagebox {
border: 2px solid #496C9C;
padding: 2px;
background: #F8F8FF;
border-radius: 1em;
}
.mainpagebox p {
margin: 0.9em 0 1em;
}
.mainpagebox#welcome {
padding: 2px 2px 2px 0;
}
.mainpagebox#nav {
font-size: 120%;
padding: 2px 2px 5px 0;
background: #FDFDFF;
border-color: #999;
}
.mainpagebox#nav ul {
margin-left: 20px;
}
.mainpagebox#poll,
.mainpagebox#dyk,
.mainpagebox.shroom,
.mainpagebox.mwe {
        margin-top: 10px;
}
.mainpagebox #mf-poll > .PDS_Poll {
margin-bottom: -1.84em !important;
}
.mainpagebox #polltable {
margin-bottom: 25px;
}
.mainpagebox .crowdsignal {
margin-bottom: 10px;
}
@media all and (min-width: 1240px) {
#polltable .crowdsignal {
margin-right: 5px;
}
}
.mainpagebox#poll .throbber {
display: none;
}
.mainpagebox#right {
padding: 2px 2px 5px;
}
.mainpagebox.maintain {
text-align: center;
padding: 2px 2px 0;
margin-top: 10px;
}
.mainpagebox h2 {
padding: 4px 5px 2px;
margin-bottom: 1px !important;
border: 2px solid #567CAF;
font-size: 120%;
font-weight: bold;
color: #fff;
text-align: center;
border-radius: 0.75em;
}
.mainpagebox#featured h2 {
background: #009D00;
border-color: #005100;
}
.mainpagebox#poll h2 {
background: #9B04FF;
border-color: #4F0084;
}
.mainpagebox#news h2 {
background: #1C49FF;
border-color: #001C8A;
}
.mainpagebox#dyk h2 {
background: #FF8000;
border-color: #914800;
}
.mainpagebox.shroom h2 {
background: #EC0000;
border-color: #9D0000;
}
.mainpagebox.mwe h2 {
background: #FF4868;
border-color: #C60023 !important;
}
.mainpagebox#announce {
text-align: center;
padding: 2px 2px 0;
margin-top: 10px;
}
.mainpagebox#niwa {
padding: 3px 2px 2px;
}
.mainpagebox h2#tourney {
background: #4682B4;
}
.mainpagebox#tourneysub {
background-color: lightsteelblue;
border: 2px solid #3b587e;
}
.mainpagebox#tourneybox {
border-collapse: collapse;
background: #F8F8FF;
}
.newpoll {
width: 100%;
background: transparent;
text-align: center;
table-layout: fixed;
word-wrap: break-word;
}
.pollq {
padding: 0 3px 0 6px;
margin-bottom: -19px;
position: relative;
background: #F8F8FF;
font-weight: bold;
}
.MainPageAffiliatesBox {
border: none;
width: 100%;
margin-bottom: 8px;
}
.affiliates {
text-align: center;
font-size: 10px;
}
.affiliates a {
background: none !important;
padding: 0 !important;
}
.affiliates img {
margin-top: 1px;
margin-bottom: 2px;
}
.affiliates .affiliatesub {
background-color: #fff;
padding: 4px;
border: 1px solid #790000;
background-color: #FFF9F9;
}
/* <h3> [[List of games]] </h3> */
.games {
background: silver;
border: 1px solid #000;
margin-bottom: 7px;
}
.games tbody tr {
background: #fff;
}
}


Line 460: Line 106:
body[class*="page-MarioWiki_BJAODN_April_Fool_s_2021"] .mw-wiki-logo {
body[class*="page-MarioWiki_BJAODN_April_Fool_s_2021"] .mw-wiki-logo {
background-image: url(https://mario.wiki.gallery/images/archive/4/4c/20210402135134!Mariowiki.png);
background-image: url(https://mario.wiki.gallery/images/archive/4/4c/20210402135134!Mariowiki.png);
}
body[class*="page-MarioWiki_BJAODN_April_Fool_s_2023"] .mw-wiki-logo {
background-image: url(https://mario.wiki.gallery/images/archive/4/4c/20230402112604!Mariowiki.png);
}
}


Line 481: Line 130:


/* Indicator icons */
/* Indicator icons */
.mw-indicators,
#mw-indicator-shortcut {
position: relative;
}
.mw-indicator {
.mw-indicator {
margin: 0 2px;
margin: 0 2px;
}
}
#mw-indicator-mw-helplink {
#mw-indicator-investigate-link {
display: none;
top: 7px;
}
}
 
#mw-indicator-ext-checkuser-investigation-btns {
/* Explain text */
top: 3px;
.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;
}
}