More actions
No edit summary Tag: Reverted |
No edit summary Tag: Reverted |
||
Line 1: | Line 1: | ||
/* Dark Mode for MediaWiki | /* Dark Mode for MediaWiki with Star Citizen Skin */ | ||
/* | /* Global Styles */ | ||
body { | body { | ||
background-color: #0a0a0a; /* Very dark gray | background-color: #0a0a0a; /* Very dark gray background */ | ||
color: #8b0000; /* Dark red text | color: #8b0000; /* Dark red for text */ | ||
font-size: 16px; | font-size: 16px; | ||
line-height: 1.7; | line-height: 1.7; | ||
} | } | ||
/* Content | /* Page Title */ | ||
#content, | #firstHeading { | ||
color: #ffffff; /* White for the page title */ | |||
} | |||
/* Content and Body Content */ | |||
#content, .mw-body-content { | |||
background-color: #0a0a0a; | background-color: #0a0a0a; | ||
color: #8b0000; | color: #8b0000; | ||
} | } | ||
/* | /* Specific Star Citizen Skin Elements */ | ||
/* Assuming elements like .skin-citizen-header for header, adjust as needed */ | |||
background-color: # | .skin-citizen-header { | ||
background-color: #000; /* Black for header */ | |||
} | } | ||
/* | /* Navigation */ | ||
.skin-citizen-nav { | |||
background-color: # | background-color: #121212; /* Dark gray for navigation */ | ||
color: #8b0000; | |||
} | } | ||
/* | /* Sidebar */ | ||
.skin-citizen-sidebar { | |||
background-color: # | background-color: #1a1a1a; /* Slightly lighter dark gray for sidebar */ | ||
color: #8b0000; | color: #8b0000; | ||
} | } | ||
Line 37: | Line 43: | ||
color: #8b0000; | color: #8b0000; | ||
border-top: 1px solid #ff0000; | border-top: 1px solid #ff0000; | ||
} | } | ||
Line 55: | Line 56: | ||
} | } | ||
/* Input | /* Input Fields */ | ||
input, textarea, select { | input, textarea, select { | ||
background-color: #2b2b2b; | background-color: #2b2b2b; | ||
color: #8b0000; | color: #8b0000; | ||
border: 1px solid #ff0000; | border: 1px solid #ff0000; | ||
font-size: 16px; | font-size: 16px; | ||
} | } | ||
/* Buttons */ | /* Buttons */ | ||
button { | button, .mw-ui-button { | ||
background-color: #ff0000; | background-color: #ff0000; | ||
color: #fff; /* | color: #fff; /* White text for contrast */ | ||
border: none; | border: none; | ||
padding: 10px 20px; | padding: 10px 20px; | ||
cursor: pointer; | cursor: pointer; | ||
font-size: 16px; | font-size: 16px; | ||
} | } | ||
/* High | /* High Contrast Mode */ | ||
body.high-contrast { | body.high-contrast { | ||
background: #0a0a0a; | background: #0a0a0a; | ||
Line 79: | Line 80: | ||
} | } | ||
body.high-contrast a { | body.high-contrast a { | ||
color: #ff0000; | color: #ff0000; | ||
} | } | ||
/* | /* Dark Mode System Preference */ | ||
@media (prefers-color-scheme: dark) { | @media (prefers-color-scheme: dark) { | ||
body, #content, | body, #content, .mw-body-content, .skin-citizen-header, .skin-citizen-nav, .skin-citizen-sidebar, #footer { | ||
background-color: #0a0a0a; | background-color: #0a0a0a; | ||
color: #8b0000; | color: #8b0000; | ||
} | |||
#firstHeading { | |||
color: #ffffff; | |||
} | } | ||
a { | a { | ||
color: #ff0000; | 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 */ |
Revision as of 13:11, 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 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 */