Difference between revisions of "MediaWiki:Monobook.css"
Jump to navigation
Jump to search
(Dark mode updates) |
(Dark mode updates) |
||
| Line 38: | Line 38: | ||
} | } | ||
code, | |||
pre, | |||
.mw-body, | .mw-body, | ||
.mw-code, | |||
.mw-footer, | .mw-footer, | ||
.wikitable { | .wikitable { | ||
Latest revision as of 03:58, 5 May 2022
/* All CSS here will be loaded for users of the MonoBook skin */
/* Use https://moasspedia.org/wiki/Special:MyPage/MonoBook.css to add your own CSS before adding here */
/* See https://moasspedia.org/wiki/MediaWiki:Common.css to apply to all skins/themes */
html {
position: relative;
}
html::before {
background-attachment: fixed, fixed;
background-image: linear-gradient(rgba(246, 246, 246, 0.75) 0%, rgba(246, 246, 246, 0.75) 100%), url(/w/resources/assets/bg/Crayon_eating_ape_Boltflower.inverted.jpg);
background-repeat: no-repeat, no-repeat;
background-position: center center, center center;
-moz-background-size: cover, cover;
-o-background-size: cover, cover;
-webkit-background-size: cover, cover;
background-size: cover, cover;
content: "";
height: 100%;
left: 0;
position: absolute;
top: 0;
width: 100%;
z-index: -9999;
}
html, body {
height: unset;
min-height: 100%;
}
html, #p-logo {
filter: invert(100%);
}
body {
background: unset;
}
code,
pre,
.mw-body,
.mw-code,
.mw-footer,
.wikitable {
background: unset;
}
/* Credit logo artist */
#p-logo .mw-wiki-logo-credit {
color: #fff;
font-size: 0.6em;
position: relative;
top: -1em;
text-align: center;
}
#p-logo a.mw-wiki-logo-credit-artist {
display: inline;
filter: invert(1);
}