There are currently 39 stubs. You can help us by expanding these articles!

Difference between revisions of "MediaWiki:Common.css"

From the Crash Bandicoot Wiki, the Crash Bandicoot encyclopedia
Jump to navigationJump to search
(infobox updates)
(made updates)
Line 253: Line 253:


/* Notice templates */
/* Notice templates */
.notice-template.image,
body:not(.ns-6) .notice-template + .notice-template {
.notice-template.copyright {
margin-top: -0.375em !important;
padding: 5px;
}
}
.notice-template.image,
#mw-imagepage-content .notice-template + #aboutfile {
.notice-template#aboutfile,
margin-top: 0.75em !important;
.notice-template.copyright {
width: 90%;
margin: 5px auto;
}
}
.notice-template#aboutfile,
#mw-imagepage-content .notice-template:not(#aboutfile) {
.notice-template.copyright {
margin-top: 0.75em !important;
font-size: 95%;
margin-bottom: 2.5px !important;
}
}
.notice-template.copyright {
 
background: #fff9f9;
.notice-template p {
border: 1px solid #C55;
margin: 0.6em 0;
}
}



Revision as of 04:27, October 16, 2021

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

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

/* Infobox templates */
.infobox {
   background: ghostwhite;
   border: 1px solid black;
   float: right;
   margin: 0 0 1em 1.15em;
   width: 300px;
   padding: 3px;
   font-size: 88%;
}

.infobox tr {
	vertical-align: top;
}
.infobox td, .infobox th {
	padding: 2px;
}

.infobox .mw-collapsible-toggle {
	min-width: 39px;
	text-align: right;
}

/* edit options */
.mw-editform .editOptions {
  border-radius:0px;
}

.editOptions {
  background-color:#FFE5CC;
  border: 1px solid #A52A2A;
  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 */
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;
}

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

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

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