MediaWiki:Common.css

From the Croc Wiki, the Croc encyclopedia
Revision as of 18:41, February 15, 2022 by Eeyore the Iowan Goat (talk | contribs) (attempting mobile display fixes.... moving)
Jump to navigationJump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* CSS placed here will be applied to all skins */

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

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

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

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

/* warning box */

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

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

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

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

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

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

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

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

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

/* 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 #007500;
	border-radius:0px;
	box-shadow: none;
}

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

.oo-ui-messageWidget.oo-ui-messageWidget-block.oo-ui-flaggedElement-warning {
    background-color: #ffc6cd;
    border-color: #b80000;
}

.oo-ui-menuOptionWidget.oo-ui-optionWidget-selected {
  background-color:#d2f8d2;
  color:black !important;  
}

.oo-ui-menuOptionWidget.oo-ui-optionWidget-highlighted, .oo-ui-menuOptionWidget.oo-ui-optionWidget-highlighted.oo-ui-optionWidget-selected {
  background-color:#90EE90;
  color:black !important;
}

.oo-ui-selectWidget-pressed .oo-ui-optionWidget-pressed, .oo-ui-selectWidget-pressed .oo-ui-optionWidget-pressed.oo-ui-optionWidget-highlighted, .oo-ui-selectWidget-pressed .oo-ui-optionWidget-pressed.oo-ui-optionWidget-highlighted.oo-ui-optionWidget-selected {
  background-color:#90EE90;
  color:black !important;
}

.oo-ui-buttonElement-framed.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button {
    background-color: #e7f4cd;
    background-image: -webkit-linear-gradient(top,#f4faea 0,#d9eeb0 100%);
    background-image: linear-gradient(to bottom,#f4faea 0,#d9eeb0 100%);
    border: 1px solid #cee1a6;
}

.oo-ui-buttonElement-framed.oo-ui-flaggedElement-progressive.oo-ui-widget-enabled > .oo-ui-buttonElement-button:active, .oo-ui-buttonElement-framed.oo-ui-flaggedElement-progressive.oo-ui-buttonElement-active > .oo-ui-buttonElement-button, .oo-ui-buttonElement-framed.oo-ui-flaggedElement-progressive.oo-ui-buttonElement-pressed > .oo-ui-buttonElement-button {
    background-color: #e7f4cd;
    background-image: -webkit-linear-gradient(top,#d9eeb0 0,#f4faea 100%);
    background-image: linear-gradient(to bottom,#d9eeb0 0,#f4faea 100%);
    border: 1px solid #cee1a6;
}

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

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

/* fake links */
span.fakelink {
	color: #002bb8;
	cursor: pointer;
}
span.fakelink:hover {
	text-decoration: underline;
}

/* Miscellaneous */
pre {
	background-color: #fff;
	border: 1px dashed #007500;
	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;
}

fieldset {
    border: 1px solid #007500;
}

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

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

.catlinks {
    margin-top:10px;
}

#pagehistory li.selected {
    outline: 1px dashed #007500;
}

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

.whitelinks a {
    color:#FFF !important;
}

/* remove box-shadow from notifications */
#pt-notifications-alert .mw-echo-notifications-badge:focus, #pt-notifications-notice .mw-echo-notifications-badge:focus {
    box-shadow: none;
}