MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* ============================================================ | /* ============================================================ | ||
KH LEAF THEME - | KH LEAF THEME - MASTER CONSOLIDATED VERSION | ||
============================================================ */ | ============================================================ */ | ||
/* 1. THE MAIN CONTAINER */ | /* 1. THE MAIN INFOBOX CONTAINER */ | ||
.portable-infobox { | .portable-infobox { | ||
background-color: #ffffff !important; | background-color: #ffffff !important; | ||
| Line 17: | Line 17: | ||
} | } | ||
/* 2. | /* 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 28: | Line 28: | ||
margin: -2px -2px 0 -2px !important; | margin: -2px -2px 0 -2px !important; | ||
box-sizing: border-box !important; | box-sizing: border-box !important; | ||
border: none !important; | |||
} | } | ||
/* 3. SECTION HEADERS (Solid Green, White Text) */ | /* 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 43: | Line 44: | ||
text-transform: uppercase !important; | text-transform: uppercase !important; | ||
letter-spacing: 1px !important; | letter-spacing: 1px !important; | ||
border: none !important; | |||
} | } | ||
/* 4. IMAGE AREA (Centered with Soft Green Tint) */ | /* 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; | ||
padding: 15px !important; | padding: 15px !important; | ||
text-align: center !important; | text-align: center !important; | ||
| Line 61: | Line 63: | ||
} | } | ||
/* 5. DATA ROWS & LEAF BULLETS */ | /* 5. INFOBOX DATA ROWS & LEAF BULLETS */ | ||
.portable-infobox .pi-data { | .portable-infobox .pi-data { | ||
display: flex !important; | display: flex !important; | ||
| Line 83: | Line 85: | ||
} | } | ||
/* | /* List Bullets inside Infobox */ | ||
.portable-infobox .pi-data-value ul { | .portable-infobox .pi-data-value ul { | ||
list-style: none !important; | list-style: none !important; | ||
| Line 96: | Line 98: | ||
} | } | ||
/* 6. | /* 6. 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; | ||
color: #003366 !important; | color: #003366 !important; | ||
padding-bottom: 5px !important; | padding-bottom: 5px !important; | ||
clear: none !important; | |||
} | } | ||
| Line 106: | Line 110: | ||
.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. | /* 7. AUTOMATIC "END OF ENTRY" FOOTER */ | ||
.mw-parser-output::after { | |||
content: "🍃\A END OF ENTRY"; | |||
white-space: pre !important; | |||
display: block !important; | |||
text-align: center !important; | text-align: center !important; | ||
margin-top: | margin-top: 50px !important; | ||
padding-top: | padding-top: 20px !important; | ||
border-top: 1px solid #3e5a47 !important; | border-top: 1px solid #3e5a47 !important; | ||
font-family: "Georgia", serif !important; | font-family: "Georgia", serif !important; | ||
color: #003366 !important; | color: #003366 !important; | ||
font-size: | font-size: 10px !important; | ||
letter-spacing: | letter-spacing: 3px !important; | ||
font-weight: bold !important; | |||
clear: both !important; | clear: both !important; | ||
} | } | ||
. | /* 8. UI FIXES (SEARCH BAR ALIGNMENT) */ | ||
#p-search, .vector-search-box, #searchform { | |||
float: right !important; | |||
margin-left: auto !important; | |||
} | |||
/* Shield Sidebar/Menus from Leaf Decorations */ | |||
#mw-panel h3::before, .vector-menu-heading::before, #p-search h3::before { | |||
content: none !important; | |||
display: none !important; | |||
} | } | ||