MediaWiki:Common.css

From EQOA Sandstorm Wiki
Revision as of 06:39, 25 November 2025 by RenodorDev (talk | contribs) (Replaced content with "→‎============================================ NPC TEMPLATE ΓÇö MATCH QUEST STYLE EXACTLY ============================================: →‎NPC wrapper: .npc-template { background-color: #242428 !important; color: #D6D6C9 !important; display: flex; flex-wrap: wrap; gap: 10px; } →‎Left / Right columns: .npc-left, .npc-right { background-color: #242428 !important; color: #D6D6C9 !important; border-color: #3C3C3C !important; }...")
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.
/* ============================================
   NPC TEMPLATE ΓÇö MATCH QUEST STYLE EXACTLY
============================================ */

/* NPC wrapper */
.npc-template {
    background-color: #242428 !important;
    color: #D6D6C9 !important;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Left / Right columns */
.npc-left, .npc-right {
    background-color: #242428 !important;
    color: #D6D6C9 !important;
    border-color: #3C3C3C !important;
}
.npc-left { flex: 1; min-width: 300px; }
.npc-right { flex: 2; min-width: 400px; }

/* Header */
.npc-header {
    background-color: #3C3C3C !important;
    color: #E6C98B !important;
    padding: 6px !important;
    border-bottom: 1px solid #D6B25E !important;
    text-align: center;
    font-weight: bold;
}

/* Outer box */
.npc-box {
    border: 1px solid #3C3C3C !important;
    background-color: #242428 !important;
    border-radius: 4px;
    padding: 10px !important;
}

/* Image alignment */
.npc-image {
    text-align: center;
    margin-bottom: 8px !important;
}

/* NPC Table */
.npc-table {
    width: 100% !important;
    border-collapse: collapse !important;
}
.npc-table td {
    padding: 6px !important;
    border: 1px solid #3C3C3C !important;
    background-color: #242428 !important;
    color: #D6D6C9 !important;
}
.npc-row-label td {
    background-color: #3C3C3C !important;
    color: #E6C98B !important;
    font-weight: bold;
}
.npc-row-value td {
    background-color: #242428 !important;
    color: #D6D6C9 !important;
}

/* Links */
.npc-template a {
    color: #E6C98B !important;
    font-weight: bold;
    text-decoration: none;
}
.npc-template a:hover {
    color: #F0D9A0 !important;
    text-decoration: underline;
}

/* NPC Zone Table */
table.npc-zone-table tr:nth-child(odd) {
    background-color:#242428 !important;
    color:#B9C4D1 !important;
}
table.npc-zone-table tr:nth-child(even) {
    background-color:#3C3C3C !important;
    color:#B9C4D1 !important;
}
table.npc-zone-table tr:first-child th {
    background-color:#2B2B2B !important;
    color:#E6C98B !important;
    font-weight:bold;
    padding:6px;
    border:2px solid #D6B25E;
}
table.npc-zone-table tr:nth-child(odd):not(:first-child),
table.npc-zone-table tr:nth-child(even):not(:first-child) {
    border:1px solid #D6B25E;
}
table.npc-zone-table tr:nth-child(odd):not(:first-child) {
    background-color:#242428 !important;
    color:#B9C4D1 !important;
}

table.npc-zone-table tr:nth-child(even):not(:first-child) {
    background-color:#2E2E31 !important;
    color:#B9C4D1 !important;
}
table.npc-zone-table td { background-color:transparent !important; }

/* Zones Header */
.zones-header {
    background-color: #2B2B2B !important;
    color: #E6C98B !important;
    padding: 6px;
    margin: 0;
    border-bottom: 2px solid #D6B25E;
    font-weight: bold;
    text-align: center;
}

/* Info Table */
table.info-table tr td:first-child {
    background-color:#3C3C3C !important;
    color:#E6C98B !important;
    font-weight:bold;
    width:40%;
    border-bottom:1px solid #D6B25E;
    padding:4px;
}
table.info-table tr:nth-child(odd) td:last-child {
    background-color:#242428 !important;
    color:#B9C4D1 !important;
    padding:4px;
    border-bottom:1px solid #D6B25E;
}
table.info-table tr:nth-child(even) td:last-child {
    background-color:#2E2E31 !important;
    color:#B9C4D1 !important;
    padding:4px;
    border-bottom:1px solid #D6B25E;
}
table.info-table td { background-color:transparent !important; }

/* NPC Name / Infobox */
.infobox .npcname-row td {
    background-color: #2b2b2b !important;
    color: #fff !important;
    border: 2px solid #444 !important;
}
.infobox { border: 4px solid #555 !important; border-radius: 6px; }
.npcname-header {
    background-color:#2B2B2B !important;
    color:#E6C98B !important;
    text-align:center;
    margin:0;
    padding:6px;
    border-right:3px solid #D6B25E;
    border-left:3px solid #D6B25E;
    font-size:1.25em;
    font-weight:bold;
}

/* Right-side image box override */
.eqoa-image-box { border:none!important; }

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