MediaWiki:Common.css
From EQOA Sandstorm Wiki
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;
}
/* Global style for all wiki headers */
h1, h2, h3, h4, h5, h6 {
color: white !important; /* Text color */
font-family: 'Arial', sans-serif; /* Font style */
font-weight: bold; /* Bold text */
text-shadow: 1px 1px 2px #000; /* Optional: subtle shadow for readability */
}
/* Optional: specific size adjustments for nested headers */
h1 { font-size: 2em; }
h2 { font-size: 1.8em; }
h3 { font-size: 1.5em; }
h4 { font-size: 1.2em; }
h5 { font-size: 1em; }
h6 { font-size: 0.9em; }
/* 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
========================= */
/* FLEX COLUMNS */
.mp-flex-columns {
display: flex;
gap: 10px; flex-wrap: nowrap; /* ensures World | Character stay side by side */
}
/* COLUMNS */
.mp-column {
flex: 1;
min-width: 300px;
}
/* BOTTOM SECTIONS (full width) */
.mp-bottom {
width: 100%;
clear: both; /* make sure it stays below flex columns */
}
/* MAIN PAGE BOXES */
.mp-box {
background-color: #2a2a2f; /* lighter #242428 */ color: #d6d6c9; border: 2px solid #444; border-radius: 4px; padding: 10px; margin-bottom: 10px; box-sizing: border-box; } /* BANNER */ .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; }
/* BOX CONTENT */
.mp-box ul,
.mp-box li {
list-style-type: none !important;
margin-left: 0 !important;
padding-left: 0 !important;
}
.mp-box li {
margin-bottom: 5px;
font-size: 0.95em;
}
.mp-box a {
color: #E6C98B;
font-weight: bold;
text-decoration: none;
}
.mp-box a:hover {
color: #F0D9A0;
text-decoration: underline;
}
/* Override Vector skin blue bullet icons */
.mw-body-content ul li {
list-style: none !important;
background-image: none !important;
background: none !important;
padding-left: 0 !important;
margin-left: 0 !important;
}
/* =========================
JOB PAGE LAYOUT
========================= */
/* ===== Job Page Layout ===== */
.job-layout {
display: flex;
justify-content: center;
align-items: flex-start; /* top alignment */
gap: 150px; /* final spacing you set */
width: 100%;
margin: 0 auto;
}
/* Left + Right sections */
.job-left,
.job-right {
max-width: 350px;
margin-top: 0;
padding-top: 0;
}
/* Right artwork */
.job-right {
text-align: center;
}
/* Artwork image */
.job-artwork,
.job-right img {
width: 90%;
max-width: 450px;
margin: 0 auto;
padding: 0;
display: block;
}
/* ===== Infobox ===== */
.job-infobox-table {
width: 100%;
border-collapse: collapse;
font-size: 14px;
margin-top: 0;
padding-top: 0;
}
.job-infobox-header th {
background: #3c4a55;
color: white;
padding: 8px;
text-align: center;
}
.job-infobox-label td:first-child {
background: #d3dce4;
width: 40%;
padding: 6px;
}
.job-infobox-label td:last-child {
background: #e9eff4;
padding: 6px;
}
/* ===== Center Boxes Under Infobox ===== */
.job-center-boxes {
display: flex;
justify-content: space-between;
gap: 10px;
margin-top: 12px;
}
.job-center-box {
background: #e2e9ef;
width: 48%;
text-align: center;
padding: 6px;
border-radius: 6px;
font-weight: bold;
}
.job-center-box a {
color: #003366;
text-decoration: none;
}
/* ===== Page Contents Box ===== */
.job-contents-box {
background: #d7dee6;
margin-top: 15px;
padding: 10px;
border-radius: 6px;
font-size: 12px;
}
.job-contents-title {
font-weight: bold;
margin-bottom: 8px;
}
/* ===== Remove borders from detail tables ===== */
.eqoa-detail-table,
.eqoa-detail-table td {
border: none !important;
background: transparent !important;
}
/* ===== Class Mastery Table ===== */
.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;
}
.class-mastery-table,
.class-mastery-table tr,
.class-mastery-table td {
border: none;
}
/* Optional manual tweak */
.job-right {
margin-top: -90px; /* preserved exactly as your final adjustment */
}
/* ============================================================
SPELL LIST ΓÇö Final Clean Version (Latest Style Preserved)
============================================================ */
/* MAIN CONTAINER */
.spell-list {
background: #0A1420 !important;
border: 1px solid #E3B44A !important;
color: #B9C4D1 !important;
padding: 6px !important;
margin-bottom: 12px !important;
}
/* GRID COLUMNS */
.spell-list__cols {
display: grid !important;
grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
gap: 6px !important;
align-items: start !important;
}
/* COLUMN BOX */
.spell-col {
background: #1C2B44 !important;
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;
}
/* ----------------------------------------------
ROW LAYOUT (compact, aligned, tight)
---------------------------------------------- */
.spell-row {
display: flex !important;
align-items: center !important;
padding: 0 !important;
margin: 0 !important;
line-height: 1 !important;
min-height: 0 !important;
height: auto !important;
background: transparent !important;
border-bottom: 1px solid rgba(227,180,74,0.06) !important;
}
/* LEVEL BOX ΓÇö big/gold */
.spell-lvl {
width: 26px !important;
min-width: 26px !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
padding: 0 !important;
margin: 0 1px 0 0 !important;
color: #E3B44A !important;
font-size: 16px !important;
font-weight: bold !important;
line-height: 1 !important;
}
/* MAIN SPELL DATA (icon + name + extra icon) */
.spell-data {
display: flex !important;
align-items: center !important;
gap: 1px !important;
padding: 0 !important;
margin: 0 !important;
line-height: 1 !important;
height: auto !important;
color: #B9C4D1 !important;
}
/* SPELL NAME */
.spell-name {
padding: 0 !important;
margin: 0 !important;
font-size: 16px !important;
line-height: 1 !important;
}
/* ICONS (final version: 20px tight alignment) */
.spell-icon img,
.spell-icon-wrap img,
.spell-row img {
width: 20px !important;
height: 20px !important;
display: inline-block !important;
vertical-align: middle !important;
margin: 0 !important;
padding: 0 !important;
background: transparent !important;
border: none !important;
}
/* VERTICAL DIVIDER (gold, full height) */
.spell-divider {
display: inline-block !important;
align-self: stretch !important;
width: 1px !important;
min-width: 1px !important;
background: #F2D07A !important;
margin: 0 3px !important;
box-sizing: border-box !important;
}
/* If something inside divider resets background */
.spell-divider * {
background: #F2D07A !important;
}
/* Alternate divider using right border */
.spell-lvl.divider-right {
border-right: 1px solid #F2D07A !important;
padding-right: 4px !important;
margin-right: 3px !important;
}
/* ----------------------------------------------
LEGACY SUPPORT (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;
background: #1C2B44 !important;
border: 1px solid #E3B44A !important;
padding: 6px 8px !important;
box-sizing: border-box !important;
color: #B9C4D1 !important;
}
/* ----------------------------------------------
TABLE RESET (avoid MW interference)
---------------------------------------------- */
.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;
}
/* ----------------------------------------------
BLOCK OVERRIDE PROTECTION
---------------------------------------------- */
.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;
}
/* ----------------------------------------------
RESPONSIVE
---------------------------------------------- */
@media (max-width: 520px) {
.spell-list__cols { grid-template-columns: 1fr !important; }
.SpellRow { width: 100% !important; }
}
/* ----------------------------------------------
Item Page
---------------------------------------------- */
/* ------------------------------
ITEM BOX STYLES (CLEAN + FIXED)
--------------------------------*/
.item-box {
background: rgba(0,0,0,0.7);
color: white;
padding: 10px;
border: 1px solid #fff;
width: 400px;
font-family: 'Courier New', monospace;
position: relative;
overflow: hidden; /* FIX: prevents white box behind image */
}
.item-header {
font-weight: bold;
font-size: 3em;
margin-bottom: 5px;
}
.item-stats div {
margin: 2px 0;
background: transparent !important; /* ensures no white behind image */
}
.item-attributes {
margin-top: 5px;
}
.item-attr-table {
width: 100%;
border-collapse: collapse;
text-align: left;
}
.item-attr-table th, .item-attr-table td {
border-bottom: 1px dotted #fff;
padding: 2px 5px;
}