MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
 
(78 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* ============================================================
/* Version 36.1 - Restored Anisa Factory Proportions
   KH LEAF THEME - ANISA SKIN SPECIALIZED VERSION
   Goal: Original Anisa layout + KH Colors/Fonts + Readable Tabs
  ============================================================ */
*/


/* 1. GLOBAL BACKGROUND */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@700&family=Crimson+Pro:wght@400;700&display=swap');
html, body {
    background-image: url("http://localhost/wiki/images/a/a4/WIKI_BACKGROUND.jpeg") !important;
    background-color: #f0f0f0 !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
    background-position: center center !important;
    background-size: cover !important;
}


/* 2. ANISA SIDEBAR & WIKI NAME BACKING */
/* --- 1. GLOBAL FONTS --- */
/* Targets the specific drawer and site-branding classes in Anisa */
body {
.anisa-sidebar,
     font-family: 'Crimson Pro', serif !important;
.anisa-drawer,
#mw-navigation,
.site-branding,
.anisa-logo-container {
     background-color: rgba(255, 255, 255, 0.9) !important;
    border-right: 3px solid #3e5a47 !important;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1) !important;
}
}


/* Fixes the Wiki Name / Site Title specifically */
/* --- 2. ANISA (DESKTOP) RESTORATION --- */
.site-branding a, .anisa-wiki-title {
/* We remove the forced margins/paddings here to let Anisa look "Factory" */
    color: #3e5a47 !important;
.skin-anisa #content,  
     font-weight: bold !important;
.skin-anisa .mw-body {
     font-family: "Georgia", serif !important;
     font-size: 16px !important;
     padding: 5px 10px !important;
     line-height: 1.6;
     /* We are NOT forcing margin-top or padding here anymore */
}
}


/* 3. TOP RIGHT UI (Username & Alerts) - The "Pill" */
/* Scaling up the tiny Navigation Labels to a readable "Normal" size */
.anisa-user-menu,  
.skin-anisa .vector-menu-tabs li a,
.vector-user-links,  
.skin-anisa .vector-menu-dropdown .vector-menu-heading-label,
#p-personal,
.skin-anisa #p-cactions .vector-menu-heading-label,
.user-tools {
.skin-anisa .vector-menu-tabs li a span {
    background-color: rgba(255, 255, 255, 0.9) !important;
     font-size: 16px !important; /* Readable, but fits the skin's design */
    padding: 8px 15px !important;
     font-weight: 400 !important;
    border-bottom: 2px solid #3e5a47 !important;
     text-transform: none !important;
     border-left: 2px solid #3e5a47 !important;
     border-bottom-left-radius: 12px !important;
     box-shadow: -2px 2px 5px rgba(0,0,0,0.1) !important;
}
}


/* 4. CONTENT AREA FIX */
/* Restoring the natural spacing between "Read", "Edit", etc. */
#content, .mw-body {
.skin-anisa .vector-menu-tabs li {
     background-color: rgba(255, 255, 255, 0.95) !important;
     margin-right: 5px !important;  
    border: 1px solid #3e5a47 !important;
    border-radius: 5px !important;
    padding: 20px !important;
}
}


/* 5. THE CLEAN FOOTER BACKING (Credits & Last Edited) */
/* --- 3. COSMOS (MOBILE) PRESERVATION --- */
#footer, .mw-footer, .anisa-footer {
/* This section ensures our mobile view doesn't change */
    background-color: rgba(255, 255, 255, 0.9) !important;
.skin-cosmos #content {
    border-top: 3px solid #3e5a47 !important;
     padding: 15px !important;
    margin-top: 20px !important;
     font-size: 15px !important;
     padding: 20px !important;
    color: #2d4234 !important;
    font-family: "Georgia", serif !important;
     font-size: 11px !important;
    text-align: center !important;
}
}


/* 6. INFOBOX (Yellow & Green) */
/* --- 4. THE SEAMLESS INFOBOX (THE "LORE" FIX) --- */
/* This keeps your Kingdom Hearts style intact across BOTH skins */
.portable-infobox {
.portable-infobox {
     background-color: #ffffff !important;
     background-color: #fff !important;
     border: 2px solid #3e5a47 !important;  
     border: 1px solid #a2a9b1 !important;
    width: 270px !important;
    float: right !important;
    margin: 0 0 1em 1.2em !important;
    border-collapse: collapse !important;
    border-spacing: 0 !important;
}
}
.portable-infobox .pi-title {
.portable-infobox .pi-title {
     background-color: #ffd700 !important;  
     background-color: #ffd700 !important;
     color: #2d4234 !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;
}
}
.portable-infobox .pi-header {
.portable-infobox .pi-header {
     background-color: #3e5a47 !important;  
     background-color: #3e5a47 !important;
     color: #ffffff !important;
     color: #fff !important;
    font-family: 'Cinzel', serif !important;
    padding: 10px 5px !important;
    text-align: center !important;
}
}


/* 7. SEARCH BAR (Anisa Specific) */
.pi-data-label {  
.anisa-search-container, #p-search {
     background-color: #f2f2f2 !important;  
     background: #ffffff !important;
     padding: 8px !important;  
     border: 1px solid #3e5a47 !important;
     border: 1px solid #a2a9b1 !important;  
     border-radius: 4px !important;
     font-weight: bold !important;  
     margin-top: -5px !important;
}
}


/* 8. LEAF DECORATIONS */
.pi-data-value {
.mw-parser-output h2::before { content: "\1F343  " !important; }
    padding: 8px !important;
.mw-parser-output::after {
    border-bottom: 1px solid #a2a9b1 !important;
     content: "🍃\A END OF ENTRY";
}
     white-space: pre !important;
 
     display: block !important;
/* --- 5. TABLE OF CONTENTS --- */
     text-align: center !important;
#toc, .toc {
     margin: 40px 0 !important;
    background-color: #f8f9fa !important;
     color: #3e5a47 !important;
    border: 1px solid #a2a9b1 !important;
    padding: 8px !important;
}
 
/* Styling TabberNeue inside PortableInfobox */
.pi-image .tabber__tabs {
    display: flex !important;
    justify-content: center !important;
    background: #f2f2f2 !important; /* Matches your label color */
    border-bottom: 1px solid #a2a9b1 !important;
    margin-bottom: 5px !important;
}
 
.pi-image .tabber__tab {
     font-family: 'Crimson Pro', serif !important;
     font-size: 14px !important;
     padding: 5px 10px !important;
     cursor: pointer !important;
}
 
.pi-image .tabber__tab--active {
    background-color: var(--kh-green) !important;
     color: white !important;
     font-weight: bold !important;
}
}