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;
}
/* 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
========================= */
.mp-box {
background-color: #2C2C30 !important; /* slightly lighter than #242428 */
color: #D6D6C9 !important; /* pale sand text */
font-size: 16px !important;
line-height: 1.5 !important;
padding: 12px !important;
border: 1px solid #3C3C3C !important;
border-radius: 6px !important;
margin-bottom: 10px !important;
}
.mp-box h2 {
color: #E6C98B !important; /* gold header */
font-size: 20px !important;
font-weight: bold !important;
margin-top: 0 !important;
margin-bottom: 8px !important;
}
.mp-box ul, .mp-box li {
color: #D6D6C9 !important;
margin-left: 16px;
}
/* =========================
FLEX COLUMNS
========================= */
.mp-flex-columns {
display: flex;
justify-content: space-between;
gap: 10px;
flex-wrap: wrap; /* responsive for narrow screens */
}
.mp-column {
flex: 1;
min-width: 300px; /* ensures side-by-side on normal screens */
}
/* =========================
HOVER EFFECT
========================= */
.mp-box:hover {
background-color: #343438 !important;
color: #F0D9A0 !important;
}
/* =========================
BOTTOM BOX FULL WIDTH
========================= */
.mp-bottom {
width: 100%;
}