MediaWiki:Common.css

From EQOA Sandstorm Wiki
Revision as of 07:50, 25 November 2025 by RenodorDev (talk | contribs)
Jump to navigationJump 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)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* =========================================================
   COLOR SCHEME ONLY ΓÇö DOES NOT TOUCH LAYOUT
   ========================================================= */

/* BODY & MAIN CONTENT COLORS */
body, #content, #mw-content-text, #column-content {
    background-color: #242428 !important; /* Dark stone */
    color: #D6D6C9 !important;           /* Pale sand */
}

/* LINKS */
a, .mw-body a, .quest-template a, .npc-template a, table a, .wikitable a {
    color: #E6C98B !important;
    font-weight: bold !important;
    text-decoration: none !important;
}
a:hover, .mw-body a:hover, .quest-template a:hover, .npc-template a:hover, table a:hover, .wikitable a:hover {
    color: #F0D9A0 !important;
    text-decoration: underline !important;
}

/* SIDEBAR HEADERS */
#column-one h3[id^="p-"], .portlet h5 {
    background-color: #2B2B2B !important;
    color: #E6C98B !important;
    border: 2px solid #D6B25E !important;
}

/* NPC TEMPLATE & QUEST */
.npc-template, .quest-right, .exp-camp-wrapper {
    background-color: #242428 !important;
    color: #D6D6C9 !important;
}
.npc-left, .npc-right {
    background-color: #242428 !important;
    color: #D6D6C9 !important;
    border-color: #3C3C3C !important;
}
.npc-header, .zones-header {
    background-color: #3C3C3C !important;
    color: #E6C98B !important;
    border-bottom: 2px solid #D6B25E !important;
}
.npc-box, .eqoa-image-box {
    border: 1px solid #3C3C3C !important;
    background-color: #242428 !important;
}
.npc-image { text-align: center; }

/* TABLES */
.npc-table, table.info-table, table.npc-zone-table, .exp-camp-table {
    background-color: #242428 !important;
    color: #D6D6C9 !important;
}
table.info-table tr td:first-child {
    background-color: #3C3C3C !important;
    color: #E6C98B !important;
    font-weight: bold;
}
table.info-table tr:nth-child(odd) td:last-child { background-color: #242428 !important; }
table.info-table tr:nth-child(even) td:last-child { background-color: #2E2E31 !important; }
table.npc-zone-table tr:nth-child(odd):not(:first-child) { background-color: #242428 !important; }
table.npc-zone-table tr:nth-child(even):not(:first-child) { background-color: #2E2E31 !important; }

/* NPC NAME & INFOBOX */
.infobox { border: 4px solid #555 !important; border-radius: 6px; }
.npcname-header, .infobox .npcname-row td {
    background-color: #2B2B2B !important;
    color: #E6C98B !important;
    border: 2px solid #D6B25E !important;
}
/* =========================
   MAIN PAGE BOXES ΓÇö LIGHTER BG
   ========================= */
/* =========================
   MAIN PAGE BANNERS
   ========================= */
.mp-banner {
    border: 2px solid #ffffff;
    padding: 2px;
    margin-bottom: 10px;
    max-width: 100%;
}

.mp-banner-inner {
    background-color: #405b74;
    padding: 12px;
    text-align: center;
}

.mp-banner-title {
    font-weight: bold;
    color: #ffffff;
    font-size: 18px;
}

.mp-banner-subtitle {
    color: #ffffff;
    font-style: italic;
    font-size: 14px;
}

/* =========================
   MAIN PAGE BOXES
   ========================= */
/* =========================
   MAIN PAGE BOXES
   ========================= */
/* ===== MAIN PAGE ===== */
.mp-box {
  background-color: #2a2a2f; /* Slightly lighter than NPC dark stone */
  color: #d6d6c9;
  border: 2px solid #444;
  border-radius: 4px;
  padding: 10px;
  margin-bottom: 10px;
  box-sizing: border-box;
  clear: both; /* ensures no float issues */
}

.mp-flex-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mp-column {
  flex: 1;
  min-width: 300px;
}

.mp-bottom,
.mp-articles-count {
  width: 100%;
  clear: both; /* ensures they sit below the columns */
}

.mp-banner {
  background-color: #405b74;
  text-align: center;
  padding: 12px;
  color: #ffffff;
}

.mp-banner-title {
  font-weight: bold;
  font-size: 1.5em;
}

.mp-banner-subtitle {
  font-style: italic;
  font-size: 1em;
}

.mp-start-here ul,
.mp-column ul,
.mp-bottom ul {
  list-style-type: none;
  padding-left: 0;
  margin: 0;
}

.mp-start-here li,
.mp-column li,
.mp-bottom li {
  margin-bottom: 5px;
  font-size: 0.95em;
  color: #d6d6c9;
}

.eqoa-orange-header {
  color: #E6C98B;
  text-align: center;
  margin: 0 0 6px 0;
  font-size: 1.25em;
}

/* Links */
.mp-box a {
  color: #E6C98B;
  font-weight: bold;
  text-decoration: none;
}
.mp-box a:hover {
  color: #F0D9A0;
  text-decoration: underline;
}