MediaWiki:Common.css

From EQOA Sandstorm Wiki
Revision as of 10:47, 22 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.
/* ============================================================
   EQOA: Sandstorm WIKI THEME ΓÇö CLEANED VERSION
   ============================================================ */

/* ------------------------------------------------------------
   ROOT VARIABLES
------------------------------------------------------------ */
:root {
  --midnight: #0F1626;
  --sand: #B9C4D1;
  --gold: #E3B44A;
  --sky: #6DA5E7;
  --evergreen: #3E6B52;
  --ember: #9A2E1E;
  --box-header: #1C2B44;
}

/* ------------------------------------------------------------
   GLOBAL PAGE BACKGROUND & HEADINGS
------------------------------------------------------------ */
body,
#globalWrapper,
#content,
#mw-page-base,
#mw-head-base {
  background: var(--midnight) !important;
  color: var(--sand) !important;
  font-family: Georgia, "Times New Roman", serif;
}

h1, h2, h3, h4, h5, h6,
#firstHeading, .mw-first-heading,
.mw-body h1, .mw-body h2, .mw-body h3,
.mw-body h4, .mw-body h5, .mw-body h6 {
  color: var(--gold) !important;
  font-weight: 700 !important;
  border: none !important;
}

.mw-parser-output > h2 {
  border-bottom: 1px solid rgba(255,255,255,0.15) !important;
}

/* ------------------------------------------------------------
   LINKS
------------------------------------------------------------ */
a { color: var(--sky) !important; }
a:visited { color: #5E8BC0 !important; }
a:hover { color: var(--gold) !important; }

/* ------------------------------------------------------------
   TABLES (GLOBAL)
------------------------------------------------------------ */
table, .wikitable {
  background: #0A1420 !important;
  border: 1px solid var(--gold) !important;
}

.wikitable th,
.infobox th,
.npc-table th,
.zone-table th {
  background: var(--box-header) !important;
  color: var(--gold) !important;
}

.wikitable td,
.infobox td,
.npc-table td,
.zone-table td {
  color: var(--sand) !important;
  border: 1px solid var(--gold) !important;
}

table tr:nth-child(even),
.wikitable tr:nth-child(even),
.npc-table tr:nth-child(even),
.zone-table tr:nth-child(even) {
  background: #121E30 !important;
}

/* ------------------------------------------------------------
   CUSTOM BOXES, PORTALS, MAIN PAGE SECTIONS
------------------------------------------------------------ */
.portal, .navbox, .multicol, .mainpage-box, .mainpage-header,
div.center-box, div.portal, #mp-topbanner, #mp-left, #mp-right {
  background: #0A1420 !important;
  border: 1px solid var(--gold) !important;
  color: var(--sand) !important;
}

.box-header, .portal .portal-header,
.mainpage-header, .center-box .header {
  background: var(--box-header) !important;
  padding: 6px 10px !important;
  color: var(--gold) !important;
  border-bottom: 1px solid var(--gold) !important;
  text-align: center;
}

/* ------------------------------------------------------------
   SIDEBAR (MonoBook)
------------------------------------------------------------ */
#p-navigation, #p-interaction, #p-tb, #p-search {
  background: #0A1420 !important;
  border: 1px solid var(--gold) !important;
}

#p-navigation h3, #p-interaction h3, #p-tb h3, #p-search h3 {
  background: var(--box-header) !important;
  color: var(--gold) !important;
  padding: 4px 6px !important;
}

/* ------------------------------------------------------------
   INPUTS
------------------------------------------------------------ */
input, textarea {
  background: #142233 !important;
  color: var(--sand) !important;
  border: 1px solid var(--gold) !important;
}

/* ------------------------------------------------------------
   NOTICES
------------------------------------------------------------ */
.notice-success { background: var(--evergreen) !important; color: #DFF2E4 !important; }
.notice-warning { background: #3F2E00 !important; color: #FFDD8A !important; }
.notice-error   { background: var(--ember) !important; color: #F9D0C8 !important; }

/* ------------------------------------------------------------
   FOOTER
------------------------------------------------------------ */
#footer {
  background: #0A1420 !important;
  border-top: 1px solid var(--gold) !important;
}

/* ------------------------------------------------------------
   MOB FLAG LEGEND ΓÇö SPECIFIC TABLE ONLY
------------------------------------------------------------ */
#mob-flag-legend,
#mob-flag-legend * {
  background: #1C2B44 !important;
  color: var(--gold) !important;
  border: none !important;
  text-align: center !important;
  font-size: 18px !important;
  font-family: "Trebuchet MS", Verdana, sans-serif !important;
}

/* ------------------------------------------------------------
   NPC TEMPLATE ΓÇö LEFT COLUMN
------------------------------------------------------------ */
.npc-left-column {
  font-family: "Trebuchet MS", "Segoe UI", sans-serif !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
}

.npc-left-column td:first-child { font-weight: bold !important; }
.npc-left-column h2 {
  font-family: "Trajan Pro", Georgia, serif !important;
  font-size: 20px !important;
  letter-spacing: 1px;
}

/* ------------------------------------------------------------
   NPC DETAIL TABLES (Notes, Factions, Opposing)
------------------------------------------------------------ */
.eqoa-detail-table {
  border: 1px solid var(--gold) !important;
  background: #0A1420 !important;
}

.eqoa-detail-table td {
  font-family: "Trebuchet MS", "Segoe UI", sans-serif !important;
  font-size: 14px !important;
  padding: 8px 10px !important;
  color: var(--sand) !important;
}

/* Section header (inside unified box) */
.eqoa-section-box {
  background: #0A1420 !important;
  border: 2px solid var(--gold) !important;
}

.eqoa-section-box .right-header {
  background: var(--box-header) !important;
  padding: 8px 10px !important;
}

/* ------------------------------------------------------------
   MAIN PAGE GENERIC / COLUMN SETUP
------------------------------------------------------------ */
.mp-box {
  border: 2px solid var(--gold) !important;
  background: #0A1420 !important;
  padding: 0;
}

.mp-inner { background: #1C2B44 !important; padding: 10px; }

.mp-col {
  background: #1C2B44 !important;
  border: 1px solid var(--gold) !important;
  padding: 10px;
}

.mp-col a { color: var(--gold) !important; }
.mp-col a:hover { color: white !important; }

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

/* ------------------------------------------------------------
   SPELL LIST ΓÇö ULTRA-TIGHT VERSION (Cleaned)
------------------------------------------------------------ */

.spell-list, .spell-list * {
  background: transparent !important;
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
}

.spell-list__cols {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
}

.spell-col {
  display: flex;
  flex-direction: column;
  border: 1px solid #c1c7cc !important;
  background: #f8fafb !important;
}

.spell-row {
  display: flex;
  align-items: center;
  padding: 1px 3px !important;
  height: 16px !important;
  border-bottom: 1px solid #c9cfd3 !important;
}

.spell-lvl {
  width: 22px !important;
  font-size: 12px !important;
  text-align: center;
}

.spell-data {
  display: flex;
  align-items: center;
  gap: 2px !important;
}

.spell-icon-wrap img {
  width: 14px !important;
  height: 14px !important;
  background: transparent !important;
  border: none !important;
}