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

MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
No edit summary
No edit summary
Line 11: Line 11:
@media screen {
@media screen {
html.skin-theme-clientpref-night .infobox-table {
html.skin-theme-clientpref-night .infobox-table {
background-color: #383838 !important;
background-color: black;
color: #ace !important;
color: white;
}
}
 
/* automatic mode */
@media screen and (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .infobox-table {
background-color: black;
color: white;
}
}
}
}

Revision as of 08:21, 19 February 2025

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

.infobox-table th {
    vertical-align: top;
}

.infobox-table td {
    vertical-align: top;
}

@media screen {
	html.skin-theme-clientpref-night .infobox-table {
		background-color: black;
		color: white;
	}
}

/* automatic mode */
@media screen and (prefers-color-scheme: dark) {
	html.skin-theme-clientpref-os .infobox-table {
		background-color: black;
		color: white;
	}
}