MediaWiki:Common.css: Difference between revisions

From EQOA Sandstorm Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 499: Line 499:
.spell-col > div:last-child {
.spell-col > div:last-child {
     border-bottom: none;
     border-bottom: none;
}
/* Remove all backgrounds in Spell List */
.spell-row,
.spell-row * {
    background: none !important;
}
/* Spell Row Wrapper */
.spell-row {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #B6D1C1;
    padding: 1px 0;
    line-height: 16px;
}
/* Level column ΓÇô stays on one line ALWAYS */
.spell-lvl {
    width: 28px;
    text-align: center;
    font-size: 12px;
    color: #2B6E3C;
    white-space: nowrap;  /* ≡ƒöÑ Fixes multi-digit levels breaking */
}
/* Spell icon */
.spell-icon {
    width: 16px;
    height: 16px;
    margin-right: 3px;
    vertical-align: middle;
}
/* Spell name text */
.spell-name {
    font-size: 12px;
    color: #1D4429;
    white-space: nowrap;  /* Keeps name on one line */
}
/* Column containers (SpellList template) */
.spell-col-box {
    border: 1px solid #1D4429;
    padding: 4px;
    background: none !important;
}
}

Revision as of 07:11, 16 November 2025

/* CSS placed here will be applied to all skins */
/* Apply styles to the main content area of all special pages */

.ns--1 #content {
    font-size: 16px; /* Adjust font size */
    font-family: Arial, sans-serif; /* Adjust font type */
    color: #FFD700; /* Adjust font color */
    font-style: normal; /* Adjust font style */
    background-color: #c4c4c4; /* Adjust background color */
}

/* Exclude Content Header box */
.ns--1 #content .content-header {
    color: inherit; /* Keep default font color for content header */
    background-color: inherit; /* Keep default background color for content header */
}

/* Ensure links in the main content area of special pages follow the same styling */
.ns--1 #content > :not(.content-header) a {
    font-size: 16px; /* Adjust font size for links */
    font-family: Arial, sans-serif; /* Adjust font type for links */
    color: #FFD700 !important; /* Adjust font color for links */
    font-style: normal; /* Adjust font style for links */
    text-decoration: none; /* Remove underline from links */
}

/* Ensure visited links in the main content area of special pages follow the same styling */
.ns--1 #content > :not(.content-header) a:visited {
    color: #FFD700 !important; /* Adjust font color for visited links */
}

/* Ensure links in the main content area of special pages follow the same styling on hover */
.ns--1 #content > :not(.content-header) a:hover {
    color: #8e2631 !important; /* Adjust font color for links on hover */
    text-decoration: underline; /* Underline links on hover */
}

/* Apply the same style for URL text or any external links */
.ns--1 #content > :not(.content-header) a.external {
    font-size: 16px; /* Adjust font size for external links */
    font-family: Arial, sans-serif; /* Adjust font type for external links */
    color: #8e2631 !important; /* Adjust font color for external links */
    font-style: normal; /* Adjust font style for external links */
    text-decoration: none; /* Remove underline from external links */
}

/* Ensure external links in the main content area follow the same styling on hover */
.ns--1 #content > :not(.content-header) a.external:hover {
    color: #8e2631 !important; /* Adjust font color for external links on hover */
    text-decoration: underline; /* Underline external links on hover */
}

/* Style headers in the main content area of special pages */
.ns--1 #content > :not(.content-header) h1,
.ns--1 #content > :not(.content-header) h2,
.ns--1 #content > :not(.content-header) h3,
.ns--1 #content > :not(.content-header) h4,
.ns--1 #content > :not(.content-header) h5,
.ns--1 #content > :not(.content-header) h6 {
    font-size: 24px; /* Adjust font size for headers */
    font-family: Arial, sans-serif; /* Adjust font type for headers */
    color: #8e2631; /* Adjust font color for headers */
    font-style: normal; /* Adjust font style for headers */
}

/* Style headers in the main content area of special pages on hover */
.ns--1 #content > :not(.content-header) h1:hover,
.ns--1 #content > :not(.content-header) h2:hover,
.ns--1 #content > :not(.content-header) h3:hover,
.ns--1 #content > :not(.content-header) h4:hover,
.ns--1 #content > :not(.content-header) h5:hover,
.ns--1 #content > :not(.content-header) h6:hover {
    color: #8e2631; /* Adjust font color for headers on hover */
}







/* === GLOBAL PAGE BACKGROUND === */
html, body {
  background-color: #cccccc !important;
  background-image: none !important;
  color: #000000;
}

/* Apply consistent background across layout sections */
#mw-page-base,
#mw-head-base,
#mw-head,
#mw-panel,
#content,
#footer,
#mw-footer,
#mw-data-after-content,
#mw-wrapper,
#mw-data-before-content {
  background-color: #cccccc !important;
  background-image: none !important;
  border: none !important;
}

/* === SIDEBAR STYLING === */
#mw-panel,
#mw-panel h3,
#mw-panel a {
  color: #ffffff !important;
  background: none !important;
}

