Toggle menu
9
0
4
180
sampsphere.com
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 1: Line 1:
/* Dark Mode for MediaWiki with Star Citizen Skin */
/* Common.css - Dark Theme for Star Citizen Skin */


/* Global Styles */
/* General body styling */
body {
body {
     background-color: #0a0a0a; /* Very dark gray background */
     background-color: #1B1B1B; /* Dark background */
     color: #8b0000; /* Dark red for text */
     color: #C52A2A; /* Dark red main 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 */
}
.skin-citizen-header .mw-ui-icon {
    color: #ffff00; /* Yellow for icons in header */
}
 
/* Content and Body Content */
#content, .mw-body-content {
    background-color: #0a0a0a;
    color: #8b0000;
}
 
/* Navigation */
.skin-citizen-nav {
    background-color: #0a0a0a; /* Dark background for navigation */
    color: #ff0000; /* Red text for navigation */
}
 
/* Sidebar */
.skin-citizen-sidebar {
    background-color: #0a0a0a; /* Dark background for sidebar */
    color: #ff0000; /* Red text for sidebar */
}
 
/* Footer */
#footer {
    background-color: #0a0a0a !important;
    color: #8b0000;
    border-top: 1px solid #ff0000;
}
}


/* Links */
/* Links */
a {
a {
     color: #ff0000; /* Bright red for links */
     color: #C52A2A; /* Dark red for links */
}
}
a:hover {
a:hover {
     color: #ff4500; /* Slightly orange red on hover */
     color: #FF6464; /* Lighter 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 */
/* Input boxes and text areas - WHITE BACKGROUND, BLACK TEXT */
body.high-contrast {
input[type="text"], input[type="password"], input[type="email"], input[type="url"], input[type="search"], textarea {
     background: #0a0a0a;
     background-color: #FFFFFF; /* White background for input */
     color: #8b0000;
     color: #000000; /* Black text in input */
}
    border: 1px solid #C52A2A; /* Dark red border */
body.high-contrast a {
    padding: 5px; /* Add some padding */
     color: #ff0000;
     border-radius: 4px; /* Slightly rounded corners */
}
}


/* Dark Mode System Preference */
/* Edit box specifically */
@media (prefers-color-scheme: dark) {
textarea {
     body, #content, .mw-body-content, .skin-citizen-header, .skin-citizen-nav, .skin-citizen-sidebar, #footer {
     background-color: #FFFFFF; /* White background for the edit area */
        background-color: #0a0a0a;
     color: #FFF; /* Black text in the edit area */
        color: #8b0000;
    }
    #firstHeading {
        color: #ffffff;
    }
    .skin-citizen-header {
        background-color: #ffffff;
    }
    .skin-citizen-header-title, .skin-citizen-header-nav a {
        color: #9acd32;
     }
    .skin-citizen-header .mw-ui-icon {
        color: #ffff00;
    }
    .skin-citizen-nav, .skin-citizen-sidebar {
        background-color: #0a0a0a;
        color: #ff0000;
    }
    a {
        color: #ff0000;
    }
    /* Adjust as needed for other elements */
}
}


/* Parser Profiling Data */
/* Style for buttons */
.mw-parser-output .mw-parser-profiling {
button, input[type="submit"], input[type="button"] {
     background-color: #ffffff; /* White background for profiling data */
     background-color: #C52A2A; /* Dark red background for buttons */
     color: #9acd32; /* Yellow-green text for profiling data */
     color: #FFFFFF; /* White text on buttons */
     border: 1px solid #8b0000; /* Dark red border for contrast */
     border: none; /* Remove default border */
     padding: 10px;
     padding: 8px 16px; /* Add some padding */
     margin-top: 20px;
     cursor: pointer; /* Change cursor on hover */
}
}


/* Custom Adjustments for Star Citizen Skin */
button:hover, input[type="submit"]:hover, input[type="button"]:hover {
/* These are placeholder selectors based on typical naming conventions in custom skins */
     background-color: #FF6464; /* Lighter red on hover for buttons */
.skin-citizen-content {
     background-color: #0a0a0a;
}
}


/* Ensure all headers are visible */
/* Heading styles */
h1, h2, h3, h4, h5, h6 {
h1, h2, h3, h4, h5, h6 {
     color: #8b0000;
     color: #C52A2A; /* Dark red for headings */
}
 
/* 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 */
/* Code blocks */
/* Modify sidebar background and text color */
pre, code {
.skin-citizen-sidebar {
     background-color: #333333; /* Dark background for code */
     background-color: #000000; /* Black background */
     color: #FFFFFF; /* White text in code */
     color: #ff0000; /* Red text */
    border-radius: 5px; /* Rounded corners */
    padding: 10px; /* Spacing inside code blocks */
}
}


/* If there's a different selector for sidebar links or other elements, adjust here */
/* Navigation elements */
.skin-citizen-sidebar a {
#mw-navigation {
     color: #ff0000; /* Red for links */
     background-color: #282828; /* Darker background for navigation */
}
}


/* For specific parts of the sidebar, like headings or sections */
#mw-footer {
.skin-citizen-sidebar .skin-citizen-sidebar-heading {
     background-color: #282828; /* Darker footer */
     color: #ffffff; /* White for headings if needed */
}
}

Revision as of 13:30, 20 December 2024

/* Common.css - Dark Theme for Star Citizen Skin */

/* General body styling */
body {
    background-color: #1B1B1B; /* Dark background */
    color: #C52A2A; /* Dark red main text */
}

/* Links */
a {
    color: #C52A2A; /* Dark red for links */
}

a:hover {
    color: #FF6464; /* Lighter red on hover */
}

/* Input boxes and text areas - WHITE BACKGROUND, BLACK TEXT */
input[type="text"], input[type="password"], input[type="email"], input[type="url"], input[type="search"], textarea {
    background-color: #FFFFFF; /* White background for input */
    color: #000000; /* Black text in input */
    border: 1px solid #C52A2A; /* Dark red border */
    padding: 5px; /* Add some padding */
    border-radius: 4px; /* Slightly rounded corners */
}

/* Edit box specifically */
textarea {
    background-color: #FFFFFF; /* White background for the edit area */
    color: #FFF; /* Black text in the edit area */
}

/* Style for buttons */
button, input[type="submit"], input[type="button"] {
    background-color: #C52A2A; /* Dark red background for buttons */
    color: #FFFFFF; /* White text on buttons */
    border: none; /* Remove default border */
    padding: 8px 16px; /* Add some padding */
    cursor: pointer; /* Change cursor on hover */
}

button:hover, input[type="submit"]:hover, input[type="button"]:hover {
    background-color: #FF6464; /* Lighter red on hover for buttons */
}

/* Heading styles */
h1, h2, h3, h4, h5, h6 {
    color: #C52A2A; /* Dark red for headings */
}

/* Code blocks */
pre, code {
    background-color: #333333; /* Dark background for code */
    color: #FFFFFF; /* White text in code */
    border-radius: 5px; /* Rounded corners */
    padding: 10px; /* Spacing inside code blocks */
}

/* Navigation elements */
#mw-navigation {
    background-color: #282828; /* Darker background for navigation */
}

#mw-footer {
    background-color: #282828; /* Darker footer */
}