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 (FIXED VISIBILITY)
   ANISA SKIN - ULTIMATE DARK MODE PATCH
   ============================================================ */
   ============================================================ */


/* 1. Global Dark Mode Body & Backgrounds */
/* 1. Global Backgrounds & Structural Lines */
body.dark-mode,  
body.dark-mode,  
body.dark-mode #mw-content-block,  
body.dark-mode #mw-content-block,  
Line 15: Line 15:
}
}


/* 2. Anisa Content Cards & Text */
/* Fix: Make the lines surrounding page content visible (Light Grey) */
body.dark-mode .anisa-post,  
body.dark-mode .anisa-post,  
body.dark-mode .card,
body.dark-mode .card,
body.dark-mode .mw-parser-output,
body.dark-mode .mw-parser-output,
body.dark-mode #bodyContent {
body.dark-mode #content {
     background-color: #1e1e1e !important;
    border: 1px solid #444444 !important;
     color: #e0e0e0 !important;
}
     border: 1px solid #444444 !important; /* Visible borders */
 
/* 2. Fix: Alerts & Notices Buttons */
/* Targets the Echo extension icons (Bell and Tray) */
body.dark-mode .mw-echo-notifications-badge,
body.dark-mode .mw-echo-notification-badge-nojs {
    filter: invert(1) brightness(1.5) !important;
}
 
/* 3. Fix: Search Bar Visibility */
/* Ensures text typed into the search bar is white and the background is dark grey */
body.dark-mode input#searchInput,
body.dark-mode .mw-searchInput,
body.dark-mode .vector-search-box-input {
     background-color: #2d2d2d !important;
     color: #ffffff !important;
     border: 1px solid #3399ff !important;
}
 
/* Fix for the dropdown search results */
body.dark-mode .suggestions,
body.dark-mode .suggestions-results,
body.dark-mode .suggestions-special {
    background-color: #2d2d2d !important;
    color: #ffffff !important;
    border: 1px solid #444 !important;
}
}


/* 3. ICON & UI VISIBILITY FIXES */
/* 4. Icon & UI Navigation Fixes */
/* This forces dark icons to turn white/light grey */
body.dark-mode .mw-ui-icon,
body.dark-mode .mw-ui-icon,
body.dark-mode .vector-icon,
body.dark-mode .vector-icon,
body.dark-mode .anisa-sidebar-icon,
body.dark-mode .anisa-sidebar-icon,
body.dark-mode .oo-ui-iconElement-icon {
body.dark-mode .oo-ui-iconElement-icon {
     filter: invert(1) brightness(0.8) !important;
     filter: invert(1) brightness(0.9) !important;
}
}


/* Brighten up navigation lines and separators */
/* 5. Kingdom Hearts Headers and Links */
body.dark-mode #mw-head,
body.dark-mode #mw-panel,
body.dark-mode .mw-body-content,
body.dark-mode hr {
    border-color: #444444 !important;
}
 
/* 4. Headers and Links */
body.dark-mode h1, body.dark-mode h2, body.dark-mode h3,  
body.dark-mode h1, body.dark-mode h2, body.dark-mode h3,  
body.dark-mode h4, body.dark-mode h5, body.dark-mode h6 {
body.dark-mode h4, body.dark-mode h5, body.dark-mode h6 {
     color: #3399ff !important;
     color: #3399ff !important;
     border-bottom: 1px solid #3399ff !important; /* Visible Underlines */
     border-bottom: 1px solid #3399ff !important;
}
 
body.dark-mode a {
    color: #3399ff !important;
}
}


