MediaWiki:Common.css

From EQOA Sandstorm Wiki
Revision as of 06:33, 23 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;
}


/* ===========================
   SPELL LIST FIX ΓÇö Side-by-side + NPC colors
   Paste AFTER your main stylesheet
   =========================== */

/* Ensure .spell-list main container uses NPC palette but keeps layout */
.spell-list {
  background: #0A1420 !important;            /* NPC box background */
  border: 1px solid #E3B44A !important;      /* gold border */
  color: #B9C4D1 !important;                 /* sand text */
  padding: 6px !important;
  margin-bottom: 12px !important;
}

/* Grid columns: keep items side-by-side and responsive */
.spell-list__cols {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
  gap: 6px !important;
  align-items: start !important;
}

/* Each column box uses NPC inner background (header-blue) */
.spell-col {
  background: #1C2B44 !important;            /* NPC inner/header blue */
  border: 1px solid #E3B44A !important;
  padding: 4px !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  color: #B9C4D1 !important;
}

/* Spell rows stay compact, horizontal, and aligned */
.spell-row {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 2px 4px !important;
  min-height: 18px !important;
  line-height: 18px !important;
  background: transparent !important;        /* let the column show */
  border-bottom: 1px solid rgba(227,180,74,0.06) !important;
}

/* Level box ΓÇö small and fixed */
.spell-lvl {
  width: 26px !important;
  min-width: 26px !important;
  text-align: center !important;
  font-size: 12px !important;
  color: #E3B44A !important;                 /* gold level numbers for contrast */
  padding: 0 !important;
}

/* Icon + name area */
.spell-data {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  color: #B9C4D1 !important;
}

