MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
No edit summary
No edit summary
Line 127: Line 127:


.wikitable > tr > th, .wikitable > * > tr > th {
.wikitable > tr > th, .wikitable > * > tr > th {
     background-color: rgba(233, 220, 200, 0.23);
     background-color: #DAA06D;
}
}



Revision as of 15:32, 2 August 2022

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

.mw-wiki-logo {
    background-size: 160px;
    margin-top: 10px;
}



/* Infobox template style */
.infobox {
	border: 1px solid #DAA06D;
	border-spacing: 3px;
	background-color: rgba(233, 220, 200, 0.23);
	color: black;
	/* @noflip */
	margin: 0.5em 0 0.5em 1em;
	padding: 0.2em;
	/* @noflip */
	float: right;
	/* @noflip */
	clear: right;
	line-height: 1.5em;
	width: 315.2px;
}

.infobox-header,
.infobox-label,
.infobox-above,
.infobox-full-data,
.infobox-data,
.infobox-below,
.infobox-subheader,
.infobox-image,
.infobox-navbar,
/* Remove element selector when every .infobox thing is using the standard module/templates  */
.infobox th,
.infobox td {
	vertical-align: top;
}

.infobox-label,
.infobox-data,
/* Remove element selector when every .infobox thing is using the standard module/templates  */
.infobox th,
.infobox td {
	/* @noflip */
	text-align: left;
}

/* Remove .infobox when element selectors above are removed */
.infobox .infobox-above,
.infobox .infobox-title,
/* Remove element selector when every .infobox thing is using the standard module/templates  */
.infobox caption {
	font-size: 125%;
	font-weight: bold;
	text-align: center;
}

.infobox-title,
/* Remove element selector when every .infobox thing is using the standard module/templates  */
.infobox caption {
	padding: 0.2em;
}

/* Remove .infobox when element selectors above are removed */
.infobox .infobox-header,
.infobox .infobox-subheader,
.infobox .infobox-image,
.infobox .infobox-full-data,
.infobox .infobox-below {
	text-align: center;
}

/* Remove .infobox when element selectors above are removed */
.infobox .infobox-navbar {
	/* @noflip */
	text-align: right;
}

.infobox-title {
	background-color: #DAA06D;
}

/* NEW THEME */
.vector-menu-tabs li {
    background-image: linear-gradient(to top,#DAA06D 0, rgba(233, 220, 200, 0.23) 1px,#ffffff 100%);
}

.vector-menu-tabs, .vector-menu-tabs a, #mw-head .vector-menu-dropdown h3 {
    background-image: linear-gradient(to bottom,rgba(167,215,249,0) 0,#DAA06D 100%);
}

.mw-body {
    border: 1px solid #DAA06D;
}

.toc, .catlinks, .mw-search-profile-tabs {
    background-color: rgba(233, 220, 200, 0.23);
    border: 1px solid #DAA06D;
}

.catlinks li {
    border-left: 1px solid #DAA06D;
}

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

.oo-ui-panelLayout-framed {
    border: 1px solid #DAA06D;
}

hr {
    background-color: #DAA06D;
}

.vector-menu-portal h3 {
    background-image: linear-gradient(to right,rgba(200,204,209,0) 0,#DAA06D 33%,#DAA06D 66%,rgba(200,204,209,0) 100%);
}

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

.wikitable > tr > th, .wikitable > * > tr > th {
    background-color: #DAA06D;
}

.wikitable {
    background-color: transparent;
    border: 1px solid #DAA06D;
}

.editOptions {
	background-color: rgba(233, 220, 200, 0.23);
	border: 1px solid #DAA06D;
}

.wikiEditor-ui .wikiEditor-ui-view {
	border: 1px solid #DAA06D;
}

#searchInput {
	border: 1px solid #DAA06D;
}

.oo-ui-textInputWidget .oo-ui-inputWidget-input {
	border: 1px solid #DAA06D;
}

.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button, .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover {
	background-color: #DAA06D;
	border: 1px solid #DAA06D;
}

.oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button, .oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover {
	border: 1px solid #DAA06D;
}

.oo-ui-checkboxInputWidget.oo-ui-widget-enabled [type="checkbox"]:checked + span, .oo-ui-checkboxInputWidget.oo-ui-widget-enabled [type="checkbox"]:indeterminate + span, .oo-ui-checkboxInputWidget.oo-ui-widget-enabled [type="checkbox"]:checked + span, .oo-ui-checkboxInputWidget.oo-ui-widget-enabled [type="checkbox"]:indeterminate + span:hover, .oo-ui-checkboxInputWidget.oo-ui-widget-enabled [type="checkbox"]:checked:hover + span, .oo-ui-checkboxInputWidget.oo-ui-widget-enabled [type="checkbox"]:indeterminate:hover + span, .oo-ui-checkboxInputWidget.oo-ui-widget-enabled [type="checkbox"]:checked:active + span, .oo-ui-checkboxInputWidget.oo-ui-widget-enabled [type="checkbox"]:indeterminate:active + span {
	background-color: #DAA06D;
	border: 1px solid #DAA06D;
	box-shadow: none;
}

.navbox {
	margin-bottom: 15px !important;
}