MediaWiki:Common.css: Difference between revisions

From Lenn's Fun Stuff

No edit summary
No edit summary
Line 1: Line 1:
/* ============================================================
/* ============================================================
   ANISA SKIN - DARK MODE OVERRIDES (HIGH PRIORITY)
   ANISA SKIN - TOTAL DARK MODE OVERHAUL
   ============================================================ */
   ============================================================ */


/* 1. FORCE SEARCH BAR VISIBILITY */
/* 1. THE "LINES" (Skeletion Visibility) */
/* This targets the input field specifically to ensure text is white */
/* This targets every possible container Anisa uses to create those page boxes */
body.dark-mode #mw-content-block,
body.dark-mode #content,
body.dark-mode .mw-body,
body.dark-mode .anisa-post,
body.dark-mode .anisa-page-content,
body.dark-mode .anisa-main-container,
body.dark-mode #mw-wrapper {
    background-color: #121212 !important;
    color: #e0e0e0 !important;
    /* Force the "Kingdom Hearts Blue" on every border line */
    border: 1px solid #3399ff !important;
    box-shadow: none !important;
}
 
/* 2. SEARCH BAR FIX (Aggressive) */
/* This targets the input by its type and ID to force white text */
body.dark-mode input#searchInput,
body.dark-mode input#searchInput,
body.dark-mode #searchform input,
body.dark-mode input[type="search"],
body.dark-mode .mw-searchInput {
body.dark-mode .mw-searchInput,
     background-color: #2d2d2d !important;
body.dark-mode #searchform input {
     background-color: #262626 !important;
     color: #ffffff !important;
     color: #ffffff !important;
     border: 1px solid #3399ff !important;
     border: 1px solid #3399ff !important;
    -webkit-text-fill-color: #ffffff !important; /* Forces mobile/webkit browsers to comply */
}
}


/* Fix for the text you type in the search box */
/* 3. ALERTS & NOTICES (The Icons) */
body.dark-mode #searchInput::placeholder {
/* We target the list items and the links inside them */
     color: #aaaaaa !important;
body.dark-mode #pt-notifications-alert,
body.dark-mode #pt-notifications-notice,
body.dark-mode .mw-echo-notifications-badge {
     filter: invert(1) brightness(2) !important;
}
}


/* 2. FORCE ALERTS & NOTICES VISIBILITY */
/* 4. GENERAL UI ICONS */
/* This targets the Echo notification badges directly */
body.dark-mode .mw-ui-icon,
body.dark-mode .mw-echo-notifications-badge,
body.dark-mode .vector-icon,
body.dark-mode #pt-notifications-notice .mw-echo-notifications-badge,
body.dark-mode .anisa-sidebar-icon {
body.dark-mode #pt-notifications-alert .mw-echo-notifications-badge {
     filter: invert(1) brightness(1.5) !important;
     filter: invert(1) brightness(1.8) !important;
    background-color: transparent !important;
}
 
/* 3. FORCE VISIBLE CONTENT BORDERS */
/* This targets the main content wrapper lines that surround your pages */
body.dark-mode #mw-content-block,
body.dark-mode #content,
body.dark-mode .mw-body,
body.dark-mode .anisa-post,
body.dark-mode .anisa-main-container {
    border: 1px solid #555555 !important;
}
}


/* 4. REPAIRING ICONS */
/* 5. LINKS & HEADERS */
/* Ensures all navigation icons are visible */
body.dark-mode a { color: #3399ff !important; }
body.dark-mode .mw-ui-icon,
body.dark-mode h1, body.dark-mode h2, body.dark-mode h3 {
body.dark-mode .vector-icon,
     color: #3399ff !important;
body.dark-mode span.mw-ui-icon {
    border-bottom: 2px solid #3399ff !important;
     filter: invert(1) !important;
}
}


/* ============================================================
/* ============================================================
   PORTABLE INFOBOX - KH STYLE (UNCHANGED)
   PORTABLE INFOBOX - KH STYLE
   ============================================================ */
   ============================================================ */


Line 55: Line 63:
     float: right !important;
     float: right !important;
     margin: 0 0 1em 1em !important;
     margin: 0 0 1em 1em !important;
    font-family: "Georgia", serif !important;
}
}


body.dark-mode .portable-infobox {
body.dark-mode .portable-infobox {
     background-color: #2d2d2d !important;
     background-color: #222222 !important;
     border-color: #3399ff !important;
     border-color: #3399ff !important;
}
}
Line 67: Line 74:
     color: #ffffff !important;
     color: #ffffff !important;
     text-align: center !important;
     text-align: center !important;
     padding: 12px !important;
     padding: 10px !important;
}
}