#mw-panel a:hover {
  color: #f68825 !important;
  text-decoration: underline;
}

/* === MAIN CONTENT AREA === */
#mw-content-text,
#contentSub,
#siteSub,
#bodyContent {
  background: none !important;
}

.mw-body,
#mw-content-text {
  color: #000000;
}

/* === LOGO AREA FIXED === */
#p-logo {
  background-color: #cccccc !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  height: auto !important;
  position: relative;
  overflow: visible !important;
}

/* Restore and center the logo image */
#p-logo a {
  display: block;
  background: url("/eqoawiki/resources/assets/sandstorm_logo1.png") no-repeat center center !important;
  background-size: contain !important;
  width: 135px !important;
  height: 155px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  text-indent: -9999px;
  overflow: hidden;
  border: none !important;
}


/* Ensure no invisible overlays block the logo */
#p-logo a img,
#p-logo img {
  display: none !important; /* Hide fallback <img> if present */
}

/* === TOP NAVIGATION BAR THEMING === */
#mw-head,
#p-personal,
#p-views,
#right-navigation,
#left-navigation {
  background-color: #cccccc !important;
  background-image: none !important;
  border: none !important;
}

/* Navigation bar text */
#p-personal a,
#p-views a,
#right-navigation a,
#left-navigation a {
  color: #ffffff !important;
  font-weight: bold;
}

/* Hover and active states */
#p-personal a:hover,
#p-views a:hover,
#right-navigation a:hover,
#left-navigation a:hover,
#p-personal li.active a,
#p-views li.selected a {
  color: #f68825 !important;
  text-decoration: underline;
}

/* Remove any white separator line */
#mw-head-base {
  border-bottom: none !important;
}





/* MediaWiki:Common.css */
.quest-reward { background-color: #cccccc !important; }
.quest-reward, .quest-reward * { background-color: transparent !important; }




/* MediaWiki:Common.css */
/* Force any inner elements inside quest right column to be transparent */
.quest-right,
.quest-reward,
.quest-walkthrough {
  background-color: #cccccc !important;  /* keep outer gray */
  border-color: transparent !important;
}

/* Override inner whites and borders */
.quest-right * ,
.quest-reward * ,
.quest-walkthrough * {
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Keep outer gray box */
.quest-right,
.quest-reward,
.quest-walkthrough {
  background-color: #cccccc !important;
  border: none !important;
}

/* Restore the orange header */
.quest-header {
  background-color: #f68825 !important;
  color: white !important;
  border: none !important;
}

/* Force any inner white backgrounds to disappear */
.quest-right * ,
.quest-reward * ,
.quest-walkthrough * {
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}


/* Adjust panel content to move down slightly, so it doesnΓÇÖt overlap the logo */
#mw-panel {
  padding-top: 170px !important; /* adjust to your logo height */
}

/* Remove space above sidebar logo */
#p-logo {
  margin-top: 0 !important;
  padding-top: 0 !important;
  position: absolute !important;
  top: 0 !important;
}

/* === FIX: Restore orange headers for Reward and Walkthrough === */
.quest-header {
  background-color: #d86f34!important;
  color: white !important;
  padding: 5px !important;
  border: none !important;
  margin: 0 !important;
}

.quest-header h2,
.quest-header {
  background-color: #d86f34!important;
  color: white !important;
  text-align: left;
  padding: 6px 10px !important;
  margin: 0 !important;
  border-radius: 3px;
  border: none !important;
}










/* === Global Link Style === */
a,
a:visited,
a:active {
  color: #c51c19!important;      /* Makes all links white */
  font-weight: bold;           /* Makes them bold */
  text-decoration: none;       /* Removes underline */
}

/* Optional: hover effect for better UX */
a:hover {
  color: #f9ce41 !important;   /* Light gold highlight on hover */
  text-decoration: underline;  /* Adds underline on hover */
}











/* Scoped overrides only for NPC right panel legend/table to prevent white bg from skin */
.mw-parser-output .npc-right-panel,
.mw-parser-output .npc-right-panel * {
    background-color: transparent !important;
    background: transparent !important;
}

/* Allow the template to style the legend table and its cells */
.mw-parser-output .npc-right-panel table.wikitable,
.mw-parser-output .npc-right-panel table.wikitable tr,
.mw-parser-output .npc-right-panel table.wikitable td,
.mw-parser-output .npc-right-panel table.wikitable th {
    background-color: inherit !important;
    background: inherit !important;
}

/* If you want the legend table forced to your gold color, this makes it explicit */
.mw-parser-output .npc-right-panel table.wikitable.legend-force {
    background-color: #D1A84C !important;
    color: #2C1F0F !important;
    border:2px solid #2C1F0F !important;
}
.mw-parser-output .npc-right-panel table.wikitable.legend-force tr,
.mw-parser-output .npc-right-panel table.wikitable.legend-force td {
    background-color: #D1A84C !important;
    color: #2C1F0F !important;
}



