Be sure to read our policy on citing sources before editing!

Difference between revisions of "MediaWiki:Common.css"

From Jiggywikki, a Banjo-Kazooie wiki
Jump to navigationJump to search
m (notice-template)
 
(47 intermediate revisions by one other user not shown)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */
/* Image thumbs */
html .thumbimage { background-color: #fff; }
/* Image/gallery classes */
img.blackbg, .gallery.blackbg img { background: #000 !important; }
img.graybg, img.greybg, .gallery.graybg img, .gallery.greybg img {
background: #808080 !important;
}
ul.gallery img, table.filehistory img, table.listfiles img, table.searchResultImage img {
image-rendering: crisp-edges;
image-rendering: pixelated;
}
.pixelated, .pixelart, .sprites, .sprite {
image-rendering: crisp-edges; image-rendering: pixelated;
}


/* links */
/* links */
Line 41: Line 59:
     background:#ffe79f;
     background:#ffe79f;
     border:1px solid #7f5f00;
     border:1px solid #7f5f00;
}
table.wikitable.infobox.plainlinks {
    margin-top:0px;
}
img {
    image-rendering: optimizeSpeed;
    image-rendering: -moz-crisp-edges;
    image-rendering: -o-crisp-edges;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
    -ms-interpolation-mode: nearest-neighbor;
}
#p-personal ul a:hover {
    text-decoration: underline;
    background-color:transparent;
}
#footer {
  background-color: #FFF7DF;
  border-top: 1px solid #7F5F00;
  border-bottom: 1px solid #7F5F00;
}
}


Line 85: Line 77:
}
}


/* ooui modifications */
/* warning box */
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; }
.oo-ui-dropdownWidget { max-width:35em; }
#ooui-php-12,#ooui-php-13 { display: inline-block; }


.oo-ui-textInputWidget .oo-ui-pendingElement-pending {
.successbox, .warningbox {
background-color:#fff;
    background-color: #ffe79f;
    margin-bottom: 10px;
    border: 1px solid #7F5F00;
}
}
.oo-ui-textInputWidget.oo-ui-widget-enabled .oo-ui-inputWidget-input:focus {
 
border:1px solid #7F5F00;
div.mw-warning-with-logexcerpt {
border-radius:0px;
    border: 2px solid #7F5F00;
box-shadow: none;
}
}
.oo-ui-textInputWidget.oo-ui-widget-enabled .oo-ui-inputWidget-input {
 
border-radius:0px;
.mw-revision.warningbox {
box-shadow:none;
    margin-top:0px;
transition:none;
    padding:0px;
    border:0px;
    background-color:transparent;
}
}


.oo-ui-textInputWidget .oo-ui-inputWidget-input, .oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle {
#mw-revision-info, #mw-revision-info-current, #mw-revision-nav {
border:1px solid #b6b6b3;
    color: #54595d;
border-radius:0px;
}
}


.oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle:focus {
/* Edit box */
     border:1px solid #7F5F00;
.wikiEditor-ui-toolbar .section-main,
    box-shadow: none;
.wikiEditor-ui-toolbar .tabs {
height: auto;
}
.wikiEditor-ui textarea#wpTextbox1 {
height: 474px;
line-height: 1.4em;
}
.wikiEditor-ui .wikiEditor-ui-view {
     border: 1px solid #778870;
}
.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;
}
}


.oo-ui-panelLayout-framed {
/* Keep create account benefits up top */
  border: 1px solid #7F5F00;
.mw-special-CreateAccount #userloginForm {
  border-radius: 0px;
margin-right: 90px;
}
}


/* warning box */


.successbox, .warningbox {
/* Adjust inputbox button padding in Firefox */
    background-color: white;
@-moz-document url-prefix() {
    margin-bottom: 10px;
.bodySearchWrap .mw-ui-button, .createboxButton {
    border: 2px solid #7F5F00;
padding-top: 4px;
    padding: 5px;
padding-bottom: 5px;
}
}
}


div.mw-warning-with-logexcerpt {
 
     border: 2px solid #7F5F00;
/* Forum formatting -Algorithm & -Splaka */
.forumheader {
     background: #FFE79F;
border: 1px solid #7F5F00;
margin: 1em 0 15px;
padding: 12px;
}
.forumlist td.forum_edited a {
color: #000;
text-decoration: none;
}
}
 
