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 42: | Line 42: | ||
color: #8e2631 !important; /* Adjust font color for external links */ | color: #8e2631 !important; /* Adjust font color for external links */ | ||
font-style: normal; /* Adjust font style for external links */ | font-style: normal; /* Adjust font style for external links */ | ||
text-decoration: none; /* Remove underline from external links */ | text-decoration: none; /* Remove underline from external links */ | ||
} | } | ||
| Line 123: | Line 122: | ||
#bodyContent { | #bodyContent { | ||
background: none !important; | background: none !important; | ||
} | } | ||
| Line 219: | Line 217: | ||
/* Override inner whites and borders */ | /* 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-right * , | ||
.quest-reward * , | .quest-reward * , | ||
Revision as of 07:49, 13 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: #405b74 !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: #405b74 !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: #405b74 !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("xampp\htdocs\eqoawiki\resources\assets") no-repeat center center !important;
background-size: contain !important;
width: 135px !important; /* Adjust for your logo width */
height: 155px !important; /* Adjust for your logo height */
margin: 0 auto !important;
padding: 0 !important;
text-indent: -9999px; /* Hide text label */
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: #405b74 !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;
}