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 */ | ||
Revision as of 20:38, 22 January 2025
/* 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;
}
img
{
background-color: transparent !important;
}