MediaWiki:Common.css: Difference between revisions

From EQOA Sandstorm Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 107: Line 107:
   MAIN PAGE BOXES
   MAIN PAGE BOXES
   ========================= */
   ========================= */
/* Flex container for middle columns */
.mp-flex-columns {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    flex-wrap: wrap; /* optional if responsive */
}
/* Column boxes */
.mp-column {
    flex: 1 1 45%;
    min-width: 300px;
    background-color: #2d2d30; /* Slightly lighter than NPC bg */
    color: #d6d6c9;
    padding: 10px;
    border: 1px solid #3c3c3c;
    border-radius: 4px;
}
/* All main page boxes */
.mp-box {
.mp-box {
     background-color: #2C2C30 !important;   /* slightly lighter than #242428 */
     margin-bottom: 10px;
     color: #D6D6C9 !important;             /* pale sand text */
     padding: 10px;
     font-size: 16px !important;
     background-color: #2d2d30;
     line-height: 1.5 !important;
     color: #d6d6c9;
    padding: 12px !important;
     border: 1px solid #3c3c3c;
     border: 1px solid #3C3C3C !important;
     border-radius: 4px;
     border-radius: 6px !important;
    margin-bottom: 10px !important;
}
}


.mp-box h2 {
/* Top banner */
     color: #E6C98B !important; /* gold header */
.mp-top .mp-banner {
    font-size: 20px !important;
     background-color: #405b74;
     font-weight: bold !important;
     color: #ffffff;
     margin-top: 0 !important;
     padding: 12px;
     margin-bottom: 8px !important;
     text-align: center;
}
}


.mp-box ul, .mp-box li {
.mp-banner-title { font-weight: bold; font-size: 1.5em; }
    color: #D6D6C9 !important;
.mp-banner-subtitle { font-style: italic; font-size: 1.1em; }
    margin-left: 16px;
}


/* =========================
/* Bottom full width */
  FLEX COLUMNS
.mp-bottom, .mp-articles-count {
  ========================= */
     width: 100%;
.mp-flex-columns {
     clear: both;
     display: flex;
    justify-content: space-between;
    gap: 10px;
     flex-wrap: wrap; /* responsive for narrow screens */
}
}


.mp-column {
/* Headers */
     flex: 1;
.eqoa-orange-header {
     min-width: 300px; /* ensures side-by-side on normal screens */
     color: #e6c98b;
     font-weight: bold;
    text-align: center;
    margin: 0 0 8px 0;
}
}


/* =========================
/* Links */
  HOVER EFFECT
.mp-box a {
  ========================= */
     color: #e6c98b;
.mp-box:hover {
    text-decoration: none;
     background-color: #343438 !important;
     font-weight: bold;
     color: #F0D9A0 !important;
}
}


/* =========================
.mp-box a:hover {
  BOTTOM BOX FULL WIDTH
     color: #f0d9a0;
  ========================= */
     text-decoration: underline;
.mp-bottom {
     width: 100%;
     clear: both;
}
}

Revision as of 07:45, 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 container for middle columns */
.mp-flex-columns {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    flex-wrap: wrap; /* optional if responsive */
}

/* Column boxes */
.mp-column {
    flex: 1 1 45%;
    min-width: 300px;
    background-color: #2d2d30; /* Slightly lighter than NPC bg */
    color: #d6d6c9;
    padding: 10px;
    border: 1px solid #3c3c3c;
    border-radius: 4px;
}

/* All main page boxes */
.mp-box {
    margin-bottom: 10px;
    padding: 10px;
    background-color: #2d2d30;
    color: #d6d6c9;
    border: 1px solid #3c3c3c;
    border-radius: 4px;
}

/* Top banner */
.mp-top .mp-banner {
    background-color: #405b74;
    color: #ffffff;
    padding: 12px;
    text-align: center;
}

.mp-banner-title { font-weight: bold; font-size: 1.5em; }
.mp-banner-subtitle { font-style: italic; font-size: 1.1em; }

/* Bottom full width */
.mp-bottom, .mp-articles-count {
    width: 100%;
    clear: both;
}

/* Headers */
.eqoa-orange-header {
    color: #e6c98b;
    font-weight: bold;
    text-align: center;
    margin: 0 0 8px 0;
}

/* Links */
.mp-box a {
    color: #e6c98b;
    text-decoration: none;
    font-weight: bold;
}

.mp-box a:hover {
    color: #f0d9a0;
    text-decoration: underline;
}