MediaWiki:Common.css

From Heavenly Wiki
Revision as of 21:21, 1 May 2025 by Medici (talk | contribs)
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)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* === Top-left image background (decorative) === */
body {
    background:
        url("/resources/assets/bg.png") top left no-repeat,
        #2e1a12; /* Solid fallback color behind rest of page */
    background-size: auto 150px; /* keep image small and top-aligned */
    background-attachment: scroll;
    color: #f0e6d2;
    font-family: 'Georgia', serif;
}

/* === Page content panel styling === */
#content, .mw-body, .mw-body-content {
    background-color: #fdf5e6; /* parchment-like */
    color: #2d1c0b;
    padding: 1.5em;
    border-radius: 12px;
    margin: 2em auto;
    max-width: 1100px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.3);
}

/* === Sidebar styling (like OSRS Wiki) === */
#mw-panel {
    background-color: #3b2b1a;
    color: #f0e6d2;
}

#mw-panel a {
    color: #e0d0a0;
}

#mw-panel a:hover {
    color: #fff3c1;
}

/* === Tabs: selected tab mimic === */
#p-cactions li.selected a,
#ca-view a,
#ca-edit a {
    background-color: #fdf5e6;
    color: #2d1c0b;
    font-weight: bold;
    border-bottom: 3px solid #bb9d70;
    border-radius: 4px 4px 0 0;
}

/* === Top header shadow === */
#mw-head {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}