MediaWiki:Common.css: Difference between revisions

From Lenn's Fun Stuff

No edit summary
No edit summary
Line 1: Line 1:
/* ============================================================
/* ============================================================
   KH LEAF THEME - ANISA FIXES (WIKI NAME & USER MENU)
   KH LEAF THEME - ANISA SKIN MASTER CONSOLIDATED
   ============================================================ */
   ============================================================ */


/* 1. WIKI NAME / LOGO AREA BACKING */
/* 1. GLOBAL BACKGROUND (Non-Repeating, Fixed) */
/* Forces a backing specifically for the top-left site name area */
html, body {
.anisa-header-logo,  
    background-image: url("/wiki/images/a/a4/WIKI_BACKGROUND.jpeg") !important;
.site-branding,  
    background-color: #f0f0f0 !important;
.anisa-logo-container {
    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) */
.anisa-header,  
.navbar,  
#mw-head {
     background-color: rgba(255, 255, 255, 0.95) !important;
     background-color: rgba(255, 255, 255, 0.95) !important;
    padding: 10px 20px !important;
     border-bottom: 3px solid #3e5a47 !important;
     border-right: 2px solid #3e5a47 !important;
     height: 60px !important;
     border-bottom: 2px solid #3e5a47 !important;
     display: flex !important;
     display: flex !important;
     align-items: center !important;
     align-items: center !important;
     min-height: 60px !important; /* Ensures it doesn't shrink */
     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 */
.site-branding,
.anisa-logo-container,
.navbar-brand,
.anisa-wiki-title {
    color: #3e5a47 !important;
    font-family: "Georgia", serif !important;
    font-weight: bold !important;
    font-size: 20px !important;
    margin-left: 15px !important;
    text-decoration: none !important;
}
}


/* 2. USERNAME & ALERTS FIX (The "Wonky" Fix) */
/* 4. USER MENU & ALERTS (Functional & Clean) */
/* We target the container of the user links to keep it from stretching */
#p-personal,
.anisa-user-menu,  
.anisa-user-menu,  
.vector-user-links,  
.user-tools,
#p-personal {
.navbar-nav {
     background-color: rgba(255, 255, 255, 0.95) !important;
     background: none !important;
     border: 2px solid #3e5a47 !important;
     border: none !important;
     border-top: none !important; /* Keeps it flush with the top edge */
     margin-left: auto !important;  
     border-radius: 0 0 10px 10px !important; /* Rounded only on the bottom */
     margin-right: 15px !important;
    padding: 0 15px !important;
     display: flex !important;
     display: flex !important;
    flex-direction: row !important;
     align-items: center !important;
     align-items: center !important;
    height: 40px !important; /* Fixed height stops the "wonky" stretching */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1) !important;
    margin-right: 10px !important;
}
}


/* 3. SIDEBAR NAVIGATION BACKING */
#p-personal li a,
.anisa-user-menu a,
.nav-link {
    color: #3e5a47 !important;
    font-weight: bold !important;
    padding: 0 10px !important;
}
 
/* 5. SIDEBAR / NAVIGATION DRAWER BACKING */
.anisa-sidebar,  
.anisa-sidebar,  
.anisa-drawer,  
.anisa-drawer,
#mw-navigation {
#mw-navigation {
     background-color: rgba(255, 255, 255, 0.9) !important;
     background-color: rgba(255, 255, 255, 0.9) !important;
     border-right: 3px solid #3e5a47 !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;
    border: 2px solid #3e5a47 !important;
    width: 300px !important;
    overflow: hidden !important;
}
.portable-infobox .pi-title {
    background-color: #ffd700 !important;
    color: #2d4234 !important;
    text-align: center !important;
    padding: 12px 0 !important;
}
.portable-infobox .pi-header {
    background-color: #3e5a47 !important;
    color: #ffffff !important;
    text-align: center !important;
    padding: 8px 0 !important;
}
}


