Difference between revisions of "MediaWiki:Vector.css"

Dark mode updates
(Dark mode updates)
(Dark mode updates)
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:
/* Use https://moasspedia.org/wiki/Special:MyPage/vector.css to add your own CSS before adding here */
/* Use https://moasspedia.org/wiki/Special:MyPage/vector.css to add your own CSS before adding here */
/* See https://moasspedia.org/wiki/MediaWiki:Common.css to apply to all skins/themes */
/* See https://moasspedia.org/wiki/MediaWiki:Common.css to apply to all skins/themes */
@media screen {
html,body {
    height: unset;
    min-height: 100%;
}
}


html {
html {
     filter: invert(100%);
     filter: invert(100%);
    position: relative;
}
}
html::before {
html::before {
     background-attachment: fixed, fixed;
     background-attachment: fixed, fixed;
Line 16: Line 25:
     background-size: cover, cover;
     background-size: cover, cover;
     content: "";
     content: "";
     height: 100vh;
     height: 100%;
     left: 0;
     left: 0;
     position: fixed;
     position: absolute;
     top: 0;
     top: 0;
     width: 100%;
     width: 100%;
Line 24: Line 33:
}
}


body {
body,
     background-color: unset;
code,
pre,
.mw-code {
     background: unset;
}
}
.mw-body, .parsoid-body{
.mw-body, .parsoid-body{
     background-color: rgba(255, 255, 255, 0.25);
     background-color: rgba(255, 255, 255, 0.25);
}
}
.mw-wiki-logo {
.mw-wiki-logo {
     filter: invert(100%);
     filter: invert(100%);
}
}
.pswp {
.pswp {
filter: invert(100%);
filter: invert(100%);
}
}
.wikitable {
.wikitable {
background-color: rgba(249, 249, 249, 0.25);
background-color: rgba(249, 249, 249, 0.25);
}
}
#footer-copyrightico {
#footer-copyrightico {
     filter: invert(100%);
     filter: invert(100%);
}
}
#mw-page-base {
#mw-page-base {
     background-color: rgba(251, 251, 251, 0.25);
     background-color: rgba(251, 251, 251, 0.25);
     background-image: initial;
     background-image: initial;
}
}
/* Credit logo artist */
/* Credit logo artist */
#p-logo .mw-wiki-logo-credit {
#p-logo .mw-wiki-logo-credit {