/* ********* Scoped NPC bottom-box fixes (ONLY affects .npc-bottombox) ********* */

/* Base: ensure the container has the panel color and no inner white boxes */
.mw-parser-output .npc-bottombox {
  background-color: #E0D6CC !important;
  border: 2px solid #2C1F0F !important;
  padding: 0 !important;
  margin-top: 12px !important;
}

/* Kill white backgrounds on any auto-inserted paragraphs inside only this box */
.mw-parser-output .npc-bottombox p,
.mw-parser-output .npc-bottombox p * {
  background: transparent !important;
  background-color: transparent !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Kill white backgrounds that some skins place on direct children */
.mw-parser-output .npc-bottombox > * {
  background: transparent !important;
  background-color: transparent !important;
}

/* If skin wraps elements in extra divs (Vector/Citizen/Timeless), nuke their bg here */
.mw-parser-output .npc-bottombox .mw-parser-output,
.mw-parser-output .npc-bottombox .thumb,
.mw-parser-output .npc-bottombox .box,
.mw-parser-output .npc-bottombox .mw-collapsible,
.mw-parser-output .npc-bottombox .module {
  background: transparent !important;
  background-color: transparent !important;
}

/* Force any table cells inside to display desired panel bg (cells sometimes default white) */
.mw-parser-output .npc-bottombox td,
.mw-parser-output .npc-bottombox th,
.mw-parser-output .npc-bottombox tr {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
}

/* If a skin uses pseudo-elements to paint a box, remove it inside this container */
.mw-parser-output .npc-bottombox::before,
.mw-parser-output .npc-bottombox::after,
.mw-parser-output .npc-bottombox *::before,
.mw-parser-output .npc-bottombox *::after {
  background: transparent !important;
  background-color: transparent !important;
}

/* If you want to be extra-paranoid, force any inline style backgrounds to inherit */
.mw-parser-output .npc-bottombox * {
  background: inherit !important;
  background-color: inherit !important;
}

/* Remove white BG + border ONLY from the right-column text areas */
.eqoa-detail-table,
.eqoa-detail-table td {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.right-header {
    background-color:#D1A84C !important;
    color:#2C1F0F !important;
    padding:6px !important;
    margin:0 !important;
    border:2px solid #2C1F0F !important;
}

/* Kill white background for Legend table only */
.npc-legend-table,
.npc-legend-table td,
.npc-legend-table tr {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Kill any skin-injected white background inside the legend table */
.npc-legend-table *,
.npc-legend-table td {
    background: transparent !important;
    background-color: transparent !important;
    margin: 0 !important;
    padding: 0 !important;
}
/* === NPC Legend Table Fixes === */
.npc-legend-table {
    background-color: #D1A84C !important;  /* EQOA Gold bg */
    border: 2px solid #000 !important;     /* Black border */
    border-collapse: collapse !important;
    border-spacing: 0 !important;          /* remove inner spacing */
    margin: 0 !important;
    padding: 0 !important;
}

.npc-legend-table td {
    background: transparent !important;    /* remove skin-injected bg */
    border: none !important;               /* remove inner borders */
    padding: 0 !important;                 /* remove internal padding */
}

.npc-legend-table .npc-legend-content {
    background-color: #D1A84C !important;  /* gold background */
    color: #2C1F0F !important;             /* text color */
    padding: 6px !important;               /* controlled padding inside div */
    margin: 0 !important;
}

.npc-legend-table b {
    background: transparent !important;    /* bold text bg */
}

/* remove any skin-injected pseudo-elements that may create a box */
.npc-legend-table::before,
.npc-legend-table::after,
.npc-legend-table *::before,
.npc-legend-table *::after {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}


/* Remove global table cell background interfering with spells */
.spell-col {
    background: none !important;
    padding: 0 !important;
    margin: 0;
    line-height: 1.6;
}

/* Each spell entry becomes a row */
.spell-col > div {
    padding: 4px 6px;
    border-bottom: 1px solid #1D4429;
}

/* Remove last border */
.spell-col > div:last-child {
    border-bottom: none;
}


/* Remove all backgrounds in Spell List */
.spell-row,
.spell-row * {
    background: none !important;
}

/* Spell Row Wrapper */
.spell-row {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #B6D1C1;
    padding: 1px 0;
    line-height: 16px;
}

/* Level column ΓÇô stays on one line ALWAYS */

.spell-lvl {
    width: 28px;
    text-align: center;
    font-size: 12px;
    color: #2B6E3C;
    white-space: nowrap;   /* 🔥 Fixes multi-digit levels breaking */
}

/* Spell icon */
.spell-icon {
    width: 16px;
    height: 16px;
    margin-right: 3px;
    vertical-align: middle;
}

/* Spell name text */
.spell-name {
    font-size: 12px;
    color: #1D4429;
    white-space: nowrap;   /* Keeps name on one line */
}

/* Column containers (SpellList template) */
.spell-col-box {
    border: 1px solid #1D4429;
    padding: 4px;
    background: none !important;
}