Jump to content

MediaWiki:Common.css

From Sand Wiki

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)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* CSS placed here will be applied to all skins */

.vector-menu > .vector-menu-heading {
     font-weight: bold;
     color: var(--color-base);
     border-bottom: 2px solid var(--background-color-interactive,#eaecf0);
}

/* Hide the "Switch to old look" link from the menu */
.vector-main-menu-action-opt-out {
     display:none;
     }

@media screen {


     /* White theme */
     /* Anything overidden here must also be in the dark theme! */
     :root {
          --background-image-url: url(https://sandgame.wiki/images/4/47/Wiki_background_light.jpg);
          --background-color-base: #fff9edc7;
     }

     /* Dark theme */
     html.skin-theme-clientpref-night {
          --background-color-base: #101418cc;
          --background-image-url: url(https://sandgame.wiki/images/6/6e/Wiki_background_dark.jpg);
          --background-color-pinned-container: #0000;
     }

     .vector-pinned-container {
          background-color: var(--background-color-pinned_container);
     }
 
     /* Setup the body background */
     body {
          background-image: var(--background-image-url);
          background-size: cover;
          backdrop-filter: blur(5px);
          background-attachment: fixed;
     }

     /* Double the logo text size and make it the inverse of the current theme */
     .mw-logo-wordmark {
          font-size: 2em;
          color: var(--background-color-inverted);
          min-width: max-content;
     }
}


p:has(span.fullwidth-banner) {
     margin: 0px;

     a>img {
          width: 100%;
          height: auto;
     }
     
}