Line 79: Line 86:
     color: #ffffff !important;
     color: #ffffff !important;
     text-align: center !important;
     text-align: center !important;
     padding: 8px 0 !important;
     padding: 5px 0 !important;
    border-top: 1px solid #333 !important;
}
}


body.dark-mode .pi-header {
body.dark-mode .pi-header {
     background-color: #000000 !important;
     background-color: #000000 !important;
    border-top-color: #3399ff !important;
}
body.mediawiki .pi-data-label {
    background-color: #f2f2f2 !important;
    color: #333333 !important;
}
}


body.dark-mode .pi-data-label {
body.dark-mode .pi-data-label {
     background-color: #3d3d3d !important;
     background-color: #333333 !important;
     color: #e0e0e0 !important;
     color: #e0e0e0 !important;
}
body.mediawiki .pi-data-value {
    background-color: #ffffff !important;
    color: #333333 !important;
}
}


body.dark-mode .pi-data-value {
body.dark-mode .pi-data-value {
     background-color: #262626 !important;
     background-color: #1a1a1a !important;
     color: #e0e0e0 !important;
     color: #e0e0e0 !important;
}
}

Revision as of 00:24, 12 March 2026

/* ============================================================
   ANISA SKIN - TOTAL DARK MODE OVERHAUL
   ============================================================ */

/* 1. THE "LINES" (Skeletion Visibility) */
/* This targets every possible container Anisa uses to create those page boxes */
body.dark-mode #mw-content-block,
body.dark-mode #content,
body.dark-mode .mw-body,
body.dark-mode .anisa-post,
body.dark-mode .anisa-page-content,
body.dark-mode .anisa-main-container,
body.dark-mode #mw-wrapper {
    background-color: #121212 !important;
    color: #e0e0e0 !important;
    /* Force the "Kingdom Hearts Blue" on every border line */
    border: 1px solid #3399ff !important; 
    box-shadow: none !important;
}

/* 2. SEARCH BAR FIX (Aggressive) */
/* This targets the input by its type and ID to force white text */
body.dark-mode input#searchInput,
body.dark-mode input[type="search"],
body.dark-mode .mw-searchInput,
body.dark-mode #searchform input {
    background-color: #262626 !important;
    color: #ffffff !important;
    border: 1px solid #3399ff !important;
    -webkit-text-fill-color: #ffffff !important; /* Forces mobile/webkit browsers to comply */
}

/* 3. ALERTS & NOTICES (The Icons) */
/* We target the list items and the links inside them */
body.dark-mode #pt-notifications-alert,
body.dark-mode #pt-notifications-notice,
body.dark-mode .mw-echo-notifications-badge {
    filter: invert(1) brightness(2) !important;
}

/* 4. GENERAL UI ICONS */
body.dark-mode .mw-ui-icon,
body.dark-mode .vector-icon,
body.dark-mode .anisa-sidebar-icon {
    filter: invert(1) brightness(1.5) !important;
}

/* 5. LINKS & HEADERS */
body.dark-mode a { color: #3399ff !important; }
body.dark-mode h1, body.dark-mode h2, body.dark-mode h3 {
    color: #3399ff !important;
    border-bottom: 2px solid #3399ff !important;
}

/* ============================================================
   PORTABLE INFOBOX - KH STYLE
   ============================================================ */

body.mediawiki .portable-infobox {
    background-color: #ffffff !important;
    border: 2px solid #003366 !important; 
    width: 320px !important;
    float: right !important;
    margin: 0 0 1em 1em !important;
}

body.dark-mode .portable-infobox {
    background-color: #222222 !important;
    border-color: #3399ff !important;
}

body.mediawiki .pi-title {
    background-color: #003366 !important; 
    color: #ffffff !important;
    text-align: center !important;
    padding: 10px !important;
}

body.dark-mode .pi-title {
    background-color: #3399ff !important;
    color: #000000 !important;
}

body.mediawiki .pi-header {
    background-color: #4a4a4a !important;
    color: #ffffff !important;
    text-align: center !important;
    padding: 5px 0 !important;
}

body.dark-mode .pi-header {
    background-color: #000000 !important;
}

body.dark-mode .pi-data-label {
    background-color: #333333 !important;
    color: #e0e0e0 !important;
}

body.dark-mode .pi-data-value {
    background-color: #1a1a1a !important;
    color: #e0e0e0 !important;
}