There are currently 0 stubs. You can help us by expanding these articles!
Difference between revisions of "MediaWiki:Common.css"
From Rare Wiki
Jump to navigationJump to search
m (add in) |
(about time i start cleaning this up as well) |
||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | |||
div#content { | div#content { | ||
background:#FAF2CD; | background:#FAF2CD; | ||
Line 10: | Line 12: | ||
body { | body { | ||
background: url(/w/images/8/8a/Wiki-background.jpg) repeat; | background: url(/w/images/8/8a/Wiki-background.jpg) repeat; | ||
} | |||
/* link colors */ | |||
a { color: #00f; } | |||
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; } | |||
/* edit options */ | |||
.mw-editform .editOptions { | |||
border-radius:0px; | |||
} | } | ||
textarea, .wikiEditor-ui .wikiEditor-ui-view { | |||
border: 1px solid #003466; | |||
} | } | ||
.editOptions { | |||
background-color:#FFFFE8; | |||
border: 1px solid #003466; | |||
border-top:none; | |||
} | } | ||
/* warning box */ | |||
.messagebox, .errorbox, .warningbox, .successbox { | |||
padding:12px; | |||
} | } | ||
. | div.mw-warning-with-logexcerpt { | ||
border: 2px solid #7F5F00; | |||
} | } | ||
.mw-revision.warningbox { | |||
margin-top:0px; | |||
padding:0px; | |||
border:0px; | |||
background:transparent; | |||
} | } | ||
#mw-revision-info, #mw-revision-info-current, #mw-revision-nav { | |||
color: #54595d; | |||
} | } | ||
/* main page, adapted from Super Mario Wiki */ | |||
body.page-Main_Page.action-view h1.firstHeading, | |||
body.page-Main_Page.action-view .mw-revision, | |||
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; | |||
} | |||
.mainpagebox { | |||
border: 2px solid #914800; | |||
padding: 2px; | |||
background: #ffefe0; | |||
border-radius: 1em; | |||
} | |||
.mainpagebox p { | |||
margin: 0.9em 0 1em; | |||
} | |||
.mainpagebox#welcome { | |||
background: #ffefe0; | |||
padding: 2px 2px 2px 0; | |||
} | |||
.mainpagebox#nav { | |||
font-size: 120%; | |||
padding: 2px 2px 5px 0; | |||
background: #FFF; | |||
border-color: #914800; | |||
} | |||
.mainpagebox#nav ul { | |||
margin-left: 20px; | |||
} | |||
. | .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 #914800; | |||
font-size: 120%; | |||
font-weight: bold; | |||
color: #FFFFFF; | |||
text-align: center; | |||
border-radius: 0.75em; | |||
} | } | ||
. | .MainTopText a { | ||
color: black !important; | |||
text-decoration: none; | |||
} | |||
.MainTopText a:hover { | |||
color: black; | |||
text-decoration: underline; | |||
} | } | ||
. | .mainpagebox#featured h2 { | ||
background: #eb7600; | |||
border-color: #914800; | |||
} | } | ||
.mainpagebox#dyk h2 { | |||
. | background: #bf6236; | ||
border-color: saddlebrown; | |||
border- | |||
} | } | ||
.mainpagebox#news h2 { | |||
background: #0096d5; | |||
border- | border-color: #001C8A; | ||
} | } | ||
/* | /* <h3> Navigation templates </h3> */ | ||
. | .navbox { | ||
background: none repeat scroll 0 0 white; | |||
border: 1px solid grey; | |||
color: black; | |||
font-family: Arial; | |||
font-size: 11px; | |||
width: 100%; | |||
border-top: | margin-top: 15px; | ||
border-spacing:3px; | |||
} | |||
.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:first-child th, .navbox tr:first-child th a { | |||
color: #FFFFFF !important; | |||
} | } | ||
.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 th a, .navbox tr th a:visited, .navbox tr th a.new, .navbox tr th a.new:visited { | |||
color: #000000; | |||
. | |||
color: # | |||
} | } | ||
. | .navbox tr:nth-child(2n) td { | ||
background: none repeat scroll 0 0 #F6F6F6; | |||
} | } | ||
.navbox tr td { | |||
background: none repeat scroll 0 0 #FCFCFC; | |||
} | } | ||
.navbox td a { | |||
color: #0000FF; | |||
} | } | ||
.navbox td a:visited { | |||
color: #0000CC; | |||
} | } | ||
.navbox td a.new { | |||
color: #CC2200; | |||
. | |||
} | } | ||
. | .navbox td a.new:visited { | ||
color: #A55858; | |||
} | } | ||
. | .navbox td a.selflink { | ||
color: #000; | |||
} | } | ||
. | .navbox.light > * > tr:first-child th, .navbox.light > * > tr:first-child th a { | ||
color: black !important; | |||
} | } | ||
. | /* <h4> crash </h4> */ | ||
.navbox.crash tr:first-child th, .navbox.crash tr:first-child th a { | |||
background-color: #F8A651; | |||
color:#000 !important; | |||
} | } | ||
. | .navbox.crash tr th { | ||
background-color: #fac38a; | |||
} | } | ||
.navbox.crash tr:nth-child(2n) td { | |||
background-color: #F5F5F5; | |||
} | |||
.navbox.crash tr td { | |||
background-color: #FBFBFB; | |||
} | } | ||
. | .navbox.crash tr:not(:first-child) th:not([rowspan]):not([colspan]) { | ||
background: none repeat scroll 0 0 #FCD6B0; | |||
} | } | ||
/* <h4> Racing </h4> */ | |||
.navbox.racing tr:first-child th, .navbox.racing tr:first-child th a { | |||
background-color: gold; | |||
color: #000 !important; | |||
} | } | ||
.navbox.racing tr th { | |||
background-color: #FFF462; | |||
} | } | ||
.navbox.racing tr:nth-child(2n) td { | |||
background-color: #FFFFBB; | |||
} | |||
.navbox.racing tr td { | |||
background-color: #FFFFDD; | |||
} | } | ||
. | .navbox.racing tr:not(:first-child) th:not([rowspan]):not([colspan]) { | ||
background: none repeat scroll 0 0 #FFF789; | |||
} | } | ||
. | /* Notice templates */ | ||
.notice-template.image, | |||
.notice-template.copyright { | |||
padding: 5px; | |||
} | |||
.notice-template.image, | |||
.notice-template#aboutfile, | |||
.notice-template.copyright { | |||
width: 90%; | |||
margin: 5px auto; | |||
} | |||
.notice-template#aboutfile, | |||
.notice-template.copyright { | |||
font-size: 95%; | |||
} | |||
.notice-template.copyright { | |||
background: #fff9f9; | |||
border: 1px solid #C55; | |||
} | } | ||
.mw- | /* rc display adjustment */ | ||
.client-js .mw-input-hidden { | |||
display:inline-block; | |||
} | } | ||
. | /* crash wiki coloring */ | ||
.suggestions-result-current { | |||
background-color:#7C2411; | |||
} | } | ||
. | /* Indicator icons */ | ||
.mw-indicators, | |||
#mw-indicator-shortcut { | |||
position: relative; | |||
} | |||
.mw-indicator { | |||
margin: 0 2px; | |||
} | |||
.mw-indicator img { | |||
image-rendering: auto !important; | |||
} | |||
#mw-indicator-mw-helplink { | |||
display: none; | |||
} | } | ||
. | /* Tabber */ | ||
.infobox .tabbernav { | |||
font-size: 90%; | |||
} | |||
.tabber.info { | |||
display: block; | |||
float: right; | |||
margin: 0 0 0.5em 1em; | |||
} | |||
.tabber.info .nav { | |||
display: block !important; | |||
} | |||
.tabber.info .infobox > tbody > tr:nth-child(2) img { | |||
max-width: 100% !important; | |||
height: auto !important; | |||
} | |||
.tabber.info table { | |||
display: block !important; | |||
float: none !important; | |||
width: auto !important; | |||
max-width: none !important; | |||
margin: 0 !important; | |||
overflow-x: auto !important; | |||
} | |||
.tabber.info tbody { | |||
display: table !important; | |||
width: 100% !important; | |||
} | } | ||
. | /* wikitable*/ | ||
table.wikitable {background:#fff;margin:1em 0;border:1pt solid #A52A2A;border-collapse:collapse;color:black} | |||
table.wikitable > * > tr > td, table.wikitable > * > tr > th, table.wikitable > * > tr > td, table.wikitable > * > tr > th {border:1pt solid #A52A2A;padding:0.2em 0.4em} | |||
table.wikitable > * > tr > th {background: #F8A651;} | |||
/* References */ | |||
ol.references { | |||
margin-top: 0; | |||
font-size: 90%; | |||
} | |||
ol.references div { | |||
display: inline; | |||
} | |||
ol.references span { | |||
line-height: 1; | |||
} | } | ||
. | ol.references li:target, sup.reference:target { | ||
background-color: transparent; | |||
font-weight: bold; | |||
} | } | ||
. | /* Captcha spacing */ | ||
#editform #wpCaptchaWord { | |||
margin-top: 2.5px; | |||
} | |||
.mw-ui-vform-field:nth-of-type(6) .mw-input { | |||
margin-top: 10px; | |||
} | |||
#userloginForm .mw-ui-vform-field:nth-of-type(6) { | |||
margin-bottom: 5px; | |||
} | |||
.mw-input img, #editform img, label img { | |||
image-rendering: auto !important; | |||
} | |||
.mw-htmlform-field-HTMLReCaptchaNoCaptchaField .mw-input { | |||
margin-top: 1px; | |||
} | |||
.editOptions .g-recaptcha { | |||
margin-bottom: 10px; | |||
} | |||
.mw-ui-vform { | |||
width: 302px; | |||
} | } | ||
. | /* infobox */ | ||
.infobox { | |||
float: right; | |||
clear: right; | |||
border-spacing:2px; | |||
width: 300px; | |||
padding: 3px; | |||
margin: 0 0 1em 1em; | |||
border: 1px solid black; | |||
font-size: 10px; | |||
} | } | ||
. | .infobox td, | ||
.infobox th { | |||
vertical-align: top; | |||
padding:3px; | |||
} | |||
.infobox caption { | |||
font-size: larger; | |||
margin-left: inherit; | |||
} | } | ||
. | .infobox .mw-collapsible-toggle-expanded { | ||
padding-left: 7px; | |||
} | } | ||
. | /* Diff lines */ | ||
.diff-addedline, .diff-deletedline, .diff-context { | |||
font-size: 88% !important; | |||
line-height: 1.6 !important; | |||
vertical-align: top; | |||
white-space: -moz-pre-wrap; | |||
white-space: pre-wrap !important; | |||
border-style: solid; | |||
border-width: 1px 1px 1px 4px; | |||
border-radius: 0.33em; | |||
} | } | ||
. | .diff-editfont-monospace .diff-addedline, .diff-editfont-monospace .diff-deletedline, .diff-editfont-monospace .diff-context { | ||
font- | font: x-small sans-serif; | ||
} | } | ||
. | /* Edit box */ | ||
.wikiEditor-ui-toolbar .section-main, | |||
.wikiEditor-ui-toolbar .tabs { | |||
height: auto; | |||
} | |||
.wikiEditor-ui textarea#wpTextbox1 { | |||
height: 474px; | |||
line-height: 1.4em; | |||
} | |||
.wikiEditor-ui .wikiEditor-ui-view { | |||
border: 1px solid #A52A2A; | |||
} | } | ||
.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; | |||
. | |||
} | } | ||
/* Keep create account benefits up top */ | |||
.mw-special-CreateAccount #userloginForm { | |||
margin-right: 90px; | |||
} | } | ||
.mw- | /* Adjust inputbox button padding in Firefox */ | ||
@-moz-document url-prefix() { | |||
.bodySearchWrap .mw-ui-button, .createboxButton { | |||
padding-top: 4px; | |||
padding-bottom: 5px; | |||
} | |||
} | } | ||
. | /* Mark redirects on Special:AllPages and Special:EditWatchlist */ | ||
.allpagesredirect a.mw-redirect, .watchlistredir a.mw-redirect { | |||
color: #888 !important; | |||
} | } | ||
. | /* 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-control-bar, .video-js .vjs-volume-vertical { background: #000; } | |||
.video-js .vjs-mouse-display .vjs-time-tooltip { background: #111; } | |||
.video-js { overflow-x: clip; display: block !important; } | |||
/* Newbie bug fix */ | |||
body.newbie .video-js { overflow: hidden !important; } | |||
body.newbie .vjs-time-tooltip { display: none !important; } | |||
.oo-ui- | /* OOUI fixes */ | ||
.oo-ui-optionWidget.oo-ui-labelElement > .oo-ui-labelElement-label { | |||
overflow: visible; | |||
} | } | ||
.oo-ui- | .oo-ui-textInputWidget .oo-ui-pendingElement-pending { | ||
display:none; | |||
} | } | ||
.oo-ui-menuOptionWidget.oo-ui-optionWidget-selected .oo-ui-menuOptionWidget-checkIcon { | |||
display:none; | |||
} | } | ||
.oo-ui- | .oo-ui-textInputWidget .oo-ui-inputWidget-input, .oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle, .oo-ui-tagMultiselectWidget-handle { | ||
border:1px solid #AAA; | |||
} | } | ||
.oo-ui-textInputWidget.oo-ui-widget-enabled .oo-ui-inputWidget-input:focus { | |||
border:1px solid #a52a2a; | |||
border-radius:0px; | |||
box-shadow: none; | |||
} | } | ||
.oo-ui- | .oo-ui-panelLayout-framed { | ||
border: 1px solid #a52a2a; | |||
border-radius: 0px; | |||
} | } | ||
Line 344: | Line 493: | ||
} | } | ||
.oo-ui-dropdownWidget-handle { | |||
. | border: 1px solid gray; | ||
} | } | ||
.oo-ui-textInputWidget input, .oo-ui-textInputWidget textarea { | |||
border: 1px solid gray; | |||
. | border-radius: 0.25em !important; | ||
} | } | ||
.oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle:hover, .oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle:focus { | |||
border-color:#a52a2a; | |||
box-shadow:none; | |||
} | } | ||
. | .oo-ui-textInputWidget.oo-ui-widget-enabled .oo-ui-inputWidget-input { | ||
border-radius: 0px !important; | |||
box-shadow: none; | |||
transition: none; | |||
} | } | ||
. | .mw-prefs-tabs-wrapper.oo-ui-panelLayout-framed, .mw-prefs-tabs > .oo-ui-menuLayout-content > .oo-ui-indexLayout-stackLayout > .oo-ui-tabPanelLayout { | ||
border-color: #a52a2a; | |||
} | } | ||
body:not(.mw-special-Export) .mw-htmlform-ooui-wrapper .oo-ui-fieldLayout { margin-right: 10px; display: block; vertical-align: middle !important; } | |||
body:not(.mw-special-Export) .mw-htmlform-ooui-wrapper .oo-ui-fieldsetLayout-group { display: block !important; } | |||
body:not(.mw-special-Export) .mw-htmlform-ooui-wrapper .oo-ui-fieldsetLayout.mw-collapsible .mw-collapsible-toggle .oo-ui-iconElement-icon { display: none !important; } | |||
body:not(.mw-special-Export) .mw-htmlform-ooui-wrapper.oo-ui-panelLayout-padded .oo-ui-fieldsetLayout.mw-collapsible .oo-ui-fieldsetLayout-header { padding-left: 0 !important; margin-bottom: 0 !important; } | |||
/* disable calendar widget */ | |||
.mw-widget-calendarWidget { | |||
display: none !important; | |||
} | |||
.mw-widget-dateInputWidget-handle { | |||
border-radius: 0px; | |||
} | |||
/* Miscellaneous */ | |||
background: | pre { | ||
border: 1px | background-color: #fff; | ||
color: | border: 1px dashed #A52A2A; | ||
color: #000; | |||
overflow:auto; | |||
} | } | ||
. | .mw_metadata { | ||
margin-top: | margin-top: 5px; | ||
} | } | ||
#bodyContent { | |||
position: relative; | |||
} | } | ||
.mw-newarticletext { | |||
margin-bottom: 10px; | |||
} | } | ||
. | .top-right { | ||
position: absolute; | |||
top: -31px; | |||
right: 1px; | |||
} | } | ||
.top-right-text { | |||
. | position: absolute; | ||
top: -17px; | |||
right: 1px; | |||
} | } | ||
. | 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; | |||
} | } | ||
fieldset { | |||
border: 1px solid #a52a2a; | |||
} | } | ||
. | div.tleft, div.tright { | ||
margin-top: 0.2em; | |||
margin-bottom: 0.8em; | |||
} | } | ||
blockquote { | |||
border-left: 3px solid #A52A2A; | |||
margin-left: 2em; | |||
padding-left: 1em; | |||
} | } | ||
#disambig { | |||
border-top: 3px double #cccccc; | |||
border-bottom: 3px double #cccccc; | |||
margin-top:5px; | |||
} | } | ||
Line 433: | Line 591: | ||
} | } | ||
.portlet { | |||
width: 11.8em; | |||
} | } | ||
# | #pagehistory li { | ||
padding: 2px; | |||
} | } | ||
.mw-ui-button { | |||
.mw- | color: #000; | ||
margin-bottom: 0.25em; | |||
. | |||
} | } | ||
#localNotice { | |||
margin-bottom: 0.4em; | |||
} | |||
.mw-customtoggle, .mw-collapsible-toggle { | |||
cursor: default; | |||
} | |||
. | .mw-collapsible-toggle { | ||
padding-right: 0.3em; | |||
} | } | ||
. | .mw-prefs-buttons { | ||
background:transparent; | |||
position:inherit; | |||
padding:5px; | |||
} | } | ||
.right { | |||
text-align: right; | |||
} | } | ||
#preftoc a:active { | |||
color: #00c; | |||
} | } | ||
.special li { | |||
line-height: 19px; | |||
} | |||
.mw- | a.mw-selflink:hover { | ||
color: inherit; | |||
} | } | ||
span#mw-editform-cancel { | |||
display:none; | |||
} | |||
.contentbox > .mw-collapsible-toggle { | |||
float: none !important; | |||
} | |||
.successbox { | |||
border-color: #008000; | |||
} | } | ||
.errorbox { | |||
border-color: #d33d33; | |||
} | } | ||
. | .messagebox, .errorbox, .warningbox, .successbox { | ||
padding:12px; | |||
} | } | ||
. | div.noarticletext { | ||
border- | border: 1px solid #A52A2A; | ||
background: transparent; | |||
padding-left: 7px; | |||
font-size: 95%; | |||
} | } | ||
. | .thumb .mediaContainer { | ||
margin: 4px auto 2px; | |||
} | } | ||
.thumb .multiVert .mediaContainer { | |||
margin: 3px auto -1px; | |||
} | } | ||
.mw-changeslist-legend { | |||
. | border: 1px solid #aaa; | ||
} | } | ||
. | .mw-highlight pre { | ||
border: 1px dashed gray; | |||
} | } | ||
#toc, .toc { | |||
margin-bottom: 3px; | |||
} | } | ||
. | .suggestions-result-current { | ||
background-color:#7C2411; | |||
} | } | ||
#editpage-specialchars { | |||
background:#fff; | |||
} | } | ||
.mw-editinginterface { | |||
color:red; | |||
} | } | ||
. | #pagehistory li.selected { | ||
outline: 1px dashed #A52A2A; | |||
} | } |
Revision as of 15:17, October 10, 2021
/* CSS placed here will be applied to all skins */
div#content {
background:#FAF2CD;
background-repeat:no-repeat;
background-position: right center;
background-attachment: fixed;
border: 1px solid gold;
border-right: none;
}
body {
background: url(/w/images/8/8a/Wiki-background.jpg) repeat;
}
/* link colors */
a { color: #00f; }
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; }
/* edit options */
.mw-editform .editOptions {
border-radius:0px;
}
textarea, .wikiEditor-ui .wikiEditor-ui-view {
border: 1px solid #003466;
}
.editOptions {
background-color:#FFFFE8;
border: 1px solid #003466;
border-top:none;
}
/* warning box */
.messagebox, .errorbox, .warningbox, .successbox {
padding:12px;
}
div.mw-warning-with-logexcerpt {
border: 2px solid #7F5F00;
}
.mw-revision.warningbox {
margin-top:0px;
padding:0px;
border:0px;
background:transparent;
}
#mw-revision-info, #mw-revision-info-current, #mw-revision-nav {
color: #54595d;
}
/* main page, adapted from Super Mario Wiki */
body.page-Main_Page.action-view h1.firstHeading,
body.page-Main_Page.action-view .mw-revision,
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;
}
.mainpagebox {
border: 2px solid #914800;
padding: 2px;
background: #ffefe0;
border-radius: 1em;
}
.mainpagebox p {
margin: 0.9em 0 1em;
}
.mainpagebox#welcome {
background: #ffefe0;
padding: 2px 2px 2px 0;
}
.mainpagebox#nav {
font-size: 120%;
padding: 2px 2px 5px 0;
background: #FFF;
border-color: #914800;
}
.mainpagebox#nav ul {
margin-left: 20px;
}
.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 #914800;
font-size: 120%;
font-weight: bold;
color: #FFFFFF;
text-align: center;
border-radius: 0.75em;
}
.MainTopText a {
color: black !important;
text-decoration: none;
}
.MainTopText a:hover {
color: black;
text-decoration: underline;
}
.mainpagebox#featured h2 {
background: #eb7600;
border-color: #914800;
}
.mainpagebox#dyk h2 {
background: #bf6236;
border-color: saddlebrown;
}
.mainpagebox#news h2 {
background: #0096d5;
border-color: #001C8A;
}
/* <h3> Navigation templates </h3> */
.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;
border-spacing:3px;
}
.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:first-child th, .navbox tr:first-child th a {
color: #FFFFFF !important;
}
.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 th a, .navbox tr th a:visited, .navbox tr th a.new, .navbox tr th a.new:visited {
color: #000000;
}
.navbox tr:nth-child(2n) td {
background: none repeat scroll 0 0 #F6F6F6;
}
.navbox tr td {
background: none repeat scroll 0 0 #FCFCFC;
}
.navbox td a {
color: #0000FF;
}
.navbox td a:visited {
color: #0000CC;
}
.navbox td a.new {
color: #CC2200;
}
.navbox td a.new:visited {
color: #A55858;
}
.navbox td a.selflink {
color: #000;
}
.navbox.light > * > tr:first-child th, .navbox.light > * > tr:first-child th a {
color: black !important;
}
/* <h4> crash </h4> */
.navbox.crash tr:first-child th, .navbox.crash tr:first-child th a {
background-color: #F8A651;
color:#000 !important;
}
.navbox.crash tr th {
background-color: #fac38a;
}
.navbox.crash tr:nth-child(2n) td {
background-color: #F5F5F5;
}
.navbox.crash tr td {
background-color: #FBFBFB;
}
.navbox.crash tr:not(:first-child) th:not([rowspan]):not([colspan]) {
background: none repeat scroll 0 0 #FCD6B0;
}
/* <h4> Racing </h4> */
.navbox.racing tr:first-child th, .navbox.racing tr:first-child th a {
background-color: gold;
color: #000 !important;
}
.navbox.racing tr th {
background-color: #FFF462;
}
.navbox.racing tr:nth-child(2n) td {
background-color: #FFFFBB;
}
.navbox.racing tr td {
background-color: #FFFFDD;
}
.navbox.racing tr:not(:first-child) th:not([rowspan]):not([colspan]) {
background: none repeat scroll 0 0 #FFF789;
}
/* Notice templates */
.notice-template.image,
.notice-template.copyright {
padding: 5px;
}
.notice-template.image,
.notice-template#aboutfile,
.notice-template.copyright {
width: 90%;
margin: 5px auto;
}
.notice-template#aboutfile,
.notice-template.copyright {
font-size: 95%;
}
.notice-template.copyright {
background: #fff9f9;
border: 1px solid #C55;
}
/* rc display adjustment */
.client-js .mw-input-hidden {
display:inline-block;
}
/* crash wiki coloring */
.suggestions-result-current {
background-color:#7C2411;
}
/* Indicator icons */
.mw-indicators,
#mw-indicator-shortcut {
position: relative;
}
.mw-indicator {
margin: 0 2px;
}
.mw-indicator img {
image-rendering: auto !important;
}
#mw-indicator-mw-helplink {
display: none;
}
/* Tabber */
.infobox .tabbernav {
font-size: 90%;
}
.tabber.info {
display: block;
float: right;
margin: 0 0 0.5em 1em;
}
.tabber.info .nav {
display: block !important;
}
.tabber.info .infobox > tbody > tr:nth-child(2) img {
max-width: 100% !important;
height: auto !important;
}
.tabber.info table {
display: block !important;
float: none !important;
width: auto !important;
max-width: none !important;
margin: 0 !important;
overflow-x: auto !important;
}
.tabber.info tbody {
display: table !important;
width: 100% !important;
}
/* wikitable*/
table.wikitable {background:#fff;margin:1em 0;border:1pt solid #A52A2A;border-collapse:collapse;color:black}
table.wikitable > * > tr > td, table.wikitable > * > tr > th, table.wikitable > * > tr > td, table.wikitable > * > tr > th {border:1pt solid #A52A2A;padding:0.2em 0.4em}
table.wikitable > * > tr > th {background: #F8A651;}
/* References */
ol.references {
margin-top: 0;
font-size: 90%;
}
ol.references div {
display: inline;
}
ol.references span {
line-height: 1;
}
ol.references li:target, sup.reference:target {
background-color: transparent;
font-weight: bold;
}
/* Captcha spacing */
#editform #wpCaptchaWord {
margin-top: 2.5px;
}
.mw-ui-vform-field:nth-of-type(6) .mw-input {
margin-top: 10px;
}
#userloginForm .mw-ui-vform-field:nth-of-type(6) {
margin-bottom: 5px;
}
.mw-input img, #editform img, label img {
image-rendering: auto !important;
}
.mw-htmlform-field-HTMLReCaptchaNoCaptchaField .mw-input {
margin-top: 1px;
}
.editOptions .g-recaptcha {
margin-bottom: 10px;
}
.mw-ui-vform {
width: 302px;
}
/* infobox */
.infobox {
float: right;
clear: right;
border-spacing:2px;
width: 300px;
padding: 3px;
margin: 0 0 1em 1em;
border: 1px solid black;
font-size: 10px;
}
.infobox td,
.infobox th {
vertical-align: top;
padding:3px;
}
.infobox caption {
font-size: larger;
margin-left: inherit;
}
.infobox .mw-collapsible-toggle-expanded {
padding-left: 7px;
}
/* Diff lines */
.diff-addedline, .diff-deletedline, .diff-context {
font-size: 88% !important;
line-height: 1.6 !important;
vertical-align: top;
white-space: -moz-pre-wrap;
white-space: pre-wrap !important;
border-style: solid;
border-width: 1px 1px 1px 4px;
border-radius: 0.33em;
}
.diff-editfont-monospace .diff-addedline, .diff-editfont-monospace .diff-deletedline, .diff-editfont-monospace .diff-context {
font: x-small sans-serif;
}
/* Edit box */
.wikiEditor-ui-toolbar .section-main,
.wikiEditor-ui-toolbar .tabs {
height: auto;
}
.wikiEditor-ui textarea#wpTextbox1 {
height: 474px;
line-height: 1.4em;
}
.wikiEditor-ui .wikiEditor-ui-view {
border: 1px solid #A52A2A;
}
.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;
}
/* 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;
}
}
/* Mark redirects on Special:AllPages and Special:EditWatchlist */
.allpagesredirect a.mw-redirect, .watchlistredir a.mw-redirect {
color: #888 !important;
}
/* 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-control-bar, .video-js .vjs-volume-vertical { background: #000; }
.video-js .vjs-mouse-display .vjs-time-tooltip { background: #111; }
.video-js { overflow-x: clip; display: block !important; }
/* Newbie bug fix */
body.newbie .video-js { overflow: hidden !important; }
body.newbie .vjs-time-tooltip { display: none !important; }
/* OOUI fixes */
.oo-ui-optionWidget.oo-ui-labelElement > .oo-ui-labelElement-label {
overflow: visible;
}
.oo-ui-textInputWidget .oo-ui-pendingElement-pending {
display:none;
}
.oo-ui-menuOptionWidget.oo-ui-optionWidget-selected .oo-ui-menuOptionWidget-checkIcon {
display:none;
}
.oo-ui-textInputWidget .oo-ui-inputWidget-input, .oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle, .oo-ui-tagMultiselectWidget-handle {
border:1px solid #AAA;
}
.oo-ui-textInputWidget.oo-ui-widget-enabled .oo-ui-inputWidget-input:focus {
border:1px solid #a52a2a;
border-radius:0px;
box-shadow: none;
}
.oo-ui-panelLayout-framed {
border: 1px solid #a52a2a;
border-radius: 0px;
}
.oo-ui-buttonElement-framed > .oo-ui-buttonElement-button {
box-shadow: none !important;
border: 1px solid #ccc !important;
}
.oo-ui-dropdownWidget-handle {
border: 1px solid gray;
}
.oo-ui-textInputWidget input, .oo-ui-textInputWidget textarea {
border: 1px solid gray;
border-radius: 0.25em !important;
}
.oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle:hover, .oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle:focus {
border-color:#a52a2a;
box-shadow:none;
}
.oo-ui-textInputWidget.oo-ui-widget-enabled .oo-ui-inputWidget-input {
border-radius: 0px !important;
box-shadow: none;
transition: none;
}
.mw-prefs-tabs-wrapper.oo-ui-panelLayout-framed, .mw-prefs-tabs > .oo-ui-menuLayout-content > .oo-ui-indexLayout-stackLayout > .oo-ui-tabPanelLayout {
border-color: #a52a2a;
}
body:not(.mw-special-Export) .mw-htmlform-ooui-wrapper .oo-ui-fieldLayout { margin-right: 10px; display: block; vertical-align: middle !important; }
body:not(.mw-special-Export) .mw-htmlform-ooui-wrapper .oo-ui-fieldsetLayout-group { display: block !important; }
body:not(.mw-special-Export) .mw-htmlform-ooui-wrapper .oo-ui-fieldsetLayout.mw-collapsible .mw-collapsible-toggle .oo-ui-iconElement-icon { display: none !important; }
body:not(.mw-special-Export) .mw-htmlform-ooui-wrapper.oo-ui-panelLayout-padded .oo-ui-fieldsetLayout.mw-collapsible .oo-ui-fieldsetLayout-header { padding-left: 0 !important; margin-bottom: 0 !important; }
/* disable calendar widget */
.mw-widget-calendarWidget {
display: none !important;
}
.mw-widget-dateInputWidget-handle {
border-radius: 0px;
}
/* Miscellaneous */
pre {
background-color: #fff;
border: 1px dashed #A52A2A;
color: #000;
overflow:auto;
}
.mw_metadata {
margin-top: 5px;
}
#bodyContent {
position: relative;
}
.mw-newarticletext {
margin-bottom: 10px;
}
.top-right {
position: absolute;
top: -31px;
right: 1px;
}
.top-right-text {
position: absolute;
top: -17px;
right: 1px;
}
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;
}
fieldset {
border: 1px solid #a52a2a;
}
div.tleft, div.tright {
margin-top: 0.2em;
margin-bottom: 0.8em;
}
blockquote {
border-left: 3px solid #A52A2A;
margin-left: 2em;
padding-left: 1em;
}
#disambig {
border-top: 3px double #cccccc;
border-bottom: 3px double #cccccc;
margin-top:5px;
}
p {
margin: 0.6em 0 0.7em 0;
}
.portlet {
width: 11.8em;
}
#pagehistory li {
padding: 2px;
}
.mw-ui-button {
color: #000;
margin-bottom: 0.25em;
}
#localNotice {
margin-bottom: 0.4em;
}
.mw-customtoggle, .mw-collapsible-toggle {
cursor: default;
}
.mw-collapsible-toggle {
padding-right: 0.3em;
}
.mw-prefs-buttons {
background:transparent;
position:inherit;
padding:5px;
}
.right {
text-align: right;
}
#preftoc a:active {
color: #00c;
}
.special li {
line-height: 19px;
}
a.mw-selflink:hover {
color: inherit;
}
span#mw-editform-cancel {
display:none;
}
.contentbox > .mw-collapsible-toggle {
float: none !important;
}
.successbox {
border-color: #008000;
}
.errorbox {
border-color: #d33d33;
}
.messagebox, .errorbox, .warningbox, .successbox {
padding:12px;
}
div.noarticletext {
border: 1px solid #A52A2A;
background: transparent;
padding-left: 7px;
font-size: 95%;
}
.thumb .mediaContainer {
margin: 4px auto 2px;
}
.thumb .multiVert .mediaContainer {
margin: 3px auto -1px;
}
.mw-changeslist-legend {
border: 1px solid #aaa;
}
.mw-highlight pre {
border: 1px dashed gray;
}
#toc, .toc {
margin-bottom: 3px;
}
.suggestions-result-current {
background-color:#7C2411;
}
#editpage-specialchars {
background:#fff;
}
.mw-editinginterface {
color:red;
}
#pagehistory li.selected {
outline: 1px dashed #A52A2A;
}