Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Main Page header/styles.css: Difference between revisions

Template page
(darken background for dark theme)
(fix for citizen changes (hopefully))
Line 15: Line 15:
}
}


@media screen and (prefers-color-scheme: dark) {
@media screen and (prefers-color-scheme: dark) {
body.skin-timeless #mp-header {
body.skin-timeless #mp-header,
html.skin-theme-clientpref-os body.skin-citizem #mp-header {
border: 1px solid #939bc4;
border: 1px solid #939bc4;
background-color: #30344a;
background-color: #30344a;
Line 22: Line 23:
}
}


html.skin-citizen-dark #mp-header {
html.skin-theme-clientpref-night body.skin-citizen #mp-header {
border: 1px solid #939bc4;
border: 1px solid #939bc4;
background-color: #30344a;
background-color: #30344a;
}
}

Revision as of 02:37, 2 May 2024

#mp-header {
	border: 1px solid #CCD0E5;
	background-color: #eaedfc;
	margin-top: 15px;
	margin-bottom: 10px;
	padding: 8px;
	text-align: center;
}

.mp-opening {
	font-size: 162%;
	font-weight: bold;
	margin: 0;
	padding: 0.1em;
}

@media screen and (prefers-color-scheme: dark) {
	body.skin-timeless #mp-header,
	html.skin-theme-clientpref-os body.skin-citizem #mp-header {
		border: 1px solid #939bc4;
		background-color: #30344a;
	}
}

html.skin-theme-clientpref-night body.skin-citizen #mp-header {
	border: 1px solid #939bc4;
	background-color: #30344a;
}