MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* ============================================================ | /* ============================================================ | ||
KH LEAF THEME - | KH LEAF THEME - ULTIMATE CONSOLIDATED VERSION | ||
============================================================ */ | ============================================================ */ | ||
| Line 17: | Line 17: | ||
} | } | ||
.portable-infobox .pi-title { | .portable-infobox .pi-title { | ||
background-color: #003366 !important; | background-color: #003366 !important; | ||
| Line 31: | Line 30: | ||
} | } | ||
.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; | ||
} | } | ||
.portable-infobox .pi-image { | .portable-infobox .pi-image { | ||
background-color: #f2f7f4 !important; | background-color: #f2f7f4 !important; | ||
| Line 63: | Line 59: | ||
} | } | ||
.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; | ||
} | } | ||
| Line 98: | Line 86: | ||
} | } | ||
/* | /* 2. ARTICLE HEADERS (H2/H3) LEAF DECORATION */ | ||
.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; } | ||
/* | /* 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: | ||
} | } | ||
/* | /* 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: | ||
} | } | ||
#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; | ||
} | } | ||