.forumlist td.forum_title a {
.mw-revision.warningbox {
padding-left: 20px;
    margin-top:0px;
    padding:0px;
    border:0px;
    background:transparent;
}
}


.mw-editinginterface {
.forumlist td.forum_title a.forum_new:visited {
    color:red;
background: none;
font-weight: normal;
padding-left: 20px;
}
}
 
.forumlist th.forum_title {
#mw-revision-info, #mw-revision-info-current, #mw-revision-nav {
padding-left: 20px;
    color: #54595d;
}
}


/* jiggywikki colors */
fieldset {
fieldset {
   border: 1px solid #7F5F00;
   border: 1px solid #7F5F00;
}
textarea, .wikiEditor-ui .wikiEditor-ui-view {
  border: 1px solid #a58f4c
}
}


Line 165: Line 182:
}
}


/* preference buttons */
.mw-prefs-buttons {
    background:transparent;
    position:inherit;
    padding:5px;
    box-shadow:none;
}
/* rc display adjustment */
.client-js .mw-input-hidden {
    display:inline-block;
}


/* References */
ol.references {
margin-top: 0;
font-size: 90%;
}
ol.references div {
display: inline;
}
ol.references span {
line-height: 1;
}
/* 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;
}


.editOptions {
/* Fake link template */
  border: 1px solid #a58f4c;
.fakelinks {
  border-top:none;
cursor: pointer;
color: #002bb8;
}
.fakelinks:hover {
text-decoration: underline;
}
}


textarea, .wikiEditor-ui .wikiEditor-ui-view {
.oo-ui-actionFieldLayout .oo-ui-actionFieldLayout-button .oo-ui-buttonElement-framed > .oo-ui-buttonElement-button {
  border: 1px solid #a58f4c
        margin-left:5px;
}
}


div.tleft, div.tright {
/* Indicator icons */
    margin-top: 0.2em;
.mw-indicators,
    margin-bottom: 0.8em;
#mw-indicator-shortcut {
  position: relative;
}
.mw-indicator {
  margin: 0 2px;
}
.mw-indicator img {
  image-rendering: auto !important;
}
#mw-indicator-mw-helplink {
  display: none;
}
}


.thumb .mediaContainer {
/* notice templates */
margin: 4px auto 2px;
body:not(.ns-6) .notice-template + .notice-template {
margin-top: -0.375em !important;
}
#mw-imagepage-content .notice-template + #aboutfile {
margin-top: 0.75em !important;
}
}
.thumb .multiVert .mediaContainer {
#mw-imagepage-content .notice-template:not(#aboutfile) {
margin: 3px auto -1px;
margin-top: 0.75em !important;
margin-bottom: 2.5px !important;
}
}


.mw-special-Contributions .mw-htmlform-field-HTMLTagFilter ~ .mw-htmlform-field-HTMLCheckField.oo-ui-fieldLayout {
.notice-template p {
    padding-right:0px;
margin: 0.6em 0;
}
}


body:not(.mw-special-Export) .mw-htmlform-ooui-wrapper .oo-ui-fieldLayout {
/* main page */
    display: inherit;
 
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;
}
}


div#ooui-php-16 {
.mainpagebox {
    display: inline-block;
border: 2px solid #FBC21C;
padding: 2px;
background: #F8F5C1;
border-radius: 1em;
}
}


.oo-ui-menuSelectWidget {
.header {
    box-shadow:none;
  background:#FBC21C;
    border: 1px solid #7f5f00;
  border-radius:10px;
  -moz-border-radius:10px;
  -webkit-border-radius:10px;
  font-size:110%;
  font-weight:bold;
  text-align:center;
  padding:5px;
  margin-bottom:5px;
}
}


.mw-widget-calendarWidget {
/* Media player */
    border: 1px solid #7f5f00;
#file > .video-js { display: inline-block !important; }
    box-shadow:none;
.thumb .video-js { margin-left: auto; margin-right: auto; }
    transition:none;
.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; }
 
