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
 
(23 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */


.infobox-subbox {
.infobox-table th {
padding: 0;
    vertical-align: top;
border: none;
margin: -3px;
width: auto;
min-width: 100%;
font-size: 100%;
clear: none;
float: none;
background-color: transparent;
}
}


.infobox-3cols-child {
.infobox-table td {
margin: auto;
    vertical-align: top;
}
}


.infobox .navbar {
.main-page-heading {
font-size: 100%;
    margin-block-start: 0 !important;
}
}


@media (min-width: 640px) {
html.skin-theme-clientpref-night .infobox-table {
  body.skin--responsive .infobox-table {
background-color: black !important;
    display: table !important;
color: white !important;
  }
}
  body.skin--responsive .infobox-table > caption {
 
    display: table-caption !important;
@media screen and (prefers-color-scheme: dark) {
  }
html.skin-theme-clientpref-os .infobox-table {
  body.skin--responsive .infobox-table > tbody {
background-color: black !important;
    display: table-row-group;
color: white !important;
  }
    }
  body.skin--responsive .infobox-table tr {
}
    display: table-row !important;
 
  }
html.skin-theme-clientpref-night .main-page-header {
  body.skin--responsive .infobox-table th,
background-color: #1E1E1E !important;
  body.skin--responsive .infobox-table td {
color: white !important;
    padding-left: inherit;
        border: 2px solid #a2a9b1 !important;
    padding-right: inherit;
}
  }
 
@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;
    }
}
}

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;
     }
}