MediaWiki:Common.css: Difference between revisions

m
no edit summary
imported>Ttv pedro270707
m (New background.)
imported>Ttv pedro270707
mNo edit summary
Line 23: Line 23:
background-size: 512px;
background-size: 512px;
background-position: bottom left;
background-position: bottom left;
}
.client-darkmode #mw-page-base {
background-image: url(https://static.miraheze.org/btawiki/d/d0/Wiki-bg-top-dark-mode.png);
}
}


body, html {
body, html {
background-image: url(https://static.miraheze.org/btawiki/b/b9/Wiki-bg-bottom.png);
background-image: url(https://static.miraheze.org/btawiki/b/b9/Wiki-bg-bottom.png);
background-size: 32px;
background-size: 32px !important;
background-position: top left;
background-position: top left !important;
}
 
.client-darkmode body, .client-darkmode html, body.client-darkmode, html.client-darkmode {
background-image: url(https://static.miraheze.org/btawiki/0/00/Wiki-bg-bottom-dark-mode.png) !important;
filter: none;
}
 
.client-darkmode #content, .client-darkmode #content h1, .client-darkmode #content h2, .client-darkmode #content h3, .client-darkmode #content h4, .client-darkmode #content h5, .client-darkmode #content h6 {
background-color: #000;
color: #fff !important;
}
 
.client-darkmode .catlinks {
background-color: #000;
}
}


.client-darkmode #p-logo a {
.client-darkmode pre, .client-darkmode code, .client-darkmode .mw-code {
filter: invert(1) hue-rotate(180deg);
filter: invert(1) hue-rotate(180deg);
}
}