/* Multimedia viewer */
.mw-mmv-image img {
background: #fff !important;
image-rendering: auto !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;
}
}


.mw-widget-calendarWidget-day-today {
/* Mark redirects on Special:AllPages and Special:EditWatchlist */
    box-shadow:inset 0 0 0 1px #7f5f00;
.allpagesredirect a.mw-redirect, .watchlistredir a.mw-redirect {
color: #888 !important;
}
}


.oo-ui-decoratedOptionWidget {
/* New user message box */
    padding:3px;
.usermessage {
margin-top: 1em;
}
}


.oo-ui-menuOptionWidget.oo-ui-optionWidget-selected .oo-ui-menuOptionWidget-checkIcon {
/* Gallery */
    display:none;
ul.gallery, li.gallerybox div.thumb {
margin-bottom: 0;
padding-bottom: 0;
}
#bodyContent ul.gallery {
margin: 2px;
padding: 2px;
}
li.gallerycaption {
text-align: unset;
}
}


.oo-ui-menuOptionWidget.oo-ui-optionWidget-selected {
.gallery.center {
    background-color:#D1E8F4;
margin-left: auto !important;
margin-right: auto !important;
}
.gallery.centertext .gallerytext {
text-align: center !important;
}
}


.oo-ui-menuOptionWidget.oo-ui-widget-enabled.oo-ui-optionWidget {
.mw-gallery-slideshow .gallerybox + .gallerybox {
    color:black;
display: none;
}
.mw-gallery-slideshow-thumbnails-toggled ~ .gallerybox {
display: inline-block !important;
}
}


.oo-ui-fieldLayout.oo-ui-fieldLayout-align-inline {
 
    margin-top: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;
}
}


.mw-htmlform-ooui-wrapper.oo-ui-panelLayout-padded {
/* OOUI fixes */
    padding:0.7em;
.oo-ui-optionWidget.oo-ui-labelElement > .oo-ui-labelElement-label {
  overflow: visible;
}
}


.oo-ui-fieldsetLayout.oo-ui-labelElement > .oo-ui-fieldsetLayout-header > .oo-ui-labelElement-label {
 
     font-size:13px;
.oo-ui-menuOptionWidget.oo-ui-optionWidget-selected .oo-ui-menuOptionWidget-checkIcon {
    padding:0;
     display:none;
}
}


.mw-htmlform-ooui .oo-ui-fieldsetLayout-header {
.oo-ui-textInputWidget .oo-ui-inputWidget-input, .oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle, .oo-ui-tagMultiselectWidget-handle {
    font-size:12px;
border:1px solid #AAA;
}
}


.mw-htmlform-field-HTMLMultiSelectField.oo-ui-fieldLayout, .mw-htmlform-ooui .htmlform-tip, .mw-htmlform-ooui .mw-htmlform-submit-buttons {
.oo-ui-textInputWidget.oo-ui-widget-enabled .oo-ui-inputWidget-input:focus {
    margin-top:0.3em;
border:1px solid #7F5F00;
border-radius:0px;
box-shadow: none;
}
}


.oo-ui-buttonElement-framed > input.oo-ui-buttonElement-button, .oo-ui-buttonElement-framed.oo-ui-labelElement > .oo-ui-buttonElement-button > .oo-ui-labelElement-label {
.oo-ui-panelLayout-framed {
    line-height:1.85em;
  border: 1px solid #7F5F00;
  border-radius: 0px;
}
}


.mw-special-Contributions .mw-htmlform-field-HTMLMultiSelectField.mw-htmlform-flatlist.oo-ui-fieldLayout {
.oo-ui-buttonElement-framed > .oo-ui-buttonElement-button {
     margin:0;
     box-shadow: none !important;
    border: 1px solid #ccc !important;
}
}


.mw-createacct-benefits-container {
.oo-ui-dropdownWidget-handle {
     display:none;
     border: 1px solid gray;
    border-radius:0px;
}
}


#mw-createaccount-cta {
.oo-ui-textInputWidget input, .oo-ui-textInputWidget textarea {
     background: none;
     border: 1px solid gray;
     padding-top: 1em;
     border-radius: 0.25em !important;
}
}


