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
m (typo)
(darken background for dark theme)
(One intermediate revision by the same user not shown)
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-citizen #mp-header {
border: 1px solid #939bc4;
border: 1px solid #939bc4;
background-color: #30344a;
background-color: #30344a;
Line 23: Line 22:
}
}


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

Revision as of 07:04, 12 October 2022

#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 {
		border: 1px solid #939bc4;
		background-color: #30344a;
	}
}

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