/* Icon sizing (keeps them tight) */
.spell-icon-wrap img,
.spell-row img {
  width: 14px !important;
  height: 14px !important;
  display: inline-block !important;
  background: transparent !important;
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Legacy/alternate variant: SpellList + SpellRow */
.SpellList {
  background: #0A1420 !important;
  border: 1px solid #E3B44A !important;
  padding: 6px !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  color: #B9C4D1 !important;
}

.SpellRow {
  width: calc(50% - 20px) !important;    /* two columns side-by-side */
  background: #1C2B44 !important;
  border: 1px solid #E3B44A !important;
  padding: 6px 8px !important;
  box-sizing: border-box !important;
  color: #B9C4D1 !important;
}

/* Ensure MediaWiki table elements inside spell-list don't override layout */
.spell-list table, .spell-list tr, .spell-list td, .spell-list th,
.spell-col table, .spell-col tr, .spell-col td, .spell-col th {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
}

/* Prevent broad-global header/box rules from stomping spell-list internals */
.spell-list .box, .spell-list .mp-inner, .spell-list .mainpage-box,
.spell-list .portal, .spell-list .infobox, .spell-col .infobox {
  background: transparent !important;
  border: none !important;
  color: inherit !important;
}

/* Small responsive tweak: stack single-column under narrow widths */
@media (max-width: 520px) {
  .spell-list__cols { grid-template-columns: 1fr !important; }
  .SpellRow { width: 100% !important; }
}

/* TIGHT, EVEN ROW SPACING */
.spell-row {
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1 !important;
    min-height: 0 !important;
    height: auto !important;
}

/* 1px spacing between all inline elements */
.spell-data {
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1 !important;
    height: auto !important;
    display: flex;
    align-items: center;
    gap: 1px !important;   /* ← 1px spacing between icon and spell name */
}

/* LEVEL column also gets 1px spacing after it */
.spell-lvl {
    padding: 0 !important;
    margin: 0 1px 0 0 !important;  /* ← 1px space between level and icon */
    line-height: 1 !important;
    display: flex;
    align-items: center;
}

/* SPELL NAME stays tight */
.spell-name {
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1.1 !important;
}

/* ICON ALIGNMENT (keeps row height tiny) */
.spell-icon-wrap img {
    vertical-align: middle !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 20px;
    width: 20px;
    line-height: 1 !important;
}
/* Spell row tight layout */
.spell-row {
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
    line-height: 1;
}

/* Level box */
.spell-lvl {
    display: flex;
    align-items: center;
    padding: 0;
    margin-right: 0px;   /* 1px space before icons */
}

/* Spell data container */
.spell-data {
    display: flex;
    align-items: center;
    gap: 1px;            /* 1px between icon → name → icon */
    padding: 0;
    margin: 0;
}

/* Spell name */
.spell-name {
    padding: 0;
    margin: 0;
    line-height: 1;
}

/* Icons */
.spell-icon img,
.spell-icon-wrap img {
    display: inline-block;
    vertical-align: middle;
    margin: 0;
    padding: 0;
}

/* Increase level font */
.spell-lvl {
    font-size: 16px !important;
    font-weight: bold;
}

/* Increase spell name font */
.spell-name {
    font-size: 16px !important;
    font-weight: none;
}

.spell-divider {
    width: 1px;
    height: 100%;                    /* FULL row height */
    background-color: #1D4429 !important;  /* force visibility */
    display: inline-block;
    margin: 0 3px;
}

.spell-divider {
    background: #1D4429 !important;   /* override transparency wipes */
}

/* === Reliable visible vertical divider for SpellRow === */

/* 1px vertical divider ΓÇö stretches full row height, visible color */
.spell-divider {
  display: inline-block;           /* inline so it sits in the flow */
  align-self: stretch;             /* stretch to the row height (works with flex) */
  width: 1px;
  min-width: 1px;
  background: #F2D07A !important;  /* bright contrast color ΓÇö change if needed */
  margin: 0 3px !important;        /* small spacing on both sides */
  box-sizing: border-box;
}

/* If your .spell-data is not a flex container, force it */
.spell-data {
  display: flex !important;
  align-items: center !important;
  gap: 1px !important;
}

/* Defensive: if a global rule clears backgrounds, force this one */
.spell-divider, .spell-divider * {
  background: #F2D07A !important;
}

/* Alternate: draw divider using border on the level cell (safer if spans collapse) */
.spell-lvl.divider-right {
  border-right: 1px solid #F2D07A !important;
  padding-right: 4px !important;
  margin-right: 3px !important;
}





/* ===== Job Page Layout ===== */
.job-layout {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 20px;
}

/* Left column */
.job-left {
    width: 380px;
}

/* Right artwork */
.job-right {
    width: 500px;
    text-align: center;
}

.job-artwork {
    width: 90%;
    max-width: 450px;
}


/* ===== Infobox ===== */
.job-infobox-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

/* Header (darkest) */
.job-infobox-header th {
    background: #3c4a55;
    color: white;
    padding: 8px;
    text-align: center;
}

/* Label rows (medium color) */
.job-infobox-label td:first-child {
    background: #d3dce4;
    width: 40%;
    padding: 6px;
}

/* Input rows (light color) */
.job-infobox-label td:last-child {
    background: #e9eff4;
    padding: 6px;
}


/* ===== Center Boxes Beneath Infobox ===== */
.job-center-boxes {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
    gap: 10px;
}

.job-center-box {
    background: #e2e9ef;
    text-align: center;
    padding: 6px;
    width: 48%;
    border-radius: 6px;
    font-weight: bold;
}

.job-center-box a {
    text-decoration: none;
    color: #003366;
}


/* ===== Page Contents Box ===== */
.job-contents-box {
    background: #d7dee6;
    margin-top: 15px;
    padding: 10px;
    border-radius: 6px;
    font-size: 14px;
}

.job-contents-title {
    font-weight: bold;
    margin-bottom: 8px;
}

/* Center the job layout container */
.job-layout {
    display: flex;
    justify-content: center;      /* Center both boxes left-to-right */
    align-items: flex-start;      /* Align them at the top */
    gap: 20px;                    /* Space between the infobox and the image */
    margin: 0 auto;
    width: 100%;
}

/* Optional: make sure the left/right sections don't expand full width */
.job-left, 
.job-right {
    max-width: 350px;
}

/* Optional: ensure the artwork image doesn't force too much spacing */
.job-artwork {
    display: block;
    margin: 0 auto;
}

.eqoa-detail-table {
    border: none !important;
    background: transparent !important;
}

.eqoa-detail-table td {
    border: none !important;
    background: transparent !important;
}

/* Class Mastery Table Styling */
.class-mastery-table {
    width: 100%;
    border-collapse: collapse;
    background: transparent;
}

.class-mastery-table th {
    background: var(--eqoa-header-bg, #2c2c2c);
    color: var(--eqoa-header-text, #e6e6e6);
    padding: 6px 10px;
    text-align: left;
    font-weight: bold;
    border-bottom: 1px solid #444;
}

.class-mastery-table td {
    padding: 6px 10px;
    border-bottom: 1px solid #333;
}

/* Remove inner borders if desired */
.class-mastery-table, 
.class-mastery-table tr, 
.class-mastery-table td {
    border: none;
    background: transparent;
}

.job-layout {
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Ensure top alignment */
    gap: 40px;               /* Adjust spacing between box and image */
}

/* Remove top padding/margin that pushes the infobox down */
.job-left {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Fix image positioning */
.job-right {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Ensure image sits exactly at the top */
.job-right img,
.job-artwork {
    margin-top: 0 !important;
    padding-top: 0 !important;
    display: block;
}

.job-left .infobox,
.job-left table {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Fix left/right alignment for job pages */
.job-layout {
    display: flex;
    justify-content: center;
    align-items: flex-start; /* force top alignment */
    gap: 150px;
    margin-top: 0 !important;
}

/* Remove unwanted spacing from left box */
.job-left,
.job-infobox,
.job-infobox-table,
.job-infobox-header {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Ensure right image aligns perfectly at top */
.job-right,
.job-right img,
.job-artwork {
    margin-top: 0 !important;
    padding-top: 0 !important;
    display: block;
    gap: 10px;
}

.job-right {
    margin-top: -90px !important; /* adjust number until perfect */
}


































/* ====================================================
   Norrath Stone & Gold ΓÇö EverQuest Classic Theme
   Refined: Less gold, no blues
   ==================================================== */

/* ---------- Base Page Colors ---------- */
body,
#globalWrapper,
#content,
#mw-page-base,
#mw-head-base {
    background-color: #1C1C20 !important; /* Stone Gray */
    color: #D6D6C9 !important; /* Pale Sand */
}

/* ---------- Links ---------- */
a,
.mw-body a {
    color: #D6D6C9 !important; /* match sand text */
}

a:visited {
    color: #BFBFBF !important; 
}

a:hover,
a:focus {
    color: #E6C98B !important; /* only highlight on hover */
    text-decoration: underline;
}

/* ---------- Headings ---------- */
h1, h2, h3, h4, h5, h6 {
    color: #D6D6C9 !important;
    border-color: #3C3C3C !important; /* subtle divider */
}

/* ---------- Generic Boxes ---------- */
div, .mp-box, .mp-inner, .mp-col, .box, .center-box {
    background-color: #242428 !important; /* Dark Stone */
    color: #D6D6C9 !important;
    border-color: #3C3C3C !important; /* less gold */
}

/* ---------- Headers for Boxes ---------- */
.box-header,
.portal .portal-header,
.mainpage-header,
.center-box .header,
#mob-flag-legend,
#mob-flag-legend *,
.job-infobox-header {
    background-color: #3C3C3C !important; /* Dark Stone Header */
    color: #D6D6C9 !important;
    border-bottom: 2px solid #D6B25E !important; /* minimal gold accent */
}

/* ---------- Sidebar ---------- */
#mw-panel,
#mw-panel div.portal {
    background-color: #242428 !important;
}

#mw-panel .portal h3 {
    color: #D6D6C9 !important;
}

#mw-panel .portal li a {
    color: #D6D6C9 !important;
}

#mw-panel .portal li a:hover {
    color: #E6C98B !important;
    text-decoration: underline;
}

/* ---------- Search Bar ---------- */
#p-search input {
    background-color: #242428 !important;
    border: 1px solid #3C3C3C !important;
    color: #D6D6C9 !important;
}

/* ---------- Infoboxes / Job / NPC Templates ---------- */
.infobox,
.job-infobox,
.job-infobox-table,
.class-notes,
.class-mastery-table {
    background-color: #242428 !important;
    color: #D6D6C9 !important;
    border: 1px solid #3C3C3C !important; /* minimal gold */
}

.infobox th,
.job-infobox-header,
.class-mastery-table th {
    background-color: #3C3C3C !important;
    color: #D6D6C9 !important;
    border-bottom: 1px solid #D6B25E !important; /* only headers get gold accent */
}

table.wikitable {
    background-color: #242428 !important;
    border: 1px solid #3C3C3C !important;
    color: #D6D6C9 !important;
}

table.wikitable th {
    background-color: #3C3C3C !important;
    color: #D6D6C9 !important;
    border: 1px solid #3C3C3C !important;
}

table.wikitable td {
    border: 1px solid #3C3C3C !important;
}

/* Zebra rows */
table.wikitable tr:nth-child(even),
.npc-table tr:nth-child(even),
.zone-table tr:nth-child(even),
.class-mastery-table tr:nth-child(even) {
    background: #2A2A2E !important; /* subtle contrast */
}

/* ---------- Buttons ---------- */
button,
input[type="submit"],
input[type="button"] {
    background-color: #3C3C3C !important; /* dark button */
    border: 1px solid #242428 !important;
    color: #D6D6C9 !important;
}

button:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
    background-color: #E6C98B !important; /* hover gold accent */
}

