MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* ============================================================ | /* ============================================================ | ||
KH LEAF THEME - ANISA | KH LEAF THEME - CLEAN GREEN & GOLD (ANISA VERSION) | ||
============================================================ */ | ============================================================ */ | ||
/* 1. | /* 1. THE MAIN INFOBOX (Green & Yellow) */ | ||
.portable-infobox { | |||
background- | 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; | |||
box-sizing: border-box !important; | |||
box-shadow: 4px 4px 10px rgba(0,0,0,0.05) !important; | |||
} | } | ||
/* | /* Infobox Title (Yellow Background, Dark Green Text) */ | ||
. | .portable-infobox .pi-title { | ||
. | background-color: #ffd700 !important; /* Gold/Yellow */ | ||
color: #2d4234 !important; /* Dark Green */ | |||
background-color: | 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; | |||
font-weight: bold !important; | font-weight: bold !important; | ||
} | } | ||
/* | /* Infobox Headers (Green Background, White Text) */ | ||
.portable-infobox .pi-header { | |||
. | background-color: #3e5a47 !important; /* Forest Green */ | ||
. | color: #ffffff !important; | ||
text-align: center !important; | |||
background: | padding: 8px 0 !important; | ||
font-size: 11px !important; | |||
display: block !important; | |||
width: calc(100% + 4px) !important; | |||
margin- | margin: 0 -2px !important; | ||
box-sizing: border-box !important; | |||
text-transform: uppercase !important; | |||
letter-spacing: 1px !important; | |||
} | } | ||
/* 2. USER MENU / TOP RIGHT NAVIGATION */ | |||
#p-personal li a, | #p-personal li a, | ||
.anisa-user-menu a, | .anisa-user-menu a, | ||
.nav-link { | .nav-link { | ||
/* --- CHANGE USERNAME/ICON COLOR HERE --- */ | /* --- CHANGE USERNAME/ICON COLOR HERE --- */ | ||
color: # | color: #3e5a47 !important; /* Back to Forest Green */ | ||
/* ---------------------------------------- */ | /* ---------------------------------------- */ | ||
font-weight: bold !important; | font-weight: bold !important; | ||
} | } | ||
/* | /* 3. TABLE OF CONTENTS */ | ||
#toc, .toc { | |||
. | border: 2px solid #3e5a47 !important; | ||
border | |||
background-color: #ffffff !important; | background-color: #ffffff !important; | ||
padding: 15px !important; | |||
font-family: "Georgia", serif !important; | |||
} | } | ||
. | .tocnumber { color: #ffd700 !important; font-weight: bold !important; } | ||
.toctext { color: #3e5a47 !important; } | |||
} | |||
. | /* 4. ARTICLE HEADERS (H2/H3) WITH LEAF DECORATION */ | ||
.mw-parser-output h2, .mw-parser-output h3 { | |||
color: # | border-bottom: 2px solid #3e5a47 !important; | ||
color: #3e5a47 !important; | |||
padding-bottom: 5px !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; } | |||
} | |||
/* | /* 5. AUTOMATIC "END OF ENTRY" FOOTER */ | ||
.mw-parser-output::after { | .mw-parser-output::after { | ||
content: "🍃\A END OF ENTRY"; | content: "🍃\A END OF ENTRY"; | ||
| Line 121: | Line 83: | ||
display: block !important; | display: block !important; | ||
text-align: center !important; | text-align: center !important; | ||
margin: | margin-top: 50px !important; | ||
padding-top: 20px !important; | |||
border-top: 1px solid #3e5a47 !important; | |||
font-family: "Georgia", serif !important; | |||
color: #3e5a47 !important; | color: #3e5a47 !important; | ||
font-weight: bold; | font-size: 10px !important; | ||
letter-spacing: 3px !important; | |||
font-weight: bold !important; | |||
clear: both !important; | |||
} | |||
/* 6. UI CLEANUP */ | |||
/* Ensures the sidebar links match the theme */ | |||
.vector-menu-heading, | |||
.vector-menu-content-list li a, | |||
.anisa-sidebar a { | |||
color: #3e5a47 !important; | |||
font-weight: bold !important; | |||
} | } | ||