|
Tags: Blanking Manual revert |
(12 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
| /* 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 page title */
| |
| }
| |
|
| |
| /* Content and Body Content */
| |
| #content, .mw-body-content {
| |
| background-color: #0a0a0a;
| |
| color: #8b0000;
| |
| }
| |
|
| |
| /* Specific Star Citizen Skin Elements */
| |
| /* Assuming elements like .skin-citizen-header for header, adjust as needed */
| |
| .skin-citizen-header {
| |
| background-color: #000; /* Black for header */
| |
| }
| |
|
| |
| /* 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;
| |
| }
| |
| a {
| |
| color: #ff0000;
| |
| }
| |
| /* Adjust as needed for other elements */
| |
| }
| |
|
| |
| /* Custom Adjustments for Star Citizen Skin */
| |
| /* These are placeholder selectors based on typical naming conventions in custom skins */
| |
| .skin-citizen-content {
| |
| background-color: #0a0a0a;
| |
| }
| |
|
| |
| .skin-citizen-header-title {
| |
| color: #ffffff; /* White for header titles */
| |
| }
| |
|
| |
| .skin-citizen-search input {
| |
| background-color: #2b2b2b;
| |
| color: #8b0000;
| |
| border: 1px solid #ff0000;
| |
| }
| |
|
| |
| /* Ensure all text elements 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 */
| |