MediaWiki:Common.css: Difference between revisions

From Lenn's Fun Stuff

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


/* 1. Global Backgrounds & Structural Lines */
/* 1. FORCE SEARCH BAR VISIBILITY */
body.dark-mode,
/* This targets the input field specifically to ensure text is white */
body.dark-mode #mw-content-block,  
body.dark-mode input#searchInput,
body.dark-mode #content,
body.dark-mode #searchform input,
body.dark-mode .mw-body,
body.dark-mode .mw-searchInput {
body.dark-mode .anisa-main-container,
     background-color: #2d2d2d !important;
body.dark-mode .anisa-sidebar {
     color: #ffffff !important;
     background-color: #121212 !important;
     border: 1px solid #3399ff !important;
     color: #e0e0e0 !important;
     background-image: none !important;
}
}


/* Fix: Make the lines surrounding page content visible (Light Grey) */
/* Fix for the text you type in the search box */
body.dark-mode .anisa-post,
body.dark-mode #searchInput::placeholder {
body.dark-mode .card,
     color: #aaaaaa !important;
body.dark-mode .mw-parser-output,
body.dark-mode #content {
     border: 1px solid #444444 !important;
}
}


/* 2. Fix: Alerts & Notices Buttons */
/* 2. FORCE ALERTS & NOTICES VISIBILITY */
/* Targets the Echo extension icons (Bell and Tray) */
/* This targets the Echo notification badges directly */
body.dark-mode .mw-echo-notifications-badge,
body.dark-mode .mw-echo-notifications-badge,
body.dark-mode .mw-echo-notification-badge-nojs {
body.dark-mode #pt-notifications-notice .mw-echo-notifications-badge,
     filter: invert(1) brightness(1.5) !important;
body.dark-mode #pt-notifications-alert .mw-echo-notifications-badge {
     filter: invert(1) brightness(1.8) !important;
    background-color: transparent !important;
}
}


/* 3. Fix: Search Bar Visibility */
/* 3. FORCE VISIBLE CONTENT BORDERS */
/* Ensures text typed into the search bar is white and the background is dark grey */
/* This targets the main content wrapper lines that surround your pages */
body.dark-mode input#searchInput,
body.dark-mode #mw-content-block,
body.dark-mode .mw-searchInput,
body.dark-mode #content,
body.dark-mode .vector-search-box-input {
body.dark-mode .mw-body,
    background-color: #2d2d2d !important;
body.dark-mode .anisa-post,
    color: #ffffff !important;
body.dark-mode .anisa-main-container {
    border: 1px solid #3399ff !important;
     border: 1px solid #555555 !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 */
/* 4. REPAIRING ICONS */
/* Ensures all navigation icons are visible */
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 span.mw-ui-icon {
body.dark-mode .oo-ui-iconElement-icon {
     filter: invert(1) !important;
     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)
   PORTABLE INFOBOX - KH STYLE (UNCHANGED)
   ============================================================ */
   ============================================================ */


Line 76: Line 54:
     width: 320px !important;
     width: 320px !important;
     float: right !important;
     float: right !important;
    clear: right !important;
     margin: 0 0 1em 1em !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;
     font-family: "Georgia", serif !important;
    overflow: hidden !important;
}
}


Line 87: Line 61:
     background-color: #2d2d2d !important;
     background-color: #2d2d2d !important;
     border-color: #3399ff !important;
     border-color: #3399ff !important;
    box-shadow: 0 0 12px rgba(51, 153, 255, 0.4) !important;
}
}


Line 93: Line 66:
     background-color: #003366 !important;  
     background-color: #003366 !important;  
     color: #ffffff !important;
     color: #ffffff !important;
    font-size: 20px !important;
    font-weight: bold !important;
     text-align: center !important;
     text-align: center !important;
     padding: 12px !important;
     padding: 12px !important;
    display: block !important;
}
}


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


Line 122: Line 87:
     border-top-color: #3399ff !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 {
body.mediawiki .pi-data-label {
     background-color: #f2f2f2 !important;
     background-color: #f2f2f2 !important;
     color: #333333 !important;
     color: #333333 !important;
    font-weight: bold !important;
    padding: 8px 10px !important;
}
}


Line 147: Line 101:
     background-color: #ffffff !important;
     background-color: #ffffff !important;
     color: #333333 !important;
     color: #333333 !important;
    padding: 8px 10px !important;
}
}



Revision as of 00:22, 12 March 2026

/* ============================================================
   ANISA SKIN - DARK MODE OVERRIDES (HIGH PRIORITY)
   ============================================================ */

/* 1. FORCE SEARCH BAR VISIBILITY */
/* This targets the input field specifically to ensure text is white */
body.dark-mode input#searchInput,
body.dark-mode #searchform input,
body.dark-mode .mw-searchInput {
    background-color: #2d2d2d !important;
    color: #ffffff !important;
    border: 1px solid #3399ff !important;
}

/* Fix for the text you type in the search box */
body.dark-mode #searchInput::placeholder {
    color: #aaaaaa !important;
}

/* 2. FORCE ALERTS & NOTICES VISIBILITY */
/* This targets the Echo notification badges directly */
body.dark-mode .mw-echo-notifications-badge,
body.dark-mode #pt-notifications-notice .mw-echo-notifications-badge,
body.dark-mode #pt-notifications-alert .mw-echo-notifications-badge {
    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 */
/* Ensures all navigation icons are visible */
body.dark-mode .mw-ui-icon,
body.dark-mode .vector-icon,
body.dark-mode span.mw-ui-icon {
    filter: invert(1) !important;
}

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

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;
    font-family: "Georgia", serif !important;
}

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

body.mediawiki .pi-title {
    background-color: #003366 !important; 
    color: #ffffff !important;
    text-align: center !important;
    padding: 12px !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: 8px 0 !important;
    border-top: 1px solid #333 !important;
}

body.dark-mode .pi-header {
    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 {
    background-color: #3d3d3d !important;
    color: #e0e0e0 !important;
}

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

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