.mw-prefs-buttons {
.oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle:hover, .oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle:focus {
    background:transparent;
     border-color:#7F5F00;
    position:inherit;
     padding:5px;
     box-shadow:none;
     box-shadow:none;
}
}


.oo-ui-tabOptionWidget {
.oo-ui-textInputWidget.oo-ui-widget-enabled .oo-ui-inputWidget-input {
     color:#000;
     border-radius: 0px !important;
    box-shadow: none;
    transition: none;
}
}


.oo-ui-tabSelectWidget-framed {
body:not(.mw-special-Export) .mw-htmlform-ooui-wrapper .oo-ui-fieldLayout { margin-right: 10px; display: block; vertical-align: middle !important; }
    box-shadow:none;
body:not(.mw-special-Export) .mw-htmlform-ooui-wrapper .oo-ui-fieldsetLayout-group { display: block !important; }
     background-color:#FFCF3F;
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;
}
}


.oo-ui-menuLayout > .oo-ui-menuLayout-menu, .oo-ui-menuLayout > .oo-ui-menuLayout-content {
.mw-widget-dateInputWidget-handle {
     transition:none;
     border-radius: 0px;
}
}


.oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-widget-enabled:hover {
/* Formatting fixes */
    background:white;
li ul, li ol { margin-top: 0.1em !important; }
    border:none;
dl + ul, dl + ol { margin-top: -0.3em !important; }
ul + dl, ol + dl  { margin-top: 0.3em !important; }
.mw-parser-output table sup { white-space: nowrap; }
div[style*="column-count"] > p { margin: 0 !important; }
span.comment, .mw-parser-output a.external.free, .filehistory.wikitable td[dir] {
word-wrap: anywhere;
}
}


.mw-prefs-tabs-wrapper.oo-ui-panelLayout-framed, .mw-prefs-tabs > .oo-ui-menuLayout-content > .oo-ui-indexLayout-stackLayout > .oo-ui-tabPanelLayout, .oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-optionWidget-selected {
/* Scrollable tables */
    border-color:#7F5F00;
table.scrollable {
display: block;
overflow: auto;
max-width: max-content;
border: 0;
}
}


.oo-ui-textInputWidget .oo-ui-inputWidget-input, .oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle {
/* Show/hide toggles */
    border-color:#7F5F00;
.navbox .mw-collapsible-toggle {
text-align: right;
min-width: 3.729em;
}
.wikitable.mw-collapsed .mw-collapsible-toggle {
margin-left: 10px;
}
}


#ooui-php-12, #ooui-php-13 {
/* Horizontal rule */
    display:inherit;
hr { overflow: hidden; }
 
/* Self-links */
body.mediawiki a.mw-selflink {
color: inherit !important;
cursor: inherit !important;
text-decoration: inherit !important;
font-weight: bold !important;
}
}


.oo-ui-fieldLayout-body {
/* Inline link colors */
    padding-top:2px;
a font:hover, a span:hover {
text-decoration: inherit;
}
}


.oo-ui-buttonElement-framed > .oo-ui-buttonElement-button {
/* Special:Preferences */
    box-shadow: none !important;
#mw-htmlform-mobile .oo-ui-inline-help { display: none; }
    border: 1px solid #ccc !important;
 
/* Miscellaneous */
 
.mw_metadata {
margin-top: 5px;
}
}


/* rc display adjustment */
#bodyContent {
.client-js .mw-input-hidden {
position: relative;
    display:inline-block;
}
.mw-newarticletext {
margin-bottom: 10px;
}
.top-right {
position: absolute;
top: -31px;
right: 1px;
}
.top-right-text {  
position: absolute;
top: -17px;
right: 1px;
}
}




ol.references {
div.tleft, div.tright {
margin-top: 0;
    margin-top: 0.2em;
font-size: 90%;
    margin-bottom: 0.8em;
}
}


div.mw-recentchanges-toplinks {
  padding-left: 4px;
}


blockquote {
blockquote {
Line 336: Line 533:
}
}


span#mw-editform-cancel {
#disambig {
    display:none;
border-top: 3px double #cccccc;
border-bottom: 3px double #cccccc;
        margin-top:5px;
}
}


