MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
@media screen and (prefers-color-scheme: dark) { | |||
.skin-theme-clientpref-night .infobox { | .skin-theme-clientpref-night .infobox { | ||
background: #333 !important; | background: #333 !important; | ||
| Line 10: | Line 13: | ||
} | } | ||
} | } | ||
Revision as of 17:49, 27 December 2024
/* CSS placed here will be applied to all skins */
@media screen and (prefers-color-scheme: dark) {
.skin-theme-clientpref-night .infobox {
background: #333 !important;
border: 1px solid #aaa;
}
.skin-theme-clientpref-night .tabs-label {
background: #959595 !important;
}
}
.infobox td, th {
font-size: 0.75rem;
}
.infobox {
background: #eee;
border: 1px solid #aaa;
float: right;
margin: 0 0 .5em .5em;
padding: 1em;
width: 15rem;
}
.infobox-title {
font-size: 1.5em;
text-align: center;
}
.infobox-image {
text-align: center;
}
.infobox-image img {
max-width: 100%;
height: auto;
}
.infobox-table th {
text-align: left;
vertical-align: top;
width: 1rem;
}
.infobox-table td {
vertical-align: top;
}
body {
background-image:url(https://www.wiki.zeebawx.com/images/b/bf/ZBWikiBG.png);
background-color:black;
background-repeat: no-repeat;
background-size: cover;
background-attachment: fixed;
background-position: top;
}