MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
Line 1: Line 1:
/* ============================================================
/* ============================================================
   KH LEAF THEME - MASTER CONSOLIDATED VERSION
   KH LEAF THEME - ULTIMATE CONSOLIDATED VERSION
   ============================================================ */
   ============================================================ */


Line 17: Line 17:
}
}


/* 2. INFOBOX TITLE (Solid Blue, White Text, Full Stretch) */
.portable-infobox .pi-title {
.portable-infobox .pi-title {
     background-color: #003366 !important;  
     background-color: #003366 !important;  
Line 31: Line 30:
}
}


/* 3. INFOBOX SECTION HEADERS (Solid Green, White Text) */
.portable-infobox .pi-header {
.portable-infobox .pi-header {
     background-color: #3e5a47 !important;  
     background-color: #3e5a47 !important;  
Line 44: Line 42:
     text-transform: uppercase !important;
     text-transform: uppercase !important;
     letter-spacing: 1px !important;
     letter-spacing: 1px !important;
    border: none !important;
}
}


/* 4. INFOBOX IMAGE AREA (Centered with Soft Green Tint) */
.portable-infobox .pi-image {
.portable-infobox .pi-image {
     background-color: #f2f7f4 !important;  
     background-color: #f2f7f4 !important;  
Line 63: Line 59:
}
}


/* 5. INFOBOX DATA ROWS & LEAF BULLETS */
.portable-infobox .pi-data {
.portable-infobox .pi-data {
     display: flex !important;
     display: flex !important;
Line 83: Line 78:
     flex: 1 !important;
     flex: 1 !important;
     font-size: 11px !important;
     font-size: 11px !important;
}
/* List Bullets inside Infobox */
.portable-infobox .pi-data-value ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
}


Line 98: Line 86:
}
}


/* 6. ARTICLE HEADERS (H2/H3) LEAF DECORATION */
/* 2. ARTICLE HEADERS (H2/H3) LEAF DECORATION */
/* Scoped to .mw-parser-output to protect Search Bar/Sidebar */
.mw-parser-output h2, .mw-parser-output h3 {
.mw-parser-output h2, .mw-parser-output h3 {
     border-bottom: 2px solid #3e5a47 !important;
     border-bottom: 2px solid #3e5a47 !important;
Line 110: Line 97:
.mw-parser-output h3::before { content: "\1F343  " !important; font-size: 16px !important; }
.mw-parser-output h3::before { content: "\1F343  " !important; font-size: 16px !important; }


/* 7. AUTOMATIC "END OF ENTRY" FOOTER */
/* 3. TABLE OF CONTENTS STYLING */
#toc, .toc {
    background-color: #fcfcfc !important;
    border: 2px solid #3e5a47 !important;
    padding: 15px !important;
    font-family: "Georgia", serif !important;
    box-shadow: 3px 3px 8px rgba(0,0,0,0.08) !important;
    border-radius: 0 !important;
}
 
#toctitle h2 {
    color: #003366 !important;
    font-size: 16px !important;
    border-bottom: 1px solid #3e5a47 !important;
    padding-bottom: 5px !important;
}
 
#toctitle h2::before { content: none !important; }
 
.tocnumber { color: #3e5a47 !important; font-weight: bold !important; }
.toctext { color: #003366 !important; }
 
/* 4. AUTOMATIC "END OF ENTRY" FOOTER */
.mw-parser-output::after {
.mw-parser-output::after {
     content: "🍃\A END OF ENTRY";
     content: "🍃\A END OF ENTRY";
Line 127: Line 136:
}
}


/* 8. UI FIXES (SEARCH BAR ALIGNMENT) */
/* 5. UI FIXES (SEARCH BAR ALIGNMENT) */
#p-search, .vector-search-box, #searchform {
#p-search, .vector-search-box, #searchform {
     float: right !important;
     float: right !important;
Line 133: Line 142:
}
}


/* Shield Sidebar/Menus from Leaf Decorations */
#mw-panel h3::before, .vector-menu-heading::before, #p-search h3::before {
#mw-panel h3::before, .vector-menu-heading::before, #p-search h3::before {
     content: none !important;
     content: none !important;
     display: none !important;
     display: none !important;
}
}