MediaWiki:Common.css

From Alundra
Revision as of 19:24, 23 May 2026 by Sunnix (talk | contribs)

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 */
@import url('https://fonts.googleapis.com/css2?family=Oleo+Script:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Alfa+Slab+One&family=Oleo+Script:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&display=swap');

--#mw-header-container,
#mw-content,
#mw-footer-container,
#page-tools {
  --font-family: "Oleo Script", system-ui;
  --font-weight: 400;
  --font-style: normal;
  --font-family: "Alfa Slab One", serif;
  --font-weight: 200;
  --font-style: normal;
  font-family: "DM Serif Display", serif;
  font-weight: 400;
  font-style: normal;
  
  background: #b8b090;
  border: 2px solid #908870;
  box-shadow:
    0 2px 8px rgba(0,0,0,0.18);

  color: #2b2a24;
  text-shadow: none;

  a {
    color: #1E4E6A;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
    text-shadow: 0 1px 0 rgba(255,255,255,0.35);
  }

  a:visited {
    color: #4B3F6B;
  }

  a:focus,
  a:hover {
    color: #2F6F93;
    text-decoration-thickness: 2px;
  }

  a:active {
    color: #163A4F;
  }

}

.object-grid {
    display: grid;

    grid-template-columns:
        repeat(auto-fill, minmax(220px, 1fr));

    gap: 10px;
}

.object-entry {
    display: flex;
    align-items: center;
    gap: 6px;
}

.mw-tmh-play {
    width:100%;
}

.pixelart img {
    height: auto;
    max-width: 100%;
    image-rendering: pixelated;
}

#mw-content-container {

    background-image: url("https://alundra.net/index.php/File:Alundra_Background_Test.png");
    background-attachment: fixed;
    background-size: cover;
    background-position: center;

}