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.
/* ======================================================
GLOBAL COLORS / BODY
====================================================== */
body, #content, #mw-content-text {
background-color: #242428 !important; /* Dark stone bg */
color: #D6D6C9 !important; /* Pale sand text */
font-family: Arial, sans-serif;
}
/* Links */
a, .mw-body a, .quest-template a, .npc-template a, table a, .wikitable a {
color: #F7D865 !important; /* Gold */
font-weight: bold;
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: #F7DF83 !important;
text-decoration: underline !important;
}
/* ======================================================
SIDEBAR FIX + STYLING
====================================================== */
/* Sidebar container */
#mw-panel {
width: 220px !important;
float: left !important;
margin: 0 !important;
padding: 0 !important;
box-sizing: border-box !important;
}
/* Sidebar logo at top */
#p-logo {
width: 220px !important;
float: left !important;
margin: 0 !important;
padding: 0 !important;
position: relative !important;
}
/* Sidebar portlets */
#mw-panel .portlet {
width: 100% !important;
margin-bottom: 8px !important;
overflow: hidden !important;
background: transparent !important;
}
/* Sidebar headers (EQOA orange) */
#mw-panel h5 {
background-color: #f68825 !important; /* EQOA orange */
color: #242428 !important;
border: 1px solid #ffffff !important;
font-size: 18px !important;
font-family: "Trebuchet MS", Arial, sans-serif !important;
font-weight: 900 !important;
text-align: center !important;
text-transform: uppercase !important;
margin: 0 !important;
padding: 12px 8px !important;
border-radius: 6px 6px 0 0 !important;
}
/* Sidebar lists & links */
#mw-panel ul {
list-style-type: none !important;
margin: 0 !important;
padding-left: 10px !important;
}
#mw-panel li {
padding: 2px 0 !important;
}
#mw-panel a {
color: #F7D865 !important;
font-weight: bold !important;
text-decoration: none !important;
}
#mw-panel a:hover {
color: #F7DF83 !important;
text-decoration: underline !important;
}
/* Content moves to right of sidebar */
#content, #column-content, #mw-content-text {
margin-left: 240px !important;
padding-top: 0 !important;
}
/* ======================================================
PAGE SEARCH BAR
====================================================== */
#p-search input[type="search"],
#p-search input[type="text"] {
font-size: 14px !important;
padding: 5px 8px !important;
width: 160px !important;
max-width: 100% !important;
box-sizing: border-box !important;
}
#p-search {
width: 200px !important;
overflow: hidden !important;
}
/* ======================================================
PAGE ACTION TABS ΓÇö Stone Gray + Gold
====================================================== */
#p-views, #p-cactions {
height: auto !important;
overflow: visible !important;
z-index: 5 !important;
}
#p-views ul li, #p-cactions ul li,
#p-views ul li a, #p-cactions ul li a {
background: #2A2A2F !important;
border: 1px solid #3C3C3C !important;
color: #E6C98B !important;
padding: 4px 10px !important;
margin: 0 !important;
display: inline-block !important;
line-height: 1.4 !important;
text-decoration: none !important;
}
#p-views ul li.selected a,
#p-cactions ul li.selected a {
background: #3C3C3C !important;
color: #FFF2C2 !important;
border-bottom: 2px solid #D6B25E !important;
}
#p-views ul li a:hover,
#p-cactions ul li a:hover {
background: #3A3A3F !important;
color: #E6C98B !important;
text-decoration: underline !important;
}
/* ======================================================
HEADINGS ΓÇö EQOA Orange Style
====================================================== */
h1, .firstHeading {
position: relative;
z-index: 10 !important;
color: #E6C98B !important;
}
h2.eqoa-orange-header,
.eqoa-orange-header,
.eqoa-orange-header * {
background-color: #f68825 !important;
color: #242428 !important;
font-size: 28px !important;
font-family: "Trebuchet MS", Arial, sans-serif !important;
font-weight: 900 !important;
text-align: center !important;
padding: 8px 12px !important;
margin: 0 !important;
line-height: 1.2 !important;
}
/* ======================================================
NPC / QUEST TEMPLATE COLORS
====================================================== */
/* Wrapper */
.npc-template {
background-color: #242428 !important;
color: #D6D6C9 !important;
display: flex;
flex-wrap: wrap;
gap: 10px;
}
/* Header */
.npc-header {
background-color: #3C3C3C !important;
color: #E6C98B !important;
padding: 6px !important;
border-bottom: 1px solid #D6B25E !important;
text-align: center;
font-weight: bold;
}
/* Info Table */
.npc-table, table.info-table, table.npc-zone-table {
width: 100% !important;
border-collapse: collapse !important;
}
.npc-table td, table.info-table td, table.npc-zone-table td {
padding: 6px !important;
border: 1px solid #3C3C3C !important;
background-color: #242428 !important;
color: #D6D6C9 !important;
}
/* Label rows */
.npc-row-label td {
background-color: #3C3C3C !important;
color: #E6C98B !important;
font-weight: bold;
}
/* Value rows */
.npc-row-value td {
background-color: #242428 !important;
color: #D6D6C9 !important;
}
/* Zone tables */
table.npc-zone-table tr:first-child th {
background-color:#2B2B2B !important;
color:#E6C98B !important;
font-weight:bold;
padding:6px;
border:2px solid #D6B25E;
}
table.npc-zone-table tr:nth-child(odd):not(:first-child) {
background-color:#242428 !important;
color:#B9C4D1 !important;
border:1px solid #D6B25E;
}
table.npc-zone-table tr:nth-child(even):not(:first-child) {
background-color:#2E2E31 !important;
color:#B9C4D1 !important;
border:1px solid #D6B25E;
}
/* ======================================================
EXP CAMP TABLE
====================================================== */
.exp-camp-wrapper {
max-width: 100%;
overflow-x: auto;
display: block;
text-align: center;
margin: 0 auto 10px auto;
}
.exp-camp-table {
display: inline-table !important;
width: auto !important;
max-width: 100%;
table-layout: auto !important;
border-collapse: collapse;
background-color: #242428 !important;
border: 1px solid #CC6A00 !important;
}
.exp-camp-table th {
background-color: #2C1F0F !important;
color: #E1A857 !important;
font-weight: bold;
padding: 6px 10px !important;
border: 1px solid #CC6A00 !important;
}
.exp-camp-row td {
padding: 6px 10px !important;
background-color: #242428 !important;
border: 1px solid #CC6A00 !important;
color: #E1A857 !important;
}
.exp-camp-row:nth-child(even) td {
background-color: #2E2E31 !important;
}
/* ======================================================
QUEST / RIGHT COLUMN
====================================================== */
.quest-right {
background: transparent !important;
margin-top: 0 !important;
padding-top: 0 !important;
}
.quest-right h2.quest-header {
margin-bottom: 6px !important;
}
.quest-right p:first-of-type {
margin-top: 0 !important;
padding-top: 0 !important;
display: inline;
}