MediaWiki:Common.css: Difference between revisions
From EQOA Sandstorm Wiki
Jump to navigationJump to search
RenodorDev (talk | contribs) No edit summary |
RenodorDev (talk | contribs) No edit summary |
||
| Line 173: | Line 173: | ||
background: #0A1420 !important; | background: #0A1420 !important; | ||
} | } | ||
.eqoa-detail-table td { | .eqoa-detail-table td { | ||
| Line 181: | Line 180: | ||
color: var(--sand) !important; | color: var(--sand) !important; | ||
} | } | ||
/* Section header (inside unified box) */ | /* Section header (inside unified box) */ | ||
| Line 234: | Line 234: | ||
.spell-col { | .spell-col { | ||
display: flex; | display: flex; | ||
flex-direction: column; | flex-direction: column; | ||
| Line 625: | Line 624: | ||
font-weight: bold; | font-weight: bold; | ||
margin-bottom: 8px; | margin-bottom: 8px; | ||
} | |||
.page-contents-box { | |||
width: 400px; | |||
background: #0f1a27; /* same dark blue as infobox */ | |||
border: 1px solid #c49a3f; /* same orange border */ | |||
border-radius: 4px; | |||
padding: 0; | |||
margin-top: 20px; | |||
} | |||
.page-contents-header { | |||
background: #192738; /* same medium blue header */ | |||
color: #ffffff; | |||
font-weight: bold; | |||
padding: 6px 8px; | |||
border-bottom: 1px solid #c49a3f; | |||
} | |||
.page-contents-list { | |||
background: #14202f; /* same light-blue row background */ | |||
padding: 8px 12px; | |||
} | |||
.page-contents-list ul { | |||
list-style: none; | |||
margin: 0; | |||
padding: 0; | |||
} | |||
.page-contents-list li a { | |||
color: #c7d8e5; | |||
text-decoration: none; | |||
} | |||
.page-contents-list li a:hover { | |||
color: #ffffff; | |||
text-decoration: underline; | |||
} | } | ||
Revision as of 12:27, 22 November 2025
/* ============================================================
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;
}
.page-contents-box {
width: 400px;
background: #0f1a27; /* same dark blue as infobox */
border: 1px solid #c49a3f; /* same orange border */
border-radius: 4px;
padding: 0;
margin-top: 20px;
}
.page-contents-header {
background: #192738; /* same medium blue header */
color: #ffffff;
font-weight: bold;
padding: 6px 8px;
border-bottom: 1px solid #c49a3f;
}
.page-contents-list {
background: #14202f; /* same light-blue row background */
padding: 8px 12px;
}
.page-contents-list ul {
list-style: none;
margin: 0;
padding: 0;
}
.page-contents-list li a {
color: #c7d8e5;
text-decoration: none;
}
.page-contents-list li a:hover {
color: #ffffff;
text-decoration: underline;
}