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 107: | Line 107: | ||
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 { list-style-type: none; padding-left: 0; margin: 0; } .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; } | |||
Revision as of 07:59, 25 November 2025
/* =========================================================
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
========================= */
/* 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 { list-style-type: none; padding-left: 0; margin: 0; } .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; }