MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
No edit summary
No edit summary
Line 7: Line 7:
--color-primary--hover: #C68B59 !important;
--color-primary--hover: #C68B59 !important;
--color-custom-tertiary: #faf7f2 !important;
--color-custom-tertiary: #faf7f2 !important;
--color-primary--active: #6b432e !important;
}
}



Revision as of 18:59, 26 November 2023

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

/* COLOR OVERRIDES */
:root {
	--color-primary: #865439 !important;
	/* --color-primary--hover: #DAA06D !important; */
	--color-primary--hover: #C68B59 !important;
	--color-custom-tertiary: #faf7f2 !important;
	--color-primary--active: #6b432e !important;
}


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



/* Infobox template style */
.infobox {
	border-spacing: 3px;
	padding: 0.4em;
	border-radius: var(--border-radius--medium);
	background-color: var(--color-custom-tertiary);
	/* @noflip */
	margin: 0.5em 0 0.5em 1em;
	/* @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;
}