Jump to content

MediaWiki:Minerva.css

From THS Wiki
Revision as of 18:16, 21 February 2026 by Closesttopurple (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.
/* 1. Universal Silver Links */
a, .mw-body a {
    color: silver !important;
}

/* 2. Full-Width Banner (Mobile) */
/* Minerva doesn't use .mw-page-container; it uses .header-container and .content */
.header-container {
    background-image: url('https://wiki.thehumanserver.org/images/9/9e/Wiki_background_top.png');
    background-size: cover;
    background-position: center;
}

/* 3. Force Tables to Fit (Crucial for Mobile) */
/* This adds a scrollbar to any table that is too wide for the phone screen */
.content table {
    display: block;
    width: 100% !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* 4. Force Dark Mode (Mobile Specific) */
/* Minerva adds the .client-darkmode class to the <html> or <body> tag */
.client-darkmode {
    background-color: #101418 !important;
    color: #eaecf0 !important;
}