MediaWiki:Common.css: Difference between revisions

From EQOA Sandstorm Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 1: Line 1:
/* ============================================================
/* ============================================================
   EQOA: Sandstorm WIKI THEME ΓÇö CLEANED VERSION
   GLOBAL UPGRADE ΓÇö Apply NPC Visual Theme Everywhere
  ============================================================ */
============================================================ */


/* ------------------------------------------------------------
/* BODY + GLOBAL BACKGROUND */
  ROOT VARIABLES
------------------------------------------------------------ */
:root {
  --midnight: #0F1626;
  --sand: #B9C4D1;
  --gold: #E3B44A;
  --sky: #6DA5E7;
  --evergreen: #3E6B52;
  --ember: #9A2E1E;
  --box-header: #1C2B44;
}
 
/* ------------------------------------------------------------
  GLOBAL PAGE BACKGROUND & HEADINGS
------------------------------------------------------------ */
body,
body,
#globalWrapper,
#globalWrapper,
Line 24: Line 9:
#mw-page-base,
#mw-page-base,
#mw-head-base {
#mw-head-base {
   background: var(--midnight) !important;
   background: #0A1420 !important;
   color: var(--sand) !important;
   color: #B9C4D1 !important;
  font-family: Georgia, "Times New Roman", serif;
}
}


/* UNIVERSAL HEADERS */
h1, h2, h3, h4, h5, h6,
h1, h2, h3, h4, h5, h6,
#firstHeading, .mw-first-heading,
#firstHeading,
.mw-body h1, .mw-body h2, .mw-body h3,
.mw-body h1, .mw-body h2, .mw-body h3,
.mw-body h4, .mw-body h5, .mw-body h6 {
.mw-body h4, .mw-body h5, .mw-body h6 {
   color: var(--gold) !important;
   color: #E3B44A !important;
   font-weight: 700 !important;
   font-weight: 700 !important;
   border: none !important;
  background: #1C2B44 !important;
   border: 1px solid #E3B44A !important;
  padding: 4px 8px !important;
}
}


.mw-parser-output > h2 {
/* UNIVERSAL BOXES + PANELS */
  border-bottom: 1px solid rgba(255,255,255,0.15) !important;
.portal, .navbox, .mainpage-box, .mainpage-header,
}
.center-box, .mp-box, .mp-col, .mp-inner,
 
.eqoa-section-box, .eqoa-detail-table,
/* ------------------------------------------------------------
.infobox, .notice, .wikitable, table,
  LINKS
.mw-parser-output .box, #bodyContent .box {
------------------------------------------------------------ */
a { color: var(--sky) !important; }
a:visited { color: #5E8BC0 !important; }
a:hover { color: var(--gold) !important; }
 
/* ------------------------------------------------------------
  TABLES (GLOBAL)
------------------------------------------------------------ */
table, .wikitable {
   background: #0A1420 !important;
   background: #0A1420 !important;
   border: 1px solid var(--gold) !important;
   border: 1px solid #E3B44A !important;
  color: #B9C4D1 !important;
}
}


/* UNIVERSAL INNER HEADERS / TOP BARS */
.portal-header,
.center-box .header,
.mp-box .header,
.eqoa-section-box .right-header,
.infobox th,
.wikitable th,
.wikitable th,
.infobox th,
table th {
.npc-table th,
   background: #1C2B44 !important;
.zone-table th {
   color: #E3B44A !important;
   background: var(--box-header) !important;
  border-bottom: 1px solid #E3B44A !important;
   color: var(--gold) !important;
  padding: 6px 10px !important;
  font-weight: bold !important;
}
}


/* TABLE BODY */
table td,
.wikitable td,
.wikitable td,
.infobox td,
.infobox td {
.npc-table td,
   background: #0A1420 !important;
.zone-table td {
   border: 1px solid #E3B44A !important;
   color: var(--sand) !important;
  color: #B9C4D1 !important;
   border: 1px solid var(--gold) !important;
}
}


/* EVEN ROWS */
table tr:nth-child(even),
table tr:nth-child(even),
.wikitable tr:nth-child(even),
.wikitable tr:nth-child(even) {
.npc-table tr:nth-child(even),
   background: #101A2A !important;
.zone-table tr:nth-child(even) {
   background: #121E30 !important;
}
}


/* ------------------------------------------------------------
/* LINKS (NPC STYLE) */
  CUSTOM BOXES, PORTALS, MAIN PAGE SECTIONS