/* ---------- Spell List System ---------- */
.spell-list,
.SpellList,
.SpellRow,
.spell-list__cols,
.spell-col {
    background-color: #242428 !important;
    border: 1px solid #3C3C3C !important;
    color: #D6D6C9 !important;
}

.spell-list th,
.SpellList th,
.SpellRow th {
    background-color: #3C3C3C !important;
    color: #D6D6C9 !important;
    border-color: #3C3C3C !important;
}

.spell-list tr:nth-child(even),
.SpellList tr:nth-child(even),
.SpellRow:nth-child(even) {
    background-color: #2A2A2E !important;
}

/* Spell icons */
.spell-icon,
.spell-list img {
    border: 1px solid #3C3C3C !important;
}

/* Spell headers */
.spell-header,
.spell-section-header {
    background-color: #3C3C3C !important;
    border-bottom: 1px solid #D6B25E !important; /* minimal gold */
    color: #D6D6C9 !important;
}

/* ---------- Footer ---------- */
#footer {
    background-color: #242428 !important;
    color: #D6D6C9 !important;
    border-top: 1px solid #3C3C3C !important;
}

/* Remove conflicting background images */
body, #globalWrapper, .mp-inner, .portal, .infobox {
    background-image: none !important;
}

/* ---------- Job Infobox (Page Contents) ---------- */
.job-infobox {
    background-color: #242428 !important; /* Dark Stone background */
    border: 2px solid #D6B25E !important; /* subtle gold border */
    color: #D6D6C9 !important;            /* Pale Sand text */
}

