MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
 
(136 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* ============================================================
/* Version 36.1 - Restored Anisa Factory Proportions
   ANISA SKIN - DARK MODE OVERRIDES (HIGH PRIORITY)
   Goal: Original Anisa layout + KH Colors/Fonts + Readable Tabs
  ============================================================ */
*/


/* 1. FORCE SEARCH BAR VISIBILITY */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@700&family=Crimson+Pro:wght@400;700&display=swap');
/* This targets the input field specifically to ensure text is white */
 
body.dark-mode input#searchInput,
/* --- 1. GLOBAL FONTS --- */
body.dark-mode #searchform input,
body {
body.dark-mode .mw-searchInput {
     font-family: 'Crimson Pro', serif !important;
     background-color: #2d2d2d !important;
    color: #ffffff !important;
    border: 1px solid #3399ff !important;
}
}


/* Fix for the text you type in the search box */
/* --- 2. ANISA (DESKTOP) RESTORATION --- */
body.dark-mode #searchInput::placeholder {
/* We remove the forced margins/paddings here to let Anisa look "Factory" */
     color: #aaaaaa !important;
.skin-anisa #content,
.skin-anisa .mw-body {
     font-size: 16px !important;
    line-height: 1.6;
    /* We are NOT forcing margin-top or padding here anymore */
}
}


/* 2. FORCE ALERTS & NOTICES VISIBILITY */
/* Scaling up the tiny Navigation Labels to a readable "Normal" size */
/* This targets the Echo notification badges directly */
.skin-anisa .vector-menu-tabs li a,
body.dark-mode .mw-echo-notifications-badge,
.skin-anisa .vector-menu-dropdown .vector-menu-heading-label,
body.dark-mode #pt-notifications-notice .mw-echo-notifications-badge,
.skin-anisa #p-cactions .vector-menu-heading-label,
body.dark-mode #pt-notifications-alert .mw-echo-notifications-badge {
.skin-anisa .vector-menu-tabs li a span {
     filter: invert(1) brightness(1.8) !important;
     font-size: 16px !important; /* Readable, but fits the skin's design */
     background-color: transparent !important;
    font-weight: 400 !important;
     text-transform: none !important;
}
}


/* 3. FORCE VISIBLE CONTENT BORDERS */
/* Restoring the natural spacing between "Read", "Edit", etc. */
/* This targets the main content wrapper lines that surround your pages */
.skin-anisa .vector-menu-tabs li {
body.dark-mode #mw-content-block,
     margin-right: 5px !important;  
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 */
/* --- 3. COSMOS (MOBILE) PRESERVATION --- */
/* Ensures all navigation icons are visible */
/* This section ensures our mobile view doesn't change */
body.dark-mode .mw-ui-icon,
.skin-cosmos #content {
body.dark-mode .vector-icon,
    padding: 15px !important;
body.dark-mode span.mw-ui-icon {
    font-size: 15px !important;
    filter: invert(1) !important;
}
}


/* ============================================================
/* --- 4. THE SEAMLESS INFOBOX (THE "LORE" FIX) --- */
  PORTABLE INFOBOX - KH STYLE (UNCHANGED)
/* This keeps your Kingdom Hearts style intact across BOTH skins */
  ============================================================ */
.portable-infobox {
 
     background-color: #fff !important;
body.mediawiki .portable-infobox {
     border: 1px solid #a2a9b1 !important;
     background-color: #ffffff !important;
     width: 270px !important;
     border: 2px solid #003366 !important;  
     width: 320px !important;
     float: right !important;
     float: right !important;
     margin: 0 0 1em 1em !important;
     margin: 0 0 1em 1.2em !important;
     font-family: "Georgia", serif !important;
     border-collapse: collapse !important;
    border-spacing: 0 !important;
}
}


body.dark-mode .portable-infobox {
.portable-infobox .pi-title {
     background-color: #2d2d2d !important;
     background-color: #ffd700 !important;
     border-color: #3399ff !important;
    color: #000 !important;
    font-family: 'Cinzel', serif !important;
    padding: 15px 10px !important;
    font-size: 1.25em !important;
    text-align: center !important;
     border-bottom: 1px solid #a2a9b1 !important;
}
}


body.mediawiki .pi-title {
.portable-infobox .pi-header {
     background-color: #003366 !important;  
     background-color: #3e5a47 !important;
     color: #ffffff !important;
     color: #fff !important;
    font-family: 'Cinzel', serif !important;
    padding: 10px 5px !important;
     text-align: center !important;
     text-align: center !important;
    padding: 12px !important;
}
body.dark-mode .pi-title {
    background-color: #3399ff !important;
    color: #000000 !important;
}
}


body.mediawiki .pi-header {
.pi-data-label {  
     background-color: #4a4a4a !important;
     background-color: #f2f2f2 !important;  
     color: #ffffff !important;
     padding: 8px !important;  
     text-align: center !important;
     border: 1px solid #a2a9b1 !important;  
     padding: 8px 0 !important;
     font-weight: bold !important;  
    border-top: 1px solid #333 !important;
}
}


body.dark-mode .pi-header {
.pi-data-value {  
     background-color: #000000 !important;
     padding: 8px !important;  
     border-top-color: #3399ff !important;
     border-bottom: 1px solid #a2a9b1 !important;  
}
}


body.mediawiki .pi-data-label {
/* --- 5. TABLE OF CONTENTS --- */
     background-color: #f2f2f2 !important;
#toc, .toc {
     color: #333333 !important;
     background-color: #f8f9fa !important;
     border: 1px solid #a2a9b1 !important;
    padding: 8px !important;
}
}


body.dark-mode .pi-data-label {
/* Styling TabberNeue inside PortableInfobox */
     background-color: #3d3d3d !important;
.pi-image .tabber__tabs {
     color: #e0e0e0 !important;
    display: flex !important;
    justify-content: center !important;
    background: #f2f2f2 !important; /* Matches your label color */
     border-bottom: 1px solid #a2a9b1 !important;
     margin-bottom: 5px !important;
}
}


body.mediawiki .pi-data-value {
.pi-image .tabber__tab {
     background-color: #ffffff !important;
    font-family: 'Crimson Pro', serif !important;
     color: #333333 !important;
     font-size: 14px !important;
    padding: 5px 10px !important;
     cursor: pointer !important;
}
}


body.dark-mode .pi-data-value {
.pi-image .tabber__tab--active {
     background-color: #262626 !important;
     background-color: var(--kh-green) !important;
     color: #e0e0e0 !important;
     color: white !important;
    font-weight: bold !important;
}
}