More actions
No edit summary Tag: Reverted |
No edit summary Tag: Reverted |
||
| Line 11: | Line 11: | ||
/* Page Title */ | /* Page Title */ | ||
#firstHeading { | #firstHeading { | ||
color: #ffffff; /* White for the page title */ | color: #ffffff; /* White for the main page title */ | ||
} | |||
/* Header */ | |||
.skin-citizen-header { | |||
background-color: #ffffff; /* White background for header */ | |||
} | |||
.skin-citizen-header-title, .skin-citizen-header-nav a { | |||
color: #9acd32; /* Yellow-green text color for header elements */ | |||
} | } | ||
| Line 18: | Line 26: | ||
background-color: #0a0a0a; | background-color: #0a0a0a; | ||
color: #8b0000; | color: #8b0000; | ||
} | } | ||
| Line 91: | Line 93: | ||
#firstHeading { | #firstHeading { | ||
color: #ffffff; | color: #ffffff; | ||
} | |||
.skin-citizen-header { | |||
background-color: #ffffff; | |||
} | |||
.skin-citizen-header-title, .skin-citizen-header-nav a { | |||
color: #9acd32; | |||
} | } | ||
a { | a { | ||
| Line 96: | Line 104: | ||
} | } | ||
/* Adjust as needed for other elements */ | /* Adjust as needed for other elements */ | ||
} | |||
/* Parser Profiling Data */ | |||
.mw-parser-output .mw-parser-profiling { | |||
background-color: #ffffff; /* White background for profiling data */ | |||
color: #9acd32; /* Yellow-green text for profiling data */ | |||
border: 1px solid #8b0000; /* Dark red border for contrast */ | |||
padding: 10px; | |||
margin-top: 20px; | |||
} | } | ||
| Line 104: | Line 121: | ||
} | } | ||
/* Ensure all headers are visible */ | |||
/* Ensure all | |||
h1, h2, h3, h4, h5, h6 { | h1, h2, h3, h4, h5, h6 { | ||
color: #8b0000; | color: #8b0000; | ||
Revision as of 13:15, 20 December 2024
/* Dark Mode for MediaWiki with Star Citizen Skin */
/* Global Styles */
body {
background-color: #0a0a0a; /* Very dark gray background */
color: #8b0000; /* Dark red for text */
font-size: 16px;
line-height: 1.7;
}
/* Page Title */
#firstHeading {
color: #ffffff; /* White for the main page title */
}
/* Header */
.skin-citizen-header {
background-color: #ffffff; /* White background for header */
}
.skin-citizen-header-title, .skin-citizen-header-nav a {
color: #9acd32; /* Yellow-green text color for header elements */
}
/* Content and Body Content */
#content, .mw-body-content {
background-color: #0a0a0a;
color: #8b0000;
}
/* Navigation */
.skin-citizen-nav {
background-color: #121212; /* Dark gray for navigation */
color: #8b0000;
}
/* Sidebar */
.skin-citizen-sidebar {
background-color: #1a1a1a; /* Slightly lighter dark gray for sidebar */
color: #8b0000;
}
/* Footer */
#footer {
background-color: #0a0a0a !important;
color: #8b0000;
border-top: 1px solid #ff0000;
}
/* Links */
a {
color: #ff0000; /* Bright red for links */
}
a:hover {
color: #ff4500; /* Slightly orange red on hover */
}
a:visited {
color: #cc0000; /* Darker red for visited links */
}
/* Input Fields */
input, textarea, select {
background-color: #2b2b2b;
color: #8b0000;
border: 1px solid #ff0000;
font-size: 16px;
}
/* Buttons */
button, .mw-ui-button {
background-color: #ff0000;
color: #fff; /* White text for contrast */
border: none;
padding: 10px 20px;
cursor: pointer;
font-size: 16px;
}
/* High Contrast Mode */
body.high-contrast {
background: #0a0a0a;
color: #8b0000;
}
body.high-contrast a {
color: #ff0000;
}
/* Dark Mode System Preference */
@media (prefers-color-scheme: dark) {
body, #content, .mw-body-content, .skin-citizen-header, .skin-citizen-nav, .skin-citizen-sidebar, #footer {
background-color: #0a0a0a;
color: #8b0000;
}
#firstHeading {
color: #ffffff;
}
.skin-citizen-header {
background-color: #ffffff;
}
.skin-citizen-header-title, .skin-citizen-header-nav a {
color: #9acd32;
}
a {
color: #ff0000;
}
/* Adjust as needed for other elements */
}
/* Parser Profiling Data */
.mw-parser-output .mw-parser-profiling {
background-color: #ffffff; /* White background for profiling data */
color: #9acd32; /* Yellow-green text for profiling data */
border: 1px solid #8b0000; /* Dark red border for contrast */
padding: 10px;
margin-top: 20px;
}
/* Custom Adjustments for Star Citizen Skin */
/* These are placeholder selectors based on typical naming conventions in custom skins */
.skin-citizen-content {
background-color: #0a0a0a;
}
/* Ensure all headers are visible */
h1, h2, h3, h4, h5, h6 {
color: #8b0000;
}
/* Table Styles */
table {
background-color: #1a1a1a;
color: #8b0000;
border: 1px solid #ff0000;
}
th, td {
border: 1px solid #ff0000;
}
/* Adjust these selectors based on the actual class names used in the Star Citizen skin */