table.wikitable.infobox.plainlinks {
p {
     margin-left:4px;
     margin: 0.6em 0 0.7em 0;
}
}


/* Fake link template */
.portlet {
.fakelinks {
    width: 11.8em;
cursor: pointer;
color: #002bb8;
}
}
.fakelinks:hover {
 
text-decoration: underline;
#pagehistory li {
    padding: 2px;
}
}


.oo-ui-actionFieldLayout .oo-ui-actionFieldLayout-button .oo-ui-buttonElement-framed > .oo-ui-buttonElement-button {
.mw-ui-button {
        margin-left:5px;
    color: #000;
    margin-bottom: 0.25em;
}
}


a.mw-selflink {
 
     color:black !important;
#localNotice {
     margin-bottom: 0.4em;
}
}


p {
.mw-customtoggle, .mw-collapsible-toggle {
     margin: 0.6em 0 0.7em 0;
     cursor: default;
}
}


/* Indicator icons */
.mw-collapsible-toggle {
.mw-indicators,
padding-right: 0.3em;
#mw-indicator-shortcut {
position: relative;
}
}
.mw-indicator {
 
margin: 0 2px;
.editOptions {
  border: 1px solid #a58f4c;
  border-top:none;
}
}
.mw-indicator img {
 
image-rendering: auto !important;
.mw-editform .editOptions {
  border-radius:0px;
}
}
#mw-indicator-mw-helplink {
 
display: none;
.right {
text-align: right;
}
}


Line 384: Line 586:
}
}


/* Notice templates */
.messagebox, .errorbox, .warningbox, .successbox {
body:not(.ns-6) .notice-template + .notice-template {
    padding:12px;
margin-top: -0.375em !important;
}
}
.ns-6 .notice-template + #aboutfile {
 
margin-top: 0.75em !important;
#preftoc a:active {
color: #00c;  
}
}
.ns-6 .notice-template:not(#aboutfile) {
 
margin-top: 0.75em !important;
div.noarticletext {
margin-bottom: 2.5px !important;
    border: 1px solid #a58f4c;
}
}
.notice-template.copyright {
 
margin: 2.5px auto !important;
.special li {
line-height: 19px;
}
}
.notice-template p {
 
margin: 0.6em 0;
a.mw-selflink:hover {
  color: inherit;
}
}


/* main page */
span#mw-editform-cancel {
body.page-Main_Page.action-view h1.firstHeading,
    display:none;
body.page-Main_Page.action-view #siteSub,
body.page-Main_Page.action-view #catlinks,
body.page-Main_Page.action-view #lastmod,
body.page-Main_Page.action-view .mw-revision {  
display: none;
}
}
body.page-Main_Page.action-view #bodyContent {
 
margin-top: 16px;
#toc, .toc {
margin-bottom: 3px;
}
}
body.page-Main_Page.action-view .usermessage {
 
margin-top: 43px;
.contentbox > .mw-collapsible-toggle {
}
float: none !important;
body.page-Main_Page.action-view #bodyContent {
margin-top: -20px;
}
body.page-Main_Page.action-view #siteNotice {
margin-bottom: 28px;
}
}


hr {
.thumb .mediaContainer {
  background-color:#a58f4c;
margin: 4px auto 2px;
}
}
 
.thumb .multiVert .mediaContainer {
.mw-customtoggle, .mw-collapsible-toggle {
margin: 3px auto -1px;
    cursor: default;
}
}


/* Mark redirects on Special:AllPages and Special:EditWatchlist */
.mw-editinginterface {
.allpagesredirect a.mw-redirect, .watchlistredir a.mw-redirect {
    color:red;
color: #888 !important;
}
}


.mw-widget-calendarWidget {
hr {
    display: none !important;
  background-color:#a58f4c;
}
}


.mw-widget-dateInputWidget-handle {
.catlinks {
     border-radius: 0px;
     margin-top:10px;
}
}

Latest revision as of 19:29, March 14, 2022

/* CSS placed here will be applied to all skins */