.job-infobox-table {
    width: 100%;
    border-collapse: collapse;
}

.job-infobox-header th {
    background-color: #2F3B4A !important; /* Forged Steel header */
    color: #E6C98B !important;            /* gold header text */
    border-bottom: 2px solid #D6B25E !important;
    text-align: center;
    padding: 6px 10px;
}

.job-infobox-label td {
    background-color: #242428 !important; /* match dark stone */
    color: #D6D6C9 !important;            /* pale sand for readability */
    border-bottom: 1px solid #3C3C3C !important; /* subtle row separation */
    padding: 6px 10px;
}

/* Hover effect for links inside job infobox labels */
.job-infobox-label td a {
    color: #E6C98B !important;            /* gold link accent */
    text-decoration: none;
}

.job-infobox-label td a:hover {
    color: #D6D6C9 !important;            /* pale sand hover for contrast */
    text-decoration: underline;
}











/* ====================================================
   QUEST TEMPLATE ΓÇö Stone & Gold Theme
   ==================================================== */

/* Base wrapper */
.quest-template {
    background-color: #242428 !important; /* Dark stone */
    color: #D6D6C9 !important; /* Pale sand */
}

/* Remove ALL unwanted white backgrounds */
.quest-template *,
.quest-left,
.quest-right,
.quest-table,
.quest-reward,
.quest-walkthrough {
    background-color: #242428 !important;
    color: #D6D6C9 !important;
    border-color: #3C3C3C !important;
}

