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 147: Line 147:


/* Adjust these selectors based on the actual class names used in the Star Citizen skin */
/* Adjust these selectors based on the actual class names used in the Star Citizen skin */
/* Modify sidebar background and text color */
.skin-citizen-sidebar {
    background-color: #000000; /* Black background */
    color: #ff0000; /* Red text */
}
/* If there's a different selector for sidebar links or other elements, adjust here */
.skin-citizen-sidebar a {
    color: #ff0000; /* Red for links */
}
/* For specific parts of the sidebar, like headings or sections */
.skin-citizen-sidebar .skin-citizen-sidebar-heading {
    color: #ffffff; /* White for headings if needed */
}

Revision as of 13:20, 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 */
}
.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 */
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;
    }
    .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 */
.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 */
/* Modify sidebar background and text color */
.skin-citizen-sidebar {
    background-color: #000000; /* Black background */
    color: #ff0000; /* Red text */
}

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

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