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
(change color a bit)
m
Line 99: Line 99:
}
}
.wikiEditor-ui .wikiEditor-ui-view {
.wikiEditor-ui .wikiEditor-ui-view {
     border: 1px solid #003366;
     border: 1px solid #778870;
}
}
.mw-summary-preview {
.mw-summary-preview {

Revision as of 15:16, August 26, 2021

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

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

/* footer */
#footer {
  background-color: #FFF7DF;
  border-top: 1px solid #7F5F00;
  border-bottom: 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;
	}
}


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

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

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

/* 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 #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;
}
body.page-Main_Page.action-view .usermessage {
	margin-top: 43px;
}
body.page-Main_Page.action-view #bodyContent {
	margin-top: -20px;
}
body.page-Main_Page.action-view #siteNotice {
	margin-bottom: 28px;
}

hr {
  background-color:#a58f4c;
}

/* Media player fix */
.wikitable .mediaContainer {
	margin-top: 2px;
}
.video-js {
	overflow: hidden;
	display: block !important;
}
.vjs-time-tooltip {
	display: none !important;
}
#file > .video-js {
	display: inline-block !important;
}
.thumb .video-js {
	margin-left: auto;
	margin-right: auto;
}
.infobox .video-js {
	margin-top: 1px;
	min-width: 200px;
	width: auto !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;
}

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

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

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

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


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

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

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