MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* ============================================================ | /* ============================================================ | ||
KH LEAF THEME - | KH LEAF THEME - COMPLETED VERSION | ||
============================================================ */ | ============================================================ */ | ||
| Line 12: | Line 12: | ||
font-family: "Georgia", serif !important; | font-family: "Georgia", serif !important; | ||
overflow: hidden !important; | overflow: hidden !important; | ||
padding: 0 !important; | padding: 0 !important; | ||
box-sizing: border-box !important; | box-sizing: border-box !important; | ||
box-shadow: 4px 4px 10px rgba(0,0,0,0.1) !important; | |||
} | } | ||
/* 2. THE TITLE ( | /* 2. THE TITLE (Solid Blue, Full Width) */ | ||
.portable-infobox .pi-title { | .portable-infobox .pi-title { | ||
background-color: #003366 !important; | background-color: #003366 !important; | ||
| Line 24: | Line 25: | ||
font-size: 16px !important; | font-size: 16px !important; | ||
display: block !important; | display: block !important; | ||
width: calc(100% + 4px) !important; | width: calc(100% + 4px) !important; | ||
margin: -2px -2px 0 -2px !important; | margin: -2px -2px 0 -2px !important; | ||
box-sizing: border-box !important; | box-sizing: border-box !important; | ||
} | } | ||
/* 3. SECTION HEADERS ( | /* 3. SECTION HEADERS (Solid Green, White Text) */ | ||
.portable-infobox .pi-header { | .portable-infobox .pi-header { | ||
background-color: #3e5a47 !important; | background-color: #3e5a47 !important; | ||
| Line 41: | Line 42: | ||
box-sizing: border-box !important; | box-sizing: border-box !important; | ||
text-transform: uppercase !important; | text-transform: uppercase !important; | ||
letter-spacing: 1px !important; | |||
} | } | ||
/* 4. IMAGE AREA ( | /* 4. IMAGE AREA (Centered with Soft Green Tint) */ | ||
.portable-infobox .pi-image { | .portable-infobox .pi-image { | ||
background-color: # | background-color: #f2f7f4 !important; /* Soft leafy-green tint */ | ||
padding: 15px !important; | padding: 15px !important; | ||
text-align: center !important; | text-align: center !important; | ||
display: block !important; | display: block !important; | ||
border-bottom: 1px solid #d4e0d8 !important; | |||
} | } | ||
| Line 58: | Line 61: | ||
} | } | ||
/* 5. DATA ROWS & | /* 5. DATA ROWS & LEAF BULLETS */ | ||
.portable-infobox .pi-data { | .portable-infobox .pi-data { | ||
display: flex !important; | display: flex !important; | ||
| Line 65: | Line 68: | ||
.portable-infobox .pi-data-label { | .portable-infobox .pi-data-label { | ||
background-color: # | background-color: #f9f9f9 !important; | ||
padding: 10px !important; | padding: 10px !important; | ||
flex: 0 0 40% !important; | flex: 0 0 40% !important; | ||
| Line 71: | Line 74: | ||
font-size: 11px !important; | font-size: 11px !important; | ||
font-weight: bold !important; | font-weight: bold !important; | ||
color: #333 !important; | |||
} | } | ||
| Line 79: | Line 83: | ||
} | } | ||
/* | /* Leaf Bullets 🍃 */ | ||
.portable-infobox .pi-data-value ul { | .portable-infobox .pi-data-value ul { | ||
list-style: none !important; | list-style: none !important; | ||
| Line 93: | Line 96: | ||
} | } | ||
/* 6. | /* 6. PAGE HEADERS (H2/H3) LEAF DECORATION */ | ||
.mw-parser-output h2: | .mw-parser-output h2, .mw-parser-output h3 { | ||
border-bottom: 2px solid #3e5a47 !important; | |||
color: #003366 !important; | |||
padding-bottom: 5px !important; | |||
} | } | ||
.mw-parser-output h3::before { | .mw-parser-output h2::before { content: "\1F343 " !important; font-size: 20px !important; } | ||
.mw-parser-output h3::before { content: "\1F343 " !important; font-size: 16px !important; } | |||
} | |||
/* 7. | /* 7. UI FIXES */ | ||
#p-search, .vector-search-box { | #p-search, .vector-search-box { | ||
float: right !important; | float: right !important; | ||
} | } | ||