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
 
(One intermediate revision by the same user not shown)
Line 9: Line 9:
}
}


.main-page-heading {
    margin-block-start: 0 !important;
}


html.skin-theme-clientpref-night .infobox-table {
html.skin-theme-clientpref-night .infobox-table {

Latest revision as of 06:50, 26 February 2025

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

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

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

.main-page-heading {
    margin-block-start: 0 !important;
}

html.skin-theme-clientpref-night .infobox-table {
		background-color: black !important;
		color: white !important;
}

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

html.skin-theme-clientpref-night .main-page-header {
		background-color: #1E1E1E !important;
		color: white !important;
        border: 2px solid #a2a9b1 !important;
}

@media screen and (prefers-color-scheme: dark) {
	html.skin-theme-clientpref-os .main-page-header {
		background-color: #1E1E1E !important;
		color: white !important;
        border: 2px solid #a2a9b1 !important;
     }
}

html.skin-theme-clientpref-night .main-page-block {
		background-color: black !important;
        border: 2px solid #a2a9b1 !important;
}

@media screen and (prefers-color-scheme: dark) {
	html.skin-theme-clientpref-os .main-page-block {
		background-color: black !important;
        border: 2px solid #a2a9b1 !important;
     }
}