/* 4. FOOTER CREDITS BACKING */
/* 8. FOOTER CREDITS BACKING */
#footer, .mw-footer, .anisa-footer {
#footer, .mw-footer, .anisa-footer {
     background-color: rgba(255, 255, 255, 0.95) !important;
     background-color: rgba(255, 255, 255, 0.95) !important;
     border-top: 3px solid #3e5a47 !important;
     border-top: 3px solid #3e5a47 !important;
     padding: 20px !important;
     padding: 20px !important;
     margin-top: 30px !important;
     margin-top: 40px !important;
     clear: both !important;
     color: #2d4234 !important;
    font-size: 12px !important;
}
}


/* 5. INFOBOX COLORS (Green & Yellow) */
/* 9. LEAF DECORATIONS (H2/H3) */
.portable-infobox { border: 2px solid #3e5a47 !important; }
.mw-parser-output h2::before { content: "\1F343  " !important; color: #3e5a47; }
.portable-infobox .pi-title { background-color: #ffd700 !important; color: #2d4234 !important; }
.mw-parser-output::after {
.portable-infobox .pi-header { background-color: #3e5a47 !important; color: #ffffff !important; }
    content: "🍃\A END OF ENTRY";
 
    white-space: pre !important;
/* 6. GLOBAL BACKGROUND */
    display: block !important;
body {
     text-align: center !important;
     background-image: url("http://localhost/wiki/images/a/a4/WIKI_BACKGROUND.jpeg") !important;
     margin: 40px 0 !important;
     background-repeat: no-repeat !important;
     color: #3e5a47 !important;
     background-attachment: fixed !important;
     font-weight: bold;
     background-size: cover !important;
}
}

Revision as of 03:10, 12 March 2026

/* ============================================================
   KH LEAF THEME - ANISA SKIN MASTER CONSOLIDATED
   ============================================================ */

/* 1. GLOBAL BACKGROUND (Non-Repeating, Fixed) */
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) */
.anisa-header, 
.navbar, 
#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 */
.site-branding, 
.anisa-logo-container,
.navbar-brand,
.anisa-wiki-title {
    color: #3e5a47 !important;
    font-family: "Georgia", serif !important;
    font-weight: bold !important;
    font-size: 20px !important;
    margin-left: 15px !important;
    text-decoration: none !important;
}

/* 4. USER MENU & ALERTS (Functional & Clean) */
#p-personal, 
.anisa-user-menu, 
.user-tools,
.navbar-nav {
    background: none !important;
    border: none !important;
    margin-left: auto !important; 
    margin-right: 15px !important;
    display: flex !important;
    align-items: center !important;
}

#p-personal li a, 
.anisa-user-menu a,
.nav-link {
    color: #3e5a47 !important;
    font-weight: bold !important;
    padding: 0 10px !important;
}

/* 5. SIDEBAR / NAVIGATION DRAWER BACKING */
.anisa-sidebar, 
.anisa-drawer,
#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;
    border: 2px solid #3e5a47 !important;
    width: 300px !important;
    overflow: hidden !important;
}

.portable-infobox .pi-title {
    background-color: #ffd700 !important; 
    color: #2d4234 !important; 
    text-align: center !important;
    padding: 12px 0 !important;
}

.portable-infobox .pi-header {
    background-color: #3e5a47 !important; 
    color: #ffffff !important;
    text-align: center !important;
    padding: 8px 0 !important;
}

/* 8. FOOTER CREDITS BACKING */
#footer, .mw-footer, .anisa-footer {
    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) */
.mw-parser-output h2::before { content: "\1F343  " !important; color: #3e5a47; }
.mw-parser-output::after {
    content: "🍃\A END OF ENTRY";
    white-space: pre !important;
    display: block !important;
    text-align: center !important;
    margin: 40px 0 !important;
    color: #3e5a47 !important;
    font-weight: bold;
}