MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* ============================================================ | /* ============================================================ | ||
KH LEAF THEME - ANISA | KH LEAF THEME - ANISA FIXES (WIKI NAME & USER MENU) | ||
============================================================ */ | ============================================================ */ | ||
/* 1. | /* 1. WIKI NAME / LOGO AREA BACKING */ | ||
/* Forces a backing specifically for the top-left site name area */ | |||
.anisa-header-logo, | |||
.site-branding, | |||
/* | |||
.anisa- | |||
.site-branding, | |||
.anisa-logo-container { | .anisa-logo-container { | ||
background-color: rgba(255, 255, 255, 0. | background-color: rgba(255, 255, 255, 0.95) !important; | ||
border-right: | padding: 10px 20px !important; | ||
border-right: 2px solid #3e5a47 !important; | |||
border-bottom: 2px solid #3e5a47 !important; | |||
display: flex !important; | |||
align-items: center !important; | |||
min-height: 60px !important; /* Ensures it doesn't shrink */ | |||
} | } | ||
/* | /* 2. USERNAME & ALERTS FIX (The "Wonky" Fix) */ | ||
/* We target the container of the user links to keep it from stretching */ | |||
.anisa-user-menu, | .anisa-user-menu, | ||
.vector-user-links, | .vector-user-links, | ||
#p-personal | #p-personal { | ||
background-color: rgba(255, 255, 255, 0.95) !important; | |||
background-color: rgba(255, 255, 255, 0. | border: 2px solid #3e5a47 !important; | ||
border-top: none !important; /* Keeps it flush with the top edge */ | |||
border- | border-radius: 0 0 10px 10px !important; /* Rounded only on the bottom */ | ||
border- | padding: 0 15px !important; | ||
display: flex !important; | |||
box-shadow: | flex-direction: row !important; | ||
align-items: center !important; | |||
height: 40px !important; /* Fixed height stops the "wonky" stretching */ | |||
box-shadow: 0 2px 5px rgba(0,0,0,0.1) !important; | |||
margin-right: 10px !important; | |||
} | } | ||
/* | /* 3. SIDEBAR NAVIGATION BACKING */ | ||
.anisa-sidebar, | |||
background-color: rgba(255, 255, 255, 0. | .anisa-drawer, | ||
border: | #mw-navigation { | ||
background-color: rgba(255, 255, 255, 0.9) !important; | |||
border-right: 3px solid #3e5a47 !important; | |||
} | } | ||
/* | /* 4. FOOTER CREDITS BACKING */ | ||
#footer, .mw-footer, .anisa-footer { | #footer, .mw-footer, .anisa-footer { | ||
background-color: rgba(255, 255, 255, 0. | background-color: rgba(255, 255, 255, 0.95) !important; | ||
border-top: 3px solid #3e5a47 !important; | border-top: 3px solid #3e5a47 !important; | ||
padding: 20px !important; | padding: 20px !important; | ||
margin-top: 30px !important; | |||
clear: both !important; | |||
} | } | ||
/* | /* 5. INFOBOX COLORS (Green & Yellow) */ | ||
.portable-infobox { | .portable-infobox { border: 2px solid #3e5a47 !important; } | ||
.portable-infobox .pi-title { background-color: #ffd700 !important; color: #2d4234 !important; } | |||
.portable-infobox .pi-header { background-color: #3e5a47 !important; color: #ffffff !important; } | |||
} | |||
.portable-infobox .pi-title { | |||
} | |||
.portable-infobox .pi-header { | |||
} | |||
/* | /* 6. GLOBAL BACKGROUND */ | ||
body { | |||
background | background-image: url("http://localhost/wiki/images/a/a4/WIKI_BACKGROUND.jpeg") !important; | ||
background-repeat: no-repeat !important; | |||
background-attachment: fixed !important; | |||
background-size: cover !important; | |||
/ | |||
. | |||
} | } | ||