/* Image thumbs */
html .thumbimage { background-color: #fff; }

/* Image/gallery classes */
img.blackbg, .gallery.blackbg img { background: #000 !important; }
img.graybg, img.greybg, .gallery.graybg img, .gallery.greybg img {
	background: #808080 !important;
}

ul.gallery img, table.filehistory img, table.listfiles img, table.searchResultImage img {
	image-rendering: crisp-edges;
	image-rendering: pixelated;
}

.pixelated, .pixelart, .sprites, .sprite {
	image-rendering: crisp-edges; image-rendering: pixelated;
}

/* links */
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; }

/* background tiles */
body.mediawiki {
    background:#f6f6f6 url(/w/images/2/26/Background.png) repeat;
}

/* page background */
div#content.mw-body {
    background:#fff7df;
    border:1px solid #7f5f00;
}

/* tables */
table.wikitable {
    background:#ffdf7f;
    border:1px solid #7f5f00;
}
table.wikitable > caption {
    background:#ffdf7f;
    border-top-left-radius:1em;
    border-top-right-radius:1em;
}
table.wikitable > tr > th, table.wikitable > * > tr > th {
    background:#ffcf3f;
    border:1px solid #7f5f00;
}
table.wikitable > tr:nth-child(odd) > td, table.wikitable > * > tr:nth-child(odd) > td {
    background:#ffefbf;
    border:1px solid #7f5f00;
}
table.wikitable > tr:nth-child(even) > td, table.wikitable > * > tr:nth-child(even) > td {
    background:#ffe79f;
    border:1px solid #7f5f00;
}

/* 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;
    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;
}

/* warning box */

.successbox, .warningbox {
    background-color: #ffe79f;
    margin-bottom: 10px;
    border: 1px solid #7F5F00;
}

div.mw-warning-with-logexcerpt {
    border: 2px solid #7F5F00;
}

.mw-revision.warningbox {
    margin-top:0px;
    padding:0px;
    border:0px;
    background-color:transparent;
}

#mw-revision-info, #mw-revision-info-current, #mw-revision-nav {
    color: #54595d;
}

/* 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 #778870;
}
.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;
	}
}


/* Forum formatting -Algorithm & -Splaka */
.forumheader {
    background: #FFE79F;
	border: 1px solid #7F5F00;
	margin: 1em 0 15px;
	padding: 12px;
}
.forumlist td.forum_edited a {
	color: #000;
	text-decoration: none;
}
.forumlist td.forum_title a {
	padding-left: 20px;
}

.forumlist td.forum_title a.forum_new:visited {
	background: none;
	font-weight: normal;
	padding-left: 20px;
}
.forumlist th.forum_title {
	padding-left: 20px;
}

/* jiggywikki colors */ 
fieldset {
  border: 1px solid #7F5F00;
}

textarea, .wikiEditor-ui .wikiEditor-ui-view {
   border: 1px solid #a58f4c
}

.mw-changeslist-legend {
  border: 1px solid #a58f4c;
}

pre {
  background-color: #fff;
  border: 1px dashed #7F5F00;
  color: #000;
  overflow:auto;
}

/* preference buttons */
.mw-prefs-buttons {
    background:transparent;
    position:inherit;
    padding:5px;
    box-shadow:none;
}

/* rc display adjustment */
.client-js .mw-input-hidden {
    display:inline-block;
}

/* References */
ol.references {
	margin-top: 0;
	font-size: 90%;
}
ol.references div {
	display: inline;
}
ol.references span {
	line-height: 1;
}

/* 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;
}

/* Fake link template */
.fakelinks {
	cursor: pointer;
	color: #002bb8;
}
.fakelinks:hover {
	text-decoration: underline;
}

.oo-ui-actionFieldLayout .oo-ui-actionFieldLayout-button .oo-ui-buttonElement-framed > .oo-ui-buttonElement-button {
        margin-left:5px;
}

/* 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;
}

/* 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;
}

/* main page */

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;
}

.mainpagebox {
	border: 2px solid #FBC21C;
	padding: 2px;
	background: #F8F5C1;
	border-radius: 1em;
}

.header {
   background:#FBC21C;
   border-radius:10px;
   -moz-border-radius:10px;
   -webkit-border-radius:10px;
   font-size:110%;
   font-weight:bold;
   text-align:center;
   padding:5px;
   margin-bottom:5px;
}

