Difference between revisions of "MediaWiki:Common.css"

From Crash Bandicoot Wiki
Jump to navigationJump to search
(remove)
(ol)
 
Line 250: Line 250:
 
span#mw-editform-cancel {
 
span#mw-editform-cancel {
 
     display:none;
 
     display:none;
 +
}
 +
 +
ol.references {
 +
    margin-top: 0;
 +
    font-size: 90%;
 +
}
 +
.mw-content-ltr ol, .mw-content-rtl .mw-content-ltr ol {
 +
    margin: 0.3em 0 0 3.2em;
 +
    padding: 0;
 
}
 
}

Latest revision as of 17:47, 25 June 2020

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

fieldset {
  border: 1px solid #a52a2a;
}

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

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

blockquote {
	border-left: 3px solid #6F2215;
	margin-left: 2em;
	padding-left: 1em;
}

select {
	border: 1px solid #AAA;
	color: black;
}

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

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

/* ooui modifications */
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 {
	background-color:#fff;
}
.oo-ui-textInputWidget.oo-ui-widget-enabled .oo-ui-inputWidget-input:focus {
	border:1px solid #A52A2A;
	border-radius:0px;
	box-shadow: none;
}
.oo-ui-textInputWidget.oo-ui-widget-enabled .oo-ui-inputWidget-input {
	border-radius:0px;
	box-shadow:none;
	transition:none;
}

.oo-ui-textInputWidget .oo-ui-inputWidget-input, .oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle {
	border:1px solid #b6b6b3;
	border-radius:0px;
}

.oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle:focus {
    border:1px solid #A52A2A;
    box-shadow: none;
}

.oo-ui-panelLayout-framed {
  border: 1px solid #A52A2A;
  border-radius: 0px;
}


.mw-special-Contributions .mw-htmlform-field-HTMLTagFilter ~ .mw-htmlform-field-HTMLCheckField.oo-ui-fieldLayout {
    padding-right:0px;
}

body:not(.mw-special-Export) .mw-htmlform-ooui-wrapper .oo-ui-fieldLayout {
    display: inherit;
}

div#ooui-php-16 {
    display: inline-block;
}

.oo-ui-menuSelectWidget {
    box-shadow:none;
    border: 1px solid #A52A2A;
}

.mw-widget-calendarWidget {
    border: 1px solid #A52A2A;
    box-shadow:none;
    transition:none;
}

.mw-widget-calendarWidget-day-today {
    box-shadow:inset 0 0 0 1px #A52A2A;
}

.oo-ui-decoratedOptionWidget {
    padding:3px;
}

.oo-ui-menuOptionWidget.oo-ui-optionWidget-selected .oo-ui-menuOptionWidget-checkIcon {
    display:none;
}

.oo-ui-menuOptionWidget.oo-ui-optionWidget-selected {
    background-color:#D1E8F4;
}

.oo-ui-menuOptionWidget.oo-ui-widget-enabled.oo-ui-optionWidget {
    color:black;
}

.oo-ui-fieldLayout.oo-ui-fieldLayout-align-inline {
    margin-top:3px;
}

.mw-htmlform-ooui-wrapper.oo-ui-panelLayout-padded {
    padding:0.7em;
}

.oo-ui-fieldsetLayout.oo-ui-labelElement > .oo-ui-fieldsetLayout-header > .oo-ui-labelElement-label {
    font-size:13px;
    padding:0;
}

.mw-htmlform-ooui .oo-ui-fieldsetLayout-header {
    font-size:12px;
}

.mw-htmlform-field-HTMLMultiSelectField.oo-ui-fieldLayout, .mw-htmlform-ooui .htmlform-tip, .mw-htmlform-ooui .mw-htmlform-submit-buttons {
    margin-top:0.3em;
}

.oo-ui-buttonElement-framed > input.oo-ui-buttonElement-button, .oo-ui-buttonElement-framed.oo-ui-labelElement > .oo-ui-buttonElement-button > .oo-ui-labelElement-label {
    line-height:1.85em;
}

.mw-special-Contributions .mw-htmlform-field-HTMLMultiSelectField.mw-htmlform-flatlist.oo-ui-fieldLayout {
    margin:0;
}

.mw-createacct-benefits-container {
    display:none;
}

#mw-createaccount-cta {
    background: none;
    padding-top: 1em;
}

.oo-ui-buttonElement-framed > .oo-ui-buttonElement-button {
    box-shadow: none !important;
    border: 1px solid #ccc !important;
}

#ooui-php-12, #ooui-php-13 {
    display:inherit;
}



/* <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;
}
.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 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 tr:first-child th, .navbox tr:first-child th a {
	color: #FFFFFF !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:nth-child(2n) td {
  	background-color: #F5F5F5;
}
.navbox.crash tr td {
	background-color: #FBFBFB;
}

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

.suggestions-result-current {
   background-color:#7C2411;
}

table.wikitable.black > * > tr > td, table.wikitable.black > * > tr > th {
   border:1px solid black;
}

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

ol.references {
    margin-top: 0;
    font-size: 90%;
}
.mw-content-ltr ol, .mw-content-rtl .mw-content-ltr ol {
    margin: 0.3em 0 0 3.2em;
    padding: 0;
}