/* Headers (Reward, Walkthrough, Title) */
.quest-header {
    background-color: #3C3C3C !important; /* Dark slate */
    color: #E6C98B !important; /* Gold highlight */
    padding: 6px !important;
    border-bottom: 1px solid #D6B25E !important;
    text-align:center;
}

/* Table formatting */
.quest-table {
    width: 100% !important;
    border-collapse: collapse !important;
}

.quest-table td {
    padding: 6px !important;
    border: 1px solid #3C3C3C !important;
}

.quest-reward,
.quest-walkthrough {
    padding: 10px !important;
    background-color: #242428 !important;
    border: none !important;    /* REMOVE BOX */
    box-shadow: none !important; /* Ensure no outline */
}


/* Era badge */
.quest-era {
    background-color: #3C3C3C !important;
    color: #E6C98B !important;
    padding: 4px;
    border: 1px solid #D6B25E !important;
    display:inline-block;
}

/* Giver label */
.quest-giver-label {
    font-size: smaller;
    color: #C4C4B8 !important;
}
/* Quest Template ΓÇö Gold Links */
.quest-template a {
    color: #E6C98B !important;      /* Gold */
    font-weight: bold;
    text-decoration: none;
}

.quest-template a:hover {
    color: #F0D9A0 !important;      /* Lighter gold hover */
    text-decoration: underline;
}
/* GOLD links */
.quest-template a {
    color: #E6C98B !important;
    font-weight: bold;
    text-decoration: none;
}

.quest-template a:hover {
    color: #F0D9A0 !important;
    text-decoration: underline;
}

/* Remove boxes from reward & walkthrough */
.quest-reward,
.quest-walkthrough {
    padding: 10px !important;
    background-color: #242428 !important;
    border: none !important;
    box-shadow: none !important;
}
/* ====================================================
   GLOBAL FONT & TEXT SIZE UPGRADE
   ==================================================== */

/* Main Font for Entire Wiki */
body,
#content,
.mw-body,
#mw-content-text,
table,
.infobox,
.quest-template,
.job-infobox,
p,
td,
th,
li,
ul,
ol {
    font-family: "Segoe UI", "Roboto", sans-serif !important;
    font-size: 17px !important;   /* Global text size */
    line-height: 1.55 !important; /* Better readability */
    color: #D6D6C9 !important;    /* your stone/sand color */
}

/* Headings */
h1 { 
    font-size: 32px !important;
    font-family: "Segoe UI", "Roboto", sans-serif !important;
}

h2 { 
    font-size: 26px !important;
    font-family: "Segoe UI", "Roboto", sans-serif !important;
}

h3 { 
    font-size: 22px !important;
    font-family: "Segoe UI", "Roboto", sans-serif !important;
}

h4, h5, h6 {
    font-size: 19px !important;
    font-family: "Segoe UI", "Roboto", sans-serif !important;
}

/* Quest template readability */
.quest-template p,
.quest-walkthrough,
.quest-reward {
    font-size: 17px !important;
    line-height: 1.6 !important;
}

/* Job page sidebar / contents */
.job-infobox,
.job-infobox-table td,
.job-infobox-table th {
    font-size: 17px !important;
}

/* Menu / sidebar */
#mw-panel {
    font-size: 10px !important;
}
/* ====================================================
   FIX SEARCH BAR SIZE ΓÇö Make smaller / prevent overflow
   ==================================================== */

#p-search input[type="search"],
#p-search input[type="text"] {
    font-size: 13px !important;   /* smaller text */
    padding: 3px 6px !important;  /* smaller height */
    width: 130px !important;      /* fixed safe width */
    max-width: 100% !important;   /* prevents overflow */
    box-sizing: border-box !important;
}

/* Search box container (Vector/MonoBook) */
#p-search {
    width: 150px !important;      /* fits in right sidebar */
    overflow: hidden !important;  /* prevents spill */
}