MediaWiki:Common.css

Revision as of 03:12, 12 March 2026 by LennLeaf (talk | contribs)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* ============================================================
   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 */
.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 (Light Color & No Backing) */
#p-personal, 
.anisa-user-menu, 
.user-tools,
.navbar-nav {
    background: none !important; /* Backing removed as requested */
    border: none !important;
    box-shadow: 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 {
    /* --- CHANGE USERNAME/ICON COLOR HERE --- */
    color: #90b49c !important; /* Current: Lighter Sage Green */
    /* ---------------------------------------- */
    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;
}