MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
Line 1: Line 1:
/* ============================================================
/* ============================================================
   KH LEAF THEME - ANISA SKIN MASTER CONSOLIDATED
   KH LEAF THEME - CLEAN GREEN & GOLD (ANISA VERSION)
   ============================================================ */
   ============================================================ */


/* 1. GLOBAL BACKGROUND (Non-Repeating, Fixed) */
/* 1. THE MAIN INFOBOX (Green & Yellow) */
html, body {
.portable-infobox {
     background-image: url("/wiki/images/a/a4/WIKI_BACKGROUND.jpeg") !important;
     background-color: #ffffff !important;
     background-color: #f0f0f0 !important;
     border: 2px solid #3e5a47 !important;
     background-repeat: no-repeat !important;
    width: 300px !important;
     background-attachment: fixed !important;
    float: right !important;
     background-position: center center !important;
    margin: 0 0 1em 1em !important;
     background-size: cover !important;
     font-family: "Georgia", serif !important;
    overflow: hidden !important;
     padding: 0 !important;
     box-sizing: border-box !important;
     box-shadow: 4px 4px 10px rgba(0,0,0,0.05) !important;
}
}


/* 2. THE TOP HEADER BAR */
/* Infobox Title (Yellow Background, Dark Green Text) */
.anisa-header,
.portable-infobox .pi-title {
.navbar,
     background-color: #ffd700 !important; /* Gold/Yellow */
#mw-head {
     color: #2d4234 !important; /* Dark Green */
     background-color: rgba(255, 255, 255, 0.95) !important;
     text-align: center !important;
     border-bottom: 3px solid #3e5a47 !important;
     padding: 12px 0 !important;
     height: 60px !important;
     font-size: 16px !important;
     display: flex !important;
     display: block !important;
     align-items: center !important;
     width: calc(100% + 4px) !important;
     position: sticky !important;
     margin: -2px -2px 0 -2px !important;
     top: 0 !important;
     box-sizing: border-box !important;
     z-index: 1000 !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
}
 
/* 3. WIKI NAME / SITE TITLE VISIBILITY */
.site-branding,
.anisa-logo-container,
.navbar-brand,
.anisa-wiki-title {
    color: #3e5a47 !important;
     font-family: "Georgia", serif !important;
     font-weight: bold !important;
     font-weight: bold !important;
    font-size: 20px !important;
    margin-left: 15px !important;
    text-decoration: none !important;
}
}


/* 4. USER MENU & ALERTS (Light Color & No Backing) */
/* Infobox Headers (Green Background, White Text) */
#p-personal,
.portable-infobox .pi-header {
.anisa-user-menu,
     background-color: #3e5a47 !important; /* Forest Green */
.user-tools,
     color: #ffffff !important;
.navbar-nav {
     text-align: center !important;
     background: none !important; /* Backing removed as requested */
    padding: 8px 0 !important;
     border: none !important;
     font-size: 11px !important;
     box-shadow: none !important;
    display: block !important;
     margin-left: auto !important;  
    width: calc(100% + 4px) !important;
     margin-right: 15px !important;
     margin: 0 -2px !important;
     display: flex !important;
    box-sizing: border-box !important;
     align-items: center !important;
     text-transform: uppercase !important;
     letter-spacing: 1px !important;
}
}


/* 2. USER MENU / TOP RIGHT NAVIGATION */
#p-personal li a,  
#p-personal li a,  
.anisa-user-menu a,
.anisa-user-menu a,
.nav-link {
.nav-link {
     /* --- CHANGE USERNAME/ICON COLOR HERE --- */
     /* --- CHANGE USERNAME/ICON COLOR HERE --- */
     color: #90b49c !important; /* Current: Lighter Sage Green */
     color: #3e5a47 !important; /* Back to Forest Green */
     /* ---------------------------------------- */
     /* ---------------------------------------- */
     font-weight: bold !important;
     font-weight: bold !important;
    padding: 0 10px !important;
}
}


/* 5. SIDEBAR / NAVIGATION DRAWER BACKING */
/* 3. TABLE OF CONTENTS */
.anisa-sidebar,  
#toc, .toc {
.anisa-drawer,
     border: 2px solid #3e5a47 !important;
#mw-navigation {
    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;
}
 
/* 6. MAIN CONTENT AREA */
#content, .mw-body {
    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 {
     background-color: #ffffff !important;
     background-color: #ffffff !important;
     border: 2px solid #3e5a47 !important;
     padding: 15px !important;
     width: 300px !important;
     font-family: "Georgia", serif !important;
    overflow: hidden !important;
}
}


.portable-infobox .pi-title {
.tocnumber { color: #ffd700 !important; font-weight: bold !important; }
    background-color: #ffd700 !important;  
.toctext { color: #3e5a47 !important; }
    color: #2d4234 !important;
    text-align: center !important;
    padding: 12px 0 !important;
}


.portable-infobox .pi-header {
/* 4. ARTICLE HEADERS (H2/H3) WITH LEAF DECORATION */
     background-color: #3e5a47 !important;  
.mw-parser-output h2, .mw-parser-output h3 {
     color: #ffffff !important;
     border-bottom: 2px solid #3e5a47 !important;
     text-align: center !important;
     color: #3e5a47 !important;
    padding: 8px 0 !important;
     padding-bottom: 5px !important;
}
}


/* 8. FOOTER CREDITS BACKING */
.mw-parser-output h2::before { content: "\1F343  " !important; font-size: 20px !important; }
#footer, .mw-footer, .anisa-footer {
.mw-parser-output h3::before { content: "\1F343  " !important; font-size: 16px !important; }
    background-color: rgba(255, 255, 255, 0.95) !important;
    border-top: 3px solid #3e5a47 !important;
    padding: 20px !important;
    margin-top: 40px !important;
    color: #2d4234 !important;
    font-size: 12px !important;
}


/* 9. LEAF DECORATIONS (H2/H3) */
/* 5. AUTOMATIC "END OF ENTRY" FOOTER */
.mw-parser-output h2::before { content: "\1F343  " !important; color: #3e5a47; }
.mw-parser-output::after {
.mw-parser-output::after {
     content: "🍃\A END OF ENTRY";
     content: "🍃\A END OF ENTRY";
Line 121: Line 83:
     display: block !important;
     display: block !important;
     text-align: center !important;
     text-align: center !important;
     margin: 40px 0 !important;
     margin-top: 50px !important;
    padding-top: 20px !important;
    border-top: 1px solid #3e5a47 !important;
    font-family: "Georgia", serif !important;
     color: #3e5a47 !important;
     color: #3e5a47 !important;
     font-weight: bold;
    font-size: 10px !important;
    letter-spacing: 3px !important;
    font-weight: bold !important;
    clear: both !important;
}
 
/* 6. UI CLEANUP */
/* Ensures the sidebar links match the theme */
.vector-menu-heading,
.vector-menu-content-list li a,
.anisa-sidebar a {
    color: #3e5a47 !important;
     font-weight: bold !important;
}
}