/* 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; }

/* Multimedia viewer */
.mw-mmv-image img {
	background: #fff !important;
	image-rendering: auto !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;
}

/* Mark redirects on Special:AllPages and Special:EditWatchlist */
.allpagesredirect a.mw-redirect, .watchlistredir a.mw-redirect {
	color: #888 !important;
}

/* New user message box */
.usermessage {
	margin-top: 1em;
}

/* Gallery */
ul.gallery, li.gallerybox div.thumb {
	margin-bottom: 0;
	padding-bottom: 0;
}
#bodyContent ul.gallery {
	margin: 2px;
	padding: 2px;
}
li.gallerycaption {
	text-align: unset;
}

.gallery.center {
	margin-left: auto !important;
	margin-right: auto !important;
}
.gallery.centertext .gallerytext {
	text-align: center !important;
}

.mw-gallery-slideshow .gallerybox + .gallerybox {
	display: none;
}
.mw-gallery-slideshow-thumbnails-toggled ~ .gallerybox {
	display: inline-block !important;
}


/* 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;
}

/* OOUI fixes */
.oo-ui-optionWidget.oo-ui-labelElement > .oo-ui-labelElement-label {
   overflow: visible;
}


.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 #7F5F00;
	border-radius:0px;
	box-shadow: none;
}

.oo-ui-panelLayout-framed {
  border: 1px solid #7F5F00;
  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;
    border-radius:0px;
}

.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:#7F5F00;
    box-shadow:none;
}

.oo-ui-textInputWidget.oo-ui-widget-enabled .oo-ui-inputWidget-input {
    border-radius: 0px !important;
    box-shadow: none;
    transition: none;
}

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;
}

/* Formatting fixes */
li ul, li ol { margin-top: 0.1em !important; }
dl + ul, dl + ol { margin-top: -0.3em !important; }
ul + dl, ol + dl  { margin-top: 0.3em !important; }
.mw-parser-output table sup { white-space: nowrap; }
div[style*="column-count"] > p { margin: 0 !important; }
span.comment, .mw-parser-output a.external.free, .filehistory.wikitable td[dir] {
	word-wrap: anywhere;
}

/* Scrollable tables */
table.scrollable {
	display: block;
	overflow: auto;
	max-width: max-content;
	border: 0;
}

/* Show/hide toggles */
.navbox .mw-collapsible-toggle {
	text-align: right;
	min-width: 3.729em;
}
.wikitable.mw-collapsed .mw-collapsible-toggle {
	margin-left: 10px;
}

/* Horizontal rule */
hr { overflow: hidden; }

/* Self-links */
body.mediawiki a.mw-selflink {
	color: inherit !important;
	cursor: inherit !important;
	text-decoration: inherit !important;
	font-weight: bold !important;
}

/* Inline link colors */
a font:hover, a span:hover {
	text-decoration: inherit;
}

/* Special:Preferences */
#mw-htmlform-mobile .oo-ui-inline-help { display: none; }

/* Miscellaneous */

.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;
}


div.tleft, div.tright {
    margin-top: 0.2em;
    margin-bottom: 0.8em;
}


blockquote {
	border-left: 3px solid #7F5F00;
	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;
}

.editOptions {
   border: 1px solid #a58f4c;
   border-top:none;
}

.mw-editform .editOptions {
  border-radius:0px;
}

.right {
	text-align: right;
}

h1, h2 {
   border-bottom: 1px solid #a58f4c;
}

.messagebox, .errorbox, .warningbox, .successbox {
    padding:12px;
}

#preftoc a:active {
	color: #00c; 
}

div.noarticletext {
    border: 1px solid #a58f4c;
}

.special li {
	line-height: 19px;
}

a.mw-selflink:hover {
  color: inherit;
}

span#mw-editform-cancel {
    display:none;
}

#toc, .toc {
	margin-bottom: 3px;
}

.contentbox > .mw-collapsible-toggle {
	float: none !important;
}

.thumb .mediaContainer {
	margin: 4px auto 2px;
}
.thumb .multiVert .mediaContainer {
	margin: 3px auto -1px;
}

.mw-editinginterface {
    color:red;
}

hr {
  background-color:#a58f4c;
}

.catlinks {
    margin-top:10px;
}