a { color: #6DA5E7 !important; }
------------------------------------------------------------ */
a:hover { color: #E3B44A !important; }
.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,
/* INPUTS */
.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 {
input, textarea {
   background: #142233 !important;
   background: #142233 !important;
   color: var(--sand) !important;
   color: #B9C4D1 !important;
   border: 1px solid var(--gold) !important;
   border: 1px solid #E3B44A !important;
}
}


/* ------------------------------------------------------------
/* QUEST / WALKTHROUGH HEADERS (MATCH NPC) */
  NOTICES
.quest-header,
------------------------------------------------------------ */
.quest-section-title {
.notice-success { background: var(--evergreen) !important; color: #DFF2E4 !important; }
  background: #1C2B44 !important;
.notice-warning { background: #3F2E00 !important; color: #FFDD8A !important; }
  color: #E3B44A !important;
.notice-error   { background: var(--ember) !important; color: #F9D0C8 !important; }
  border: 1px solid #E3B44A !important;
  padding: 6px 10px !important;
   font-weight: bold;
}


/* ------------------------------------------------------------
/* QUEST CONTENT BOXES */
  FOOTER
.quest-left, .quest-right {
------------------------------------------------------------ */
#footer {
   background: #0A1420 !important;
   background: #0A1420 !important;
   border-top: 1px solid var(--gold) !important;
   border: 1px solid #E3B44A !important;
  color: #B9C4D1 !important;
  padding: 10px !important;
}
}


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


/* ------------------------------------------------------------
/* FOOTER */
  NPC TEMPLATE ΓÇö LEFT COLUMN
#footer {
------------------------------------------------------------ */
.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;
   background: #0A1420 !important;
}
   border-top: 1px solid #E3B44A !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;
}
}

Revision as of 10:50, 22 November 2025

/* ============================================================
   GLOBAL UPGRADE ΓÇö Apply NPC Visual Theme Everywhere
============================================================ */

/* BODY + GLOBAL BACKGROUND */
body,
#globalWrapper,
#content,
#mw-page-base,
#mw-head-base {
  background: #0A1420 !important;
  color: #B9C4D1 !important;
}

/* UNIVERSAL HEADERS */
h1, h2, h3, h4, h5, h6,
#firstHeading,
.mw-body h1, .mw-body h2, .mw-body h3,
.mw-body h4, .mw-body h5, .mw-body h6 {
  color: #E3B44A !important;
  font-weight: 700 !important;
  background: #1C2B44 !important;
  border: 1px solid #E3B44A !important;
  padding: 4px 8px !important;
}

/* UNIVERSAL BOXES + PANELS */
.portal, .navbox, .mainpage-box, .mainpage-header,
.center-box, .mp-box, .mp-col, .mp-inner,
.eqoa-section-box, .eqoa-detail-table,
.infobox, .notice, .wikitable, table,
.mw-parser-output .box, #bodyContent .box {
  background: #0A1420 !important;
  border: 1px solid #E3B44A !important;
  color: #B9C4D1 !important;
}

/* UNIVERSAL INNER HEADERS / TOP BARS */
.portal-header,
.center-box .header,
.mp-box .header,
.eqoa-section-box .right-header,
.infobox th,
.wikitable th,
table th {
  background: #1C2B44 !important;
  color: #E3B44A !important;
  border-bottom: 1px solid #E3B44A !important;
  padding: 6px 10px !important;
  font-weight: bold !important;
}

/* TABLE BODY */
table td,
.wikitable td,
.infobox td {
  background: #0A1420 !important;
  border: 1px solid #E3B44A !important;
  color: #B9C4D1 !important;
}

/* EVEN ROWS */
table tr:nth-child(even),
.wikitable tr:nth-child(even) {
  background: #101A2A !important;
}

/* LINKS (NPC STYLE) */
a { color: #6DA5E7 !important; }
a:hover { color: #E3B44A !important; }

/* INPUTS */
input, textarea {
  background: #142233 !important;
  color: #B9C4D1 !important;
  border: 1px solid #E3B44A !important;
}

/* QUEST / WALKTHROUGH HEADERS (MATCH NPC) */
.quest-header,
.quest-section-title {
  background: #1C2B44 !important;
  color: #E3B44A !important;
  border: 1px solid #E3B44A !important;
  padding: 6px 10px !important;
  font-weight: bold;
}

/* QUEST CONTENT BOXES */
.quest-left, .quest-right {
  background: #0A1420 !important;
  border: 1px solid #E3B44A !important;
  color: #B9C4D1 !important;
  padding: 10px !important;
}

/* SPECIAL LEGENDS / MOB FLAGS */
#mob-flag-legend,
#mob-flag-legend th, #mob-flag-legend td {
  background: #1C2B44 !important;
  color: #E3B44A !important;
  border: none !important;
}

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