MediaWiki:Common.css

MediaWiki interface page
Revision as of 01:34, 25 November 2023 by Gronk (talk | contribs)

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

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

.sidebar-chunk {
	background-color: rgba(233, 220, 200, 0.23) !important;
}

#mw-content-container {
	background-color: #DAA06D;
}


/* Infobox template style */
.infobox {
	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;
	box-shadow: 0 1px 2px 1px rgba(0,0,0,0.02);
}

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

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

.oo-ui-tool.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-tool-link {
	background-color: #DAA06D;
}

/* Alignment grid CSS from Forgotten Realms wiki: https://forgottenrealms.fandom.com/wiki/MediaWiki:Wikia.css
* Used under CC-BY-SA as noted on the source page: https://creativecommons.org/licenses/by-sa/3.0/
*/
.alignment-grid {
    float: left;
    text-align:         center;
    font-size:          88%; 
    line-height:        22px;
    padding:            1px; 
    border:             1px solid #DAA06D;
    margin-bottom:      2px;
}
.alignment-grid td {
    width: 33%;
    padding: 4px;
    text-align: center;
}
.alignment-grid caption {
    line-height:        normal;
    padding:            1px;
}

.infobox tr td.infobox-data ul {
	list-style: none;
	margin-left: 0;
}

.vector-body blockquote.templatequote {
	border-left: 4px solid #DAA06D;
}

.template-note {
	display: block;
	border: 1px solid #DAA06D;
	background-color: rgba(233, 220, 200, 0.23);
	padding: 7px;
	margin-bottom: 1em;
}

.in-setting-text-title {
	font-size: 1.5em;
}

.in-setting-text-info {
	text-align: center;
}

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