MediaWiki:Common.css: Difference between revisions

From Lenn's Fun Stuff

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


/* 1. GLOBAL BACKGROUND (Non-Repeating, Fixed) */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@700&family=Crimson+Pro:wght@400;700&display=swap');
html, body {
    background-image: url("/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. THE TOP HEADER BAR (Unified Backing for Wiki Name & User Tools) */
/* --- 1. GLOBAL FONTS --- */
.anisa-header,
body {
.navbar,
     font-family: 'Crimson Pro', serif !important;
#mw-head {
    background-color: rgba(255, 255, 255, 0.95) !important;
    border-bottom: 3px solid #3e5a47 !important;
    height: 60px !important;
    display: flex !important;
    align-items: center !important;
    position: sticky !important;
     top: 0 !important;
    z-index: 1000 !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
}
}


/* 3. WIKI NAME / SITE TITLE VISIBILITY */
/* --- 2. ANISA (DESKTOP) RESTORATION --- */
.site-branding,
/* We remove the forced margins/paddings here to let Anisa look "Factory" */
.anisa-logo-container,
.skin-anisa #content,  
.navbar-brand,
.skin-anisa .mw-body {
.anisa-wiki-title {
     font-size: 16px !important;
    color: #3e5a47 !important;
     line-height: 1.6;
     font-family: "Georgia", serif !important;
     /* We are NOT forcing margin-top or padding here anymore */
     font-weight: bold !important;
    font-size: 20px !important;
     margin-left: 15px !important;
    text-decoration: none !important;
}
}


/* 4. USER MENU & ALERTS (Functional & Clean) */
/* Scaling up the tiny Navigation Labels to a readable "Normal" size */
#p-personal,  
.skin-anisa .vector-menu-tabs li a,
.anisa-user-menu,  
.skin-anisa .vector-menu-dropdown .vector-menu-heading-label,
.user-tools,
.skin-anisa #p-cactions .vector-menu-heading-label,
.navbar-nav {
.skin-anisa .vector-menu-tabs li a span {
     background: none !important;
     font-size: 16px !important; /* Readable, but fits the skin's design */
    border: none !important;
     font-weight: 400 !important;
    margin-left: auto !important;  
     text-transform: none !important;
     margin-right: 15px !important;
     display: flex !important;
    align-items: center !important;
}
}


#p-personal li a,  
/* Restoring the natural spacing between "Read", "Edit", etc. */
.anisa-user-menu a,
.skin-anisa .vector-menu-tabs li {
.nav-link {
     margin-right: 5px !important;  
     color: #3e5a47 !important;
    font-weight: bold !important;
    padding: 0 10px !important;
}
}


/* 5. SIDEBAR / NAVIGATION DRAWER BACKING */
/* --- 3. COSMOS (MOBILE) PRESERVATION --- */
.anisa-sidebar,
/* This section ensures our mobile view doesn't change */
.anisa-drawer,
.skin-cosmos #content {
#mw-navigation {
     padding: 15px !important;
     background-color: rgba(255, 255, 255, 0.9) !important;
     font-size: 15px !important;
    border-right: 3px solid #3e5a47 !important;
     box-shadow: 2px 0 10px rgba(0,0,0,0.1) !important;
}
}


/* 6. MAIN CONTENT AREA */
/* --- 4. THE SEAMLESS INFOBOX (THE "LORE" FIX) --- */
#content, .mw-body {
/* This keeps your Kingdom Hearts style intact across BOTH skins */
    background-color: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid #3e5a47 !important;
    border-radius: 5px !important;
    padding: 20px !important;
}
 
/* 7. THE INFOBOX (Yellow Title & Green Headers) */
.portable-infobox {
.portable-infobox {
     background-color: #ffffff !important;
     background-color: #fff !important;
     border: 2px solid #3e5a47 !important;
     border: 1px solid #a2a9b1 !important;
     width: 300px !important;
     width: 270px !important;
     overflow: hidden !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;
     text-align: center !important;
     padding: 12px 0 !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;
     text-align: center !important;
    padding: 8px 0 !important;
}
}


