MediaWiki:Common.css

From Realm Of Thrones
Revision as of 00:54, 25 March 2025 by SitX (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.
body {
    background-color: #1a1a1a !important; 
    color: #e0e0e0 !important;
    background: url("https://i.imgur.com/pi80Hk5.jpeg") no-repeat center center fixed;
    background-size: cover;
}

body.skin-vector-2022 {
    --sidebar-width: 15rem;
}
body.skin-vector-2022 .mw-sidebar-container {
    display: block !important;
    visibility: visible !important;
}
body.skin-vector-2022 .mw-page-container {
    grid-template-columns: var(--sidebar-width) auto !important;
}
body.skin-vector-2022 .mw-sidebar {
    transform: translateX(0) !important;
}
body.skin-vector-2022 .mw-workspace-container {
    margin-left: var(--sidebar-width) !important;
}

#mw-panel .portal .body {
    display: block !important; /* Prevent sidebar collapse */
    position: unset;
    border: 0;
    background: none;
    backdrop-filter: none;
    box-shadow: none;
    padding: 0 0 8px;
    width: 100%;
}