MediaWiki:Monobook.css

From MOASSpedia
Revision as of 03:58, 5 May 2022 by Jkhanlar (talk | contribs) (Dark mode updates)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* 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);
}