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
(removal)
 
(7 intermediate revisions by one other user not shown)
Line 137: Line 137:
}
}


/* 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 */  
/* jiggywikki colors */  
Line 250: Line 274:


body.page-Main_Page.action-view h1.firstHeading,
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 #siteSub,
body.page-Main_Page.action-view #catlinks,
body.page-Main_Page.action-view #catlinks,
body.page-Main_Page.action-view #lastmod,
body.page-Main_Page.action-view #lastmod {
body.page-Main_Page.action-view .mw-revision {  
display: none !important;
display: none;
}
}
body.page-Main_Page.action-view #bodyContent {
body.page-Main_Page.action-view #bodyContent {
Line 261: Line 285:
body.page-Main_Page.action-view .usermessage {
body.page-Main_Page.action-view .usermessage {
margin-top: 43px;
margin-top: 43px;
}
body.page-Main_Page.action-view #bodyContent {
margin-top: -20px;
}
body.page-Main_Page.action-view #siteNotice {
margin-bottom: 28px;
}
}


Line 400: Line 418:
.oo-ui-dropdownWidget-handle {
.oo-ui-dropdownWidget-handle {
     border: 1px solid gray;
     border: 1px solid gray;
    border-radius:0px;
}
}


Line 433: Line 452:


/* Formatting fixes */
/* 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; }
.mw-parser-output table sup { white-space: nowrap; }
div[style*="column-count"] > p { margin: 0 !important; }
div[style*="column-count"] > p { margin: 0 !important; }
Line 459: Line 481:
hr { overflow: hidden; }
hr { overflow: hidden; }


/* Self-link color */
/* Self-links */
a.mw-selflink { color: inherit !important; }
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 */
/* Special:Preferences */
Line 599: Line 631:
hr {
hr {
   background-color:#a58f4c;
   background-color:#a58f4c;
}
.catlinks {
    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;
}