/* 8. FOOTER CREDITS BACKING */
.pi-data-label {  
#footer, .mw-footer, .anisa-footer {
     background-color: #f2f2f2 !important;
     background-color: rgba(255, 255, 255, 0.95) !important;
    padding: 8px !important;  
     border-top: 3px solid #3e5a47 !important;
     border: 1px solid #a2a9b1 !important;
     padding: 20px !important;
    font-weight: bold !important;  
     margin-top: 40px !important;
}
     color: #2d4234 !important;
 
     font-size: 12px !important;
.pi-data-value {
     padding: 8px !important;  
     border-bottom: 1px solid #a2a9b1 !important;  
}
 
/* --- 5. TABLE OF CONTENTS --- */
#toc, .toc {
     background-color: #f8f9fa !important;
    border: 1px solid #a2a9b1 !important;
     padding: 8px !important;
}
}


/* 9. LEAF DECORATIONS (H2/H3) */
/* Styling TabberNeue inside PortableInfobox */
.mw-parser-output h2::before { content: "\1F343  " !important; color: #3e5a47; }
.pi-image .tabber__tabs {
.mw-parser-output::after {
    display: flex !important;
     content: "🍃\A END OF ENTRY";
    justify-content: center !important;
     white-space: pre !important;
    background: #f2f2f2 !important; /* Matches your label color */
     display: block !important;
    border-bottom: 1px solid #a2a9b1 !important;
     text-align: center !important;
    margin-bottom: 5px !important;
     margin: 40px 0 !important;
}
     color: #3e5a47 !important;
 
     font-weight: bold;
.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;
}
}

Latest revision as of 05:05, 18 March 2026

/* Version 36.1 - Restored Anisa Factory Proportions
   Goal: Original Anisa layout + KH Colors/Fonts + Readable Tabs
*/

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@700&family=Crimson+Pro:wght@400;700&display=swap');

/* --- 1. GLOBAL FONTS --- */
body {
    font-family: 'Crimson Pro', serif !important;
}

/* --- 2. ANISA (DESKTOP) RESTORATION --- */
/* We remove the forced margins/paddings here to let Anisa look "Factory" */
.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 */
}

/* Scaling up the tiny Navigation Labels to a readable "Normal" size */
.skin-anisa .vector-menu-tabs li a,
.skin-anisa .vector-menu-dropdown .vector-menu-heading-label,
.skin-anisa #p-cactions .vector-menu-heading-label,
.skin-anisa .vector-menu-tabs li a span {
    font-size: 16px !important; /* Readable, but fits the skin's design */
    font-weight: 400 !important;
    text-transform: none !important;
}

/* Restoring the natural spacing between "Read", "Edit", etc. */
.skin-anisa .vector-menu-tabs li {
    margin-right: 5px !important; 
}

/* --- 3. COSMOS (MOBILE) PRESERVATION --- */
/* This section ensures our mobile view doesn't change */
.skin-cosmos #content {
    padding: 15px !important;
    font-size: 15px !important;
}

/* --- 4. THE SEAMLESS INFOBOX (THE "LORE" FIX) --- */
/* This keeps your Kingdom Hearts style intact across BOTH skins */
.portable-infobox {
    background-color: #fff !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 {
    background-color: #ffd700 !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 {
    background-color: #3e5a47 !important;
    color: #fff !important;
    font-family: 'Cinzel', serif !important;
    padding: 10px 5px !important;
    text-align: center !important;
}

.pi-data-label { 
    background-color: #f2f2f2 !important; 
    padding: 8px !important; 
    border: 1px solid #a2a9b1 !important; 
    font-weight: bold !important; 
}

.pi-data-value { 
    padding: 8px !important; 
    border-bottom: 1px solid #a2a9b1 !important; 
}

/* --- 5. TABLE OF CONTENTS --- */
#toc, .toc {
    background-color: #f8f9fa !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;
}