Be sure to read our policy on citing sources before editing!

Difference between revisions of "MediaWiki:Common.css"

From Jiggywikki, a wiki on the Banjo-Kazooie series
Jump to navigationJump to search
(margin top)
(main page)
 
Line 338: Line 338:
 
h1, h2 {
 
h1, h2 {
 
   border-bottom: 1px solid #a58f4c;
 
   border-bottom: 1px solid #a58f4c;
 +
}
 +
 +
/* 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;
 
}
 
}

Latest revision as of 21:50, 29 July 2020

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

table.wikitable.infobox.plainlinks {
    margin-top:0px;
}

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

#p-personal ul a:hover {
    text-decoration: underline;
    background-color:transparent;
}

#footer {
  background-color: #FFF7DF;
  border-top: 1px solid #7F5F00;
  border-bottom: 1px solid #7F5F00;
}

/* 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 #7F5F00;
	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 #7F5F00;
    box-shadow: none;
}

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

fieldset {
  border: 1px solid #7F5F00;
}

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

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

.warningbox {
    background-color: white;
    border-color: #aaa;
}

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

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

textarea, .wikiEditor-ui .wikiEditor-ui-view {
   border: 1px solid #a58f4c
}

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

.thumb .mediaContainer {
	margin: 4px auto 2px;
}
.thumb .multiVert .mediaContainer {
	margin: 3px auto -1px;
}

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

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

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

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

.mw-prefs-buttons {
    background:transparent;
    position:inherit;
    padding:5px;
}

.oo-ui-tabOptionWidget {
    color:#000;
}

.oo-ui-tabSelectWidget-framed {
    box-shadow:none;
    background-color:#FFCF3F;
}

.oo-ui-menuLayout > .oo-ui-menuLayout-menu, .oo-ui-menuLayout > .oo-ui-menuLayout-content {
    transition:none;
}

.oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-widget-enabled:hover {
    background:white;
    border:none;
}

.mw-prefs-tabs-wrapper.oo-ui-panelLayout-framed, .mw-prefs-tabs > .oo-ui-menuLayout-content > .oo-ui-indexLayout-stackLayout > .oo-ui-tabPanelLayout, .oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-optionWidget-selected {
    border-color:#7F5F00;
}

.oo-ui-textInputWidget .oo-ui-inputWidget-input, .oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle {
    border-color:#7F5F00;
}

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

.oo-ui-fieldLayout-body {
    padding-top:2px;
}

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

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


ol.references {
	margin-top: 0;
	font-size: 90%;
}

div.mw-recentchanges-toplinks {
   padding-left: 4px;
}

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

table.wikitable.infobox.plainlinks {
    margin-left:4px;
}

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

a.mw-selflink {
    color:black !important;
}

p {
    margin: 0.6em 0 0.7em 0;
}

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

h1, h2 {
   border-bottom: 1px solid #a58f4c;
}

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