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 1: | Line 1: | ||
/* ============================================================ | /* ============================================================ | ||
EQOA: Sandstorm WIKI THEME ΓÇö | EQOA: Sandstorm WIKI THEME ΓÇö CLEANED VERSION | ||
============================================================ */ | ============================================================ */ | ||
/* ------------------------------------------------------------ | |||
ROOT VARIABLES | |||
------------------------------------------------------------ */ | |||
:root { | :root { | ||
--midnight: #0F1626; | |||
--midnight: #0F1626; | --sand: #B9C4D1; | ||
--sand: #B9C4D1; | --gold: #E3B44A; | ||
--sky: #6DA5E7; | |||
--evergreen: #3E6B52; | |||
--gold: #E3B44A; | --ember: #9A2E1E; | ||
--sky: #6DA5E7; | --box-header: #1C2B44; | ||
--evergreen: #3E6B52; | |||
--ember: #9A2E1E; | |||
--box-header: #1C2B44; | |||
} | } | ||
/* | /* ------------------------------------------------------------ | ||
GLOBAL PAGE BACKGROUND & | GLOBAL PAGE BACKGROUND & HEADINGS | ||
------------------------------------------------------------ */ | |||
body, | |||
#globalWrapper, | |||
#content, | |||
#mw-page-base, | |||
#mw-head-base { | |||
background: var(--midnight) !important; | background: var(--midnight) !important; | ||
color: var(--sand) !important; | color: var(--sand) !important; | ||
font-family: | font-family: Georgia, "Times New Roman", serif; | ||
} | } | ||
h1, h2, h3, h4, h5, h6, | h1, h2, h3, h4, h5, h6, | ||
| Line 46: | Line 34: | ||
.mw-body h4, .mw-body h5, .mw-body h6 { | .mw-body h4, .mw-body h5, .mw-body h6 { | ||
color: var(--gold) !important; | color: var(--gold) !important; | ||
font-weight: 700 !important; | font-weight: 700 !important; | ||
border: none !important; | border: none !important; | ||
} | } | ||
.mw-parser-output > h2 { | .mw-parser-output > h2 { | ||
border-bottom: 1px solid rgba(255,255,255,0.15) !important; | border-bottom: 1px solid rgba(255,255,255,0.15) !important; | ||
} | } | ||
/* | /* ------------------------------------------------------------ | ||
LINKS | LINKS | ||
------------------------------------------------------------ */ | |||
a { color: var(--sky) !important; } | |||
a { | a:visited { color: #5E8BC0 !important; } | ||
a:hover { color: var(--gold) !important; } | |||
} | |||
a:visited { | |||
} | |||
a:hover { | |||
} | |||
table, | /* ------------------------------------------------------------ | ||
.wikitable { | TABLES (GLOBAL) | ||
------------------------------------------------------------ */ | |||
table, .wikitable { | |||
background: #0A1420 !important; | background: #0A1420 !important; | ||
border: 1px solid var(--gold) !important; | border: 1px solid var(--gold) !important; | ||
} | } | ||
.wikitable th { | .wikitable th, | ||
.infobox th, | |||
.npc-table th, | |||
.zone-table th { | |||
background: var(--box-header) !important; | background: var(--box-header) !important; | ||
color: var(--gold) !important; | color: var(--gold) !important; | ||
} | } | ||
.wikitable td { | .wikitable td, | ||
.infobox td, | |||
.npc-table td, | |||
.zone-table td { | |||
color: var(--sand) !important; | color: var(--sand) !important; | ||
border | border: 1px solid var(--gold) !important; | ||
} | } | ||
table tr:nth-child(even), | |||
tr:nth-child(even) { | .wikitable tr:nth-child(even), | ||
.npc-table tr:nth-child(even), | |||
.zone-table tr:nth-child(even) { | |||
background: #121E30 !important; | background: #121E30 !important; | ||
} | } | ||
/* | /* ------------------------------------------------------------ | ||
CUSTOM BOXES | CUSTOM BOXES, PORTALS, MAIN PAGE SECTIONS | ||
------------------------------------------------------------ */ | |||
.portal, .navbox, .multicol, .mainpage-box, .mainpage-header, | |||
.portal, | div.center-box, div.portal, #mp-topbanner, #mp-left, #mp-right { | ||
.navbox, | |||
.multicol, | |||
.mainpage-box, | |||
.mainpage-header, | |||
div.center-box, | |||
div.portal, | |||
#mp-topbanner, | |||
#mp-left, | |||
#mp-right { | |||
background: #0A1420 !important; | background: #0A1420 !important; | ||
border: 1px solid var(--gold) !important; | border: 1px solid var(--gold) !important; | ||
| Line 116: | Line 90: | ||
} | } | ||
.box-header, .portal .portal-header, | |||
.portal .portal-header, | .mainpage-header, .center-box .header { | ||
.mainpage-header, | |||
background: var(--box-header) !important; | background: var(--box-header) !important; | ||
padding: 6px 10px !important; | padding: 6px 10px !important; | ||
color: var(--gold) !important; | color: var(--gold) !important; | ||
border-bottom: 1px solid var(--gold) !important; | |||
text-align: center; | text-align: center; | ||
} | } | ||
/* | /* ------------------------------------------------------------ | ||
SIDEBAR (MonoBook) | SIDEBAR (MonoBook) | ||
------------------------------------------------------------ */ | |||
#p-navigation, #p-interaction, #p-tb, #p-search { | |||
#p-navigation, | |||
#p-interaction, | |||
#p-tb, | |||
#p-search { | |||
background: #0A1420 !important; | background: #0A1420 !important; | ||
border: 1px solid var(--gold) !important; | border: 1px solid var(--gold) !important; | ||
} | } | ||
#p-navigation h3, | #p-navigation h3, #p-interaction h3, #p-tb h3, #p-search h3 { | ||
#p-interaction h3, | |||
#p-tb h3, | |||
#p-search h3 { | |||
background: var(--box-header) !important; | background: var(--box-header) !important; | ||
color: var(--gold) !important; | color: var(--gold) !important; | ||
| Line 156: | Line 113: | ||
} | } | ||
/* | /* ------------------------------------------------------------ | ||
INPUTS | INPUTS | ||
------------------------------------------------------------ */ | |||
input, textarea { | |||
input, | |||
textarea { | |||
background: #142233 !important; | background: #142233 !important; | ||
color: var(--sand) !important; | color: var(--sand) !important; | ||
| Line 167: | Line 122: | ||
} | } | ||
/* | /* ------------------------------------------------------------ | ||
NOTICES | 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 | ||
------------------------------------------------------------ */ | |||
#footer { | #footer { | ||
background: #0A1420 !important; | background: #0A1420 !important; | ||
border-top: 1px solid var(--gold) !important; | border-top: 1px solid var(--gold) !important; | ||
} | } | ||
/* ------------------------------------------------------------ | |||
MOB FLAG LEGEND ΓÇö SPECIFIC TABLE ONLY | |||
------------------------------------------------------------ */ | |||
/* --- | |||
#mob-flag-legend, | #mob-flag-legend, | ||
#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 | NPC TEMPLATE ΓÇö LEFT COLUMN | ||
------------------------------------------------------------ */ | |||
.npc-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 td: | |||
} | |||
.npc-left-column h2 { | .npc-left-column h2 { | ||
font-family: "Trajan Pro", Georgia, serif !important; | |||
font-size: 20px !important; | |||
letter-spacing: 1px; | |||
} | } | ||
/* | /* ------------------------------------------------------------ | ||
NPC | NPC DETAIL TABLES (Notes, Factions, Opposing) | ||
------------------------------------------------------------ */ | |||
.eqoa-detail-table { | |||
border: 1px solid var(--gold) !important; | |||
background: #0A1420 !important; | |||
. | |||
} | } | ||
.eqoa-detail-table td { | .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 { | .eqoa-section-box { | ||
background: #0A1420 !important; | |||
border: 2px solid var(--gold) !important; | |||
} | } | ||
.eqoa-section-box .right-header { | .eqoa-section-box .right-header { | ||
background: var(--box-header) !important; | |||
padding: 8px 10px !important; | |||
} | } | ||
/* ------------------------------------------------------------ | |||
MAIN PAGE GENERIC / COLUMN SETUP | |||
------------------------------------------------------------ */ | |||
MAIN PAGE | |||
.mp-box { | .mp-box { | ||
border: 2px solid var(--gold) !important; | |||
background: #0A1420 !important; | |||
padding: 0; | |||
} | } | ||
.mp-inner { background: #1C2B44 !important; padding: 10px; } | |||
.mp-inner { | |||
} | |||
.mp-col { | .mp-col { | ||
background: #1C2B44 !important; | |||
border: 1px solid var(--gold) !important; | |||
padding: 10px; | |||
} | } | ||
.mp-col a { color: var(--gold) !important; } | |||
.mp-col a { | .mp-col a:hover { color: white !important; } | ||
} | |||
.mp- | .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 { | .spell-list__cols { | ||
display: | display: grid; | ||
grid-template-columns: repeat(5, 1fr); | |||
gap: 4px; | |||
} | } | ||
.spell-col { | .spell-col { | ||
display: flex; | display: flex; | ||
flex-direction: column; | |||
border: 1px solid #c1c7cc !important; | |||
background: #f8fafb !important; | |||
} | } | ||
.spell-row { | .spell-row { | ||
display: flex; | display: flex; | ||
align-items: center; | align-items: center; | ||
padding: 1px 3px !important; | padding: 1px 3px !important; | ||
height: 16px !important; | height: 16px !important; | ||
border-bottom: 1px solid #c9cfd3 !important; | border-bottom: 1px solid #c9cfd3 !important; | ||
} | } | ||
.spell-lvl { | .spell-lvl { | ||
width: 22px !important; | width: 22px !important; | ||
font-size: 12px !important; | font-size: 12px !important; | ||
text-align: center; | |||
} | } | ||
.spell-data { | .spell-data { | ||
display: flex | display: flex; | ||
align-items: center | align-items: center; | ||
gap: 2px !important; | gap: 2px !important; | ||
} | } | ||
.spell-icon-wrap img { | .spell-icon-wrap img { | ||
width: 14px !important; | width: 14px !important; | ||
height: 14px !important; | height: 14px !important; | ||
background: transparent !important; | background: transparent !important; | ||
border: none !important; | border: none !important; | ||
} | } | ||
Revision as of 10:47, 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;
}