MediaWiki:Common.css: Difference between revisions

From Lenn's Fun Stuff

No edit summary
No edit summary
Line 1: Line 1:
/* ============================================================
/* ============================================================
   KH LEAF THEME - FULL UI VISIBILITY & COLOR UPDATE
   KH LEAF THEME - SINGLE BG & UI SHELF MASTER
   ============================================================ */
   ============================================================ */


/* 1. GLOBAL BACKGROUND */
/* 1. GLOBAL BACKGROUND (Non-Repeating, Stretches to Fit) */
body {
html, body {
    /* Replace the link below with your actual image path */
     background-image: url("http://localhost/wiki/images/a/a4/WIKI_BACKGROUND.jpeg") !important;
     background-image: url("http://localhost/wiki/images/a/a4/WIKI_BACKGROUND.jpeg") !important;
     background-repeat: repeat !important;
    background-color: #f0f0f0 !important;
     background-repeat: no-repeat !important;
     background-attachment: fixed !important;
     background-attachment: fixed !important;
     background-position: center center !important;
     background-position: center center !important;
    background-size: cover !important;
}
}


/* 2. THE MAIN INFOBOX (Green & Yellow) */
/* 2. THE SIDEBAR & LOGO BACKING */
#mw-panel,
.mw-sidebar,
.vector-sidebar-container,
#p-logo {
    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;
}
 
#p-logo { padding: 10px !important; }
 
/* 3. TOP RIGHT UI (Username, Alerts, Notices) */
#p-personal,
.vector-user-links,
.vector-user-menu {
    background-color: rgba(255, 255, 255, 0.9) !important;
    padding: 5px 15px !important;
    border-bottom: 2px solid #3e5a47 !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;
    display: flex !important;
    align-items: center !important;
}
 
/* 4. SEARCH BAR (High Position) */
#p-search, .vector-search-box {
    background: #ffffff !important;
    padding: 2px 10px !important;
    border: 1px solid #3e5a47 !important;
    border-radius: 4px !important;
    margin-top: -15px !important;
    float: right !important;
}
 
/* 5. THE INFOBOX (Yellow Title & Green Headers) */
.portable-infobox {
.portable-infobox {
     background-color: #ffffff !important;
     background-color: #ffffff !important;
Line 21: Line 60:
     overflow: hidden !important;
     overflow: hidden !important;
     padding: 0 !important;
     padding: 0 !important;
    box-sizing: border-box !important;
}
}


.portable-infobox .pi-title {
.portable-infobox .pi-title {
     background-color: #ffd700 !important; /* Yellow/Gold */
     background-color: #ffd700 !important; /* Yellow */
     color: #2d4234 !important; /* Dark Green Text */
     color: #2d4234 !important; /* Dark Green Text */
     text-align: center !important;
     text-align: center !important;
Line 46: Line 84:
     margin: 0 -2px !important;
     margin: 0 -2px !important;
     box-sizing: border-box !important;
     box-sizing: border-box !important;
    text-transform: uppercase !important;
}
}


/* 3. THE SIDEBAR & LOGO "SHELF" (Visibility Fix) */
/* 6. ARTICLE CONTENT AREA */
#mw-panel,
#p-logo,
.mw-sidebar,
.vector-sidebar-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;
}
 
#p-logo { padding: 10px !important; }
 
/* Sidebar Link Colors */
.vector-menu-heading,
.vector-menu-content-list li a {
    color: #2d4234 !important;
    font-weight: bold !important;
    font-family: "Georgia", serif !important;
}
 
/* 4. THE TOP HEADER & SEARCH BAR */
#mw-head, .mw-header {
    background-color: rgba(255, 255, 255, 0.85) !important;
    border-bottom: 2px solid #3e5a47 !important;
}
 
#p-search, .vector-search-box {
    background: #ffffff !important;
    padding: 2px 10px !important;
    border: 1px solid #3e5a47 !important;
    border-radius: 4px !important;
    margin-top: -10px !important; /* Pulls the search bar higher */
    float: right !important;
}
 
/* 5. ARTICLE CONTENT AREA */
#content {
#content {
     background-color: rgba(255, 255, 255, 0.95) !important;
     background-color: rgba(255, 255, 255, 0.95) !important;
Line 90: Line 94:
}
}


/* 6. TABLE OF CONTENTS */
/* 7. TABLE OF CONTENTS */
#toc, .toc {
#toc, .toc {
     border: 2px solid #3e5a47 !important;
     border: 2px solid #3e5a47 !important;
Line 96: Line 100:
}
}