body.dark-mode a:visited {
body.dark-mode a { color: #3399ff !important; }
    color: #bb86fc !important;
body.dark-mode a:visited { color: #bb86fc !important; }
}


/* ============================================================
/* ============================================================
Line 61: Line 71:
   ============================================================ */
   ============================================================ */


/* Main Container */
body.mediawiki .portable-infobox {
body.mediawiki .portable-infobox {
     background-color: #ffffff !important;
     background-color: #ffffff !important;
Line 75: Line 84:
}
}


/* Dark Mode Infobox Adjustment */
body.dark-mode .portable-infobox {
body.dark-mode .portable-infobox {
     background-color: #2d2d2d !important;
     background-color: #2d2d2d !important;
     border-color: #3399ff !important;
     border-color: #3399ff !important;
     box-shadow: 0 0 10px rgba(51, 153, 255, 0.3) !important;
     box-shadow: 0 0 12px rgba(51, 153, 255, 0.4) !important;
}
}


/* 1. THE TITLE */
body.mediawiki .pi-title {
body.mediawiki .pi-title {
     background-color: #003366 !important;  
     background-color: #003366 !important;  
Line 98: Line 105:
}
}


/* 2. SECTION HEADERS */
body.mediawiki .pi-header {
body.mediawiki .pi-header {
     background-color: #4a4a4a !important;
     background-color: #4a4a4a !important;
Line 117: Line 123:
}
}


/* 3. IMAGE AREA */
body.mediawiki .pi-image {
body.mediawiki .pi-image {
     display: block !important;
     display: block !important;
Line 125: Line 130:
}
}


body.dark-mode .pi-image {
body.dark-mode .pi-image { background-color: #121212 !important; }
    background-color: #121212 !important;
}


body.mediawiki .pi-image img {
    max-width: 100% !important;
    height: auto !important;
}
/* 4. DATA LABELS & VALUES */
body.mediawiki .pi-data-label {
body.mediawiki .pi-data-label {
     background-color: #f2f2f2 !important;
     background-color: #f2f2f2 !important;
Line 156: Line 153:
     background-color: #262626 !important;
     background-color: #262626 !important;
     color: #e0e0e0 !important;
     color: #e0e0e0 !important;
}
/* 5. LISTS */
body.mediawiki .pi-data-value ul {
    margin: 0 !important;
    padding-left: 1.5em !important;
}
}

Revision as of 00:21, 12 March 2026

/* ============================================================
   ANISA SKIN - ULTIMATE DARK MODE PATCH
   ============================================================ */

/* 1. Global Backgrounds & Structural Lines */
body.dark-mode, 
body.dark-mode #mw-content-block, 
body.dark-mode #content,
body.dark-mode .mw-body,
body.dark-mode .anisa-main-container,
body.dark-mode .anisa-sidebar {
    background-color: #121212 !important;
    color: #e0e0e0 !important;
    background-image: none !important;
}

/* Fix: Make the lines surrounding page content visible (Light Grey) */
body.dark-mode .anisa-post, 
body.dark-mode .card,
body.dark-mode .mw-parser-output,
body.dark-mode #content {
    border: 1px solid #444444 !important;
}

/* 2. Fix: Alerts & Notices Buttons */
/* Targets the Echo extension icons (Bell and Tray) */
body.dark-mode .mw-echo-notifications-badge,
body.dark-mode .mw-echo-notification-badge-nojs {
    filter: invert(1) brightness(1.5) !important;
}

/* 3. Fix: Search Bar Visibility */
/* Ensures text typed into the search bar is white and the background is dark grey */
body.dark-mode input#searchInput,
body.dark-mode .mw-searchInput,
body.dark-mode .vector-search-box-input {
    background-color: #2d2d2d !important;
    color: #ffffff !important;
    border: 1px solid #3399ff !important;
}

/* Fix for the dropdown search results */
body.dark-mode .suggestions,
body.dark-mode .suggestions-results,
body.dark-mode .suggestions-special {
    background-color: #2d2d2d !important;
    color: #ffffff !important;
    border: 1px solid #444 !important;
}

/* 4. Icon & UI Navigation Fixes */
body.dark-mode .mw-ui-icon,
body.dark-mode .vector-icon,
body.dark-mode .anisa-sidebar-icon,
body.dark-mode .oo-ui-iconElement-icon {
    filter: invert(1) brightness(0.9) !important;
}

/* 5. Kingdom Hearts Headers and Links */
body.dark-mode h1, body.dark-mode h2, body.dark-mode h3, 
body.dark-mode h4, body.dark-mode h5, body.dark-mode h6 {
    color: #3399ff !important;
    border-bottom: 1px solid #3399ff !important;
}

body.dark-mode a { color: #3399ff !important; }
body.dark-mode a:visited { color: #bb86fc !important; }

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

body.mediawiki .portable-infobox {
    background-color: #ffffff !important;
    border: 2px solid #003366 !important; 
    width: 320px !important;
    float: right !important;
    clear: right !important;
    margin: 0 0 1em 1em !important;
    padding: 0 !important;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.15) !important;
    font-family: "Georgia", serif !important;
    overflow: hidden !important;
}

body.dark-mode .portable-infobox {
    background-color: #2d2d2d !important;
    border-color: #3399ff !important;
    box-shadow: 0 0 12px rgba(51, 153, 255, 0.4) !important;
}

body.mediawiki .pi-title {
    background-color: #003366 !important; 
    color: #ffffff !important;
    font-size: 20px !important; 
    font-weight: bold !important;
    text-align: center !important;
    padding: 12px !important;
    display: block !important;
}

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

body.mediawiki .pi-header {
    background-color: #4a4a4a !important;
    color: #ffffff !important;
    font-weight: bold !important;
    text-align: center !important;
    padding: 8px 0 !important;
    text-transform: uppercase !important;
    font-size: 11px !important;
    letter-spacing: 1.5px !important;
    border-top: 1px solid #333 !important;
    display: block !important;
}

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

body.mediawiki .pi-image {
    display: block !important;
    background-color: #f8f9fa !important; 
    text-align: center !important;
    padding: 10px !important;
}

body.dark-mode .pi-image { background-color: #121212 !important; }

body.mediawiki .pi-data-label {
    background-color: #f2f2f2 !important;
    color: #333333 !important;
    font-weight: bold !important;
    padding: 8px 10px !important;
}

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

body.mediawiki .pi-data-value {
    background-color: #ffffff !important;
    color: #333333 !important;
    padding: 8px 10px !important;
}

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