.tocnumber { color: #ffd700 !important; }
/* 8. LEAF DECORATIONS & FOOTER */
.toctext { color: #2d4234 !important; }
.mw-parser-output h2::before { content: "\1F343  " !important; }
 
/* 7. LEAF DECORATIONS (H2/H3) */
.mw-parser-output h2, .mw-parser-output h3 {
    border-bottom: 2px solid #3e5a47 !important;
    color: #3e5a47 !important;
}
 
.mw-parser-output h2::before { content: "\1F343  " !important; font-size: 20px !important; }
.mw-parser-output h3::before { content: "\1F343  " !important; font-size: 16px !important; }
 
/* 8. AUTOMATIC FOOTER */
.mw-parser-output::after {
.mw-parser-output::after {
     content: "🍃\A END OF ENTRY";
     content: "🍃\A END OF ENTRY";
Line 121: Line 114:
     font-size: 10px !important;
     font-size: 10px !important;
     letter-spacing: 3px !important;
     letter-spacing: 3px !important;
}
/* 9. SIDEBAR LINK VISIBILITY */
.vector-menu-heading, .vector-menu-content-list li a {
    color: #2d4234 !important;
    font-weight: bold !important;
}
}

Revision as of 02:59, 12 March 2026

/* ============================================================
   KH LEAF THEME - SINGLE BG & UI SHELF MASTER
   ============================================================ */

/* 1. GLOBAL BACKGROUND (Non-Repeating, Stretches to Fit) */
html, body {
    /* Replace the link below with your actual image path */
    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. THE SIDEBAR & LOGO BACKING */
#mw-panel, 
.mw-sidebar, 
.vector-sidebar-container,
#p-logo {
    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;
}

#p-logo { padding: 10px !important; }

/* 3. TOP RIGHT UI (Username, Alerts, Notices) */
#p-personal, 
.vector-user-links, 
.vector-user-menu {
    background-color: rgba(255, 255, 255, 0.9) !important;
    padding: 5px 15px !important;
    border-bottom: 2px solid #3e5a47 !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;
    display: flex !important;
    align-items: center !important;
}

/* 4. SEARCH BAR (High Position) */
#p-search, .vector-search-box {
    background: #ffffff !important;
    padding: 2px 10px !important;
    border: 1px solid #3e5a47 !important;
    border-radius: 4px !important;
    margin-top: -15px !important; 
    float: right !important;
}

/* 5. THE INFOBOX (Yellow Title & Green Headers) */
.portable-infobox {
    background-color: #ffffff !important;
    border: 2px solid #3e5a47 !important; 
    width: 300px !important;
    float: right !important;
    margin: 0 0 1em 1em !important;
    font-family: "Georgia", serif !important;
    overflow: hidden !important;
    padding: 0 !important;
}

.portable-infobox .pi-title {
    background-color: #ffd700 !important; /* Yellow */
    color: #2d4234 !important; /* Dark Green Text */
    text-align: center !important;
    padding: 12px 0 !important;
    font-size: 16px !important;
    display: block !important;
    width: calc(100% + 4px) !important;
    margin: -2px -2px 0 -2px !important;
    box-sizing: border-box !important;
}

.portable-infobox .pi-header {
    background-color: #3e5a47 !important; /* Green */
    color: #ffffff !important; /* White Text */
    text-align: center !important;
    padding: 8px 0 !important;
    font-size: 11px !important;
    display: block !important;
    width: calc(100% + 4px) !important;
    margin: 0 -2px !important;
    box-sizing: border-box !important;
    text-transform: uppercase !important;
}

/* 6. ARTICLE CONTENT AREA */
#content {
    background-color: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid #3e5a47 !important;
    border-radius: 5px !important;
}

/* 7. TABLE OF CONTENTS */
#toc, .toc {
    border: 2px solid #3e5a47 !important;
    background-color: #ffffff !important;
}

/* 8. LEAF DECORATIONS & FOOTER */
.mw-parser-output h2::before { content: "\1F343  " !important; }
.mw-parser-output::after {
    content: "🍃\A END OF ENTRY";
    white-space: pre !important;
    display: block !important;
    text-align: center !important;
    margin-top: 50px !important;
    padding-top: 20px !important;
    border-top: 1px solid #3e5a47 !important;
    font-family: "Georgia", serif !important;
    color: #3e5a47 !important;
    font-size: 10px !important;
    letter-spacing: 3px !important;
}

/* 9. SIDEBAR LINK VISIBILITY */
.vector-menu-heading, .vector-menu-content-list li a {
    color: #2d4234 !important;
    font-weight: bold !important;
}