MediaWiki:Common.css: Difference between revisions
From Lenn's Fun Stuff
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* ============================================================ | /* ============================================================ | ||
KH LEAF THEME - | KH LEAF THEME - ANISA SKIN SPECIALIZED VERSION | ||
============================================================ */ | ============================================================ */ | ||
/* 1. GLOBAL BACKGROUND | /* 1. GLOBAL BACKGROUND */ | ||
html, body { | html, body { | ||
background-image: url("http://localhost/wiki/images/a/a4/WIKI_BACKGROUND.jpeg") !important; | background-image: url("http://localhost/wiki/images/a/a4/WIKI_BACKGROUND.jpeg") !important; | ||
background-color: #f0f0f0 !important; | background-color: #f0f0f0 !important; | ||
| Line 14: | Line 13: | ||
} | } | ||
/* 2. | /* 2. ANISA SIDEBAR & WIKI NAME BACKING */ | ||
/* Targets the specific drawer and site-branding classes in Anisa */ | |||
.mw- | .anisa-sidebar, | ||
. | .anisa-drawer, | ||
#mw-navigation, | |||
.site-branding, | |||
.anisa-logo-container { | |||
background-color: rgba(255, 255, 255, 0.9) !important; | background-color: rgba(255, 255, 255, 0.9) !important; | ||
border-right: 3px solid #3e5a47 !important; | border-right: 3px solid #3e5a47 !important; | ||
| Line 24: | Line 25: | ||
} | } | ||
# | /* Fixes the Wiki Name / Site Title specifically */ | ||
.site-branding a, .anisa-wiki-title { | |||
color: #3e5a47 !important; | |||
font-weight: bold !important; | |||
font-family: "Georgia", serif !important; | |||
padding: 5px 10px !important; | |||
} | |||
/* 3. TOP RIGHT UI (Username | /* 3. TOP RIGHT UI (Username & Alerts) - The "Pill" */ | ||
.anisa-user-menu, | |||
.vector-user-links, | .vector-user-links, | ||
. | #p-personal, | ||
.user-tools { | |||
background-color: rgba(255, 255, 255, 0.9) !important; | background-color: rgba(255, 255, 255, 0.9) !important; | ||
padding: | padding: 8px 15px !important; | ||
border-bottom: 2px solid #3e5a47 !important; | border-bottom: 2px solid #3e5a47 !important; | ||
border-left: 2px solid #3e5a47 !important; | border-left: 2px solid #3e5a47 !important; | ||
border-bottom-left-radius: 12px !important; | border-bottom-left-radius: 12px !important; | ||
box-shadow: -2px 2px 5px rgba(0,0,0,0.1) !important; | box-shadow: -2px 2px 5px rgba(0,0,0,0.1) !important; | ||
} | } | ||
/* 4. | /* 4. CONTENT AREA FIX */ | ||
# | #content, .mw-body { | ||
background: | background-color: rgba(255, 255, 255, 0.95) !important; | ||
border: 1px solid #3e5a47 !important; | border: 1px solid #3e5a47 !important; | ||
border-radius: | border-radius: 5px !important; | ||
margin-top: - | padding: 20px !important; | ||
} | |||
/* 5. THE CLEAN FOOTER BACKING (Credits & Last Edited) */ | |||
#footer, .mw-footer, .anisa-footer { | |||
background-color: rgba(255, 255, 255, 0.9) !important; | |||
border-top: 3px solid #3e5a47 !important; | |||
margin-top: 20px !important; | |||
padding: 20px !important; | |||
color: #2d4234 !important; | |||
font-family: "Georgia", serif !important; | |||
font-size: 11px !important; | |||
text-align: center !important; | |||
} | } | ||
/* | /* 6. INFOBOX (Yellow & Green) */ | ||
.portable-infobox { | .portable-infobox { | ||
background-color: #ffffff !important; | background-color: #ffffff !important; | ||
border: 2px solid #3e5a47 !important; | border: 2px solid #3e5a47 !important; | ||
} | } | ||
.portable-infobox .pi-title { | .portable-infobox .pi-title { | ||
background-color: #ffd700 !important; | background-color: #ffd700 !important; | ||
color: #2d4234 | color: #2d4234 !important; | ||
} | } | ||
.portable-infobox .pi-header { | .portable-infobox .pi-header { | ||
background-color: #3e5a47 !important; | background-color: #3e5a47 !important; | ||
color: #ffffff | color: #ffffff !important; | ||
} | } | ||
/* | /* 7. SEARCH BAR (Anisa Specific) */ | ||
# | .anisa-search-container, #p-search { | ||
background | background: #ffffff !important; | ||
border: 1px solid #3e5a47 !important; | border: 1px solid #3e5a47 !important; | ||
border-radius: 5px !important; | border-radius: 4px !important; | ||
margin-top: -5px !important; | |||
} | } | ||
/* 8. LEAF DECORATIONS */ | |||
/* 8. LEAF DECORATIONS | |||
.mw-parser-output h2::before { content: "\1F343 " !important; } | .mw-parser-output h2::before { content: "\1F343 " !important; } | ||
.mw-parser-output::after { | .mw-parser-output::after { | ||
| Line 107: | Line 95: | ||
display: block !important; | display: block !important; | ||
text-align: center !important; | text-align: center !important; | ||
margin | margin: 40px 0 !important; | ||
color: #3e5a47 !important; | color: #3e5a47 !important; | ||
} | } | ||
Revision as of 03:02, 12 March 2026
/* ============================================================
KH LEAF THEME - ANISA SKIN SPECIALIZED VERSION
============================================================ */
/* 1. GLOBAL BACKGROUND */
html, body {
background-image: url("http://localhost/wiki/images/a/a4/WIKI_BACKGROUND.jpeg") !important;
background-color: #f0f0f0 !important;
background-repeat: no-repeat !important;
background-attachment: fixed !important;
background-position: center center !important;
background-size: cover !important;
}
/* 2. ANISA SIDEBAR & WIKI NAME BACKING */
/* Targets the specific drawer and site-branding classes in Anisa */
.anisa-sidebar,
.anisa-drawer,
#mw-navigation,
.site-branding,
.anisa-logo-container {
background-color: rgba(255, 255, 255, 0.9) !important;
border-right: 3px solid #3e5a47 !important;
box-shadow: 2px 0 10px rgba(0,0,0,0.1) !important;
}
/* Fixes the Wiki Name / Site Title specifically */
.site-branding a, .anisa-wiki-title {
color: #3e5a47 !important;
font-weight: bold !important;
font-family: "Georgia", serif !important;
padding: 5px 10px !important;
}
/* 3. TOP RIGHT UI (Username & Alerts) - The "Pill" */
.anisa-user-menu,
.vector-user-links,
#p-personal,
.user-tools {
background-color: rgba(255, 255, 255, 0.9) !important;
padding: 8px 15px !important;
border-bottom: 2px solid #3e5a47 !important;
border-left: 2px solid #3e5a47 !important;
border-bottom-left-radius: 12px !important;
box-shadow: -2px 2px 5px rgba(0,0,0,0.1) !important;
}
/* 4. CONTENT AREA FIX */
#content, .mw-body {
background-color: rgba(255, 255, 255, 0.95) !important;
border: 1px solid #3e5a47 !important;
border-radius: 5px !important;
padding: 20px !important;
}
/* 5. THE CLEAN FOOTER BACKING (Credits & Last Edited) */
#footer, .mw-footer, .anisa-footer {
background-color: rgba(255, 255, 255, 0.9) !important;
border-top: 3px solid #3e5a47 !important;
margin-top: 20px !important;
padding: 20px !important;
color: #2d4234 !important;
font-family: "Georgia", serif !important;
font-size: 11px !important;
text-align: center !important;
}
/* 6. INFOBOX (Yellow & Green) */
.portable-infobox {
background-color: #ffffff !important;
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;
}
/* 7. SEARCH BAR (Anisa Specific) */
.anisa-search-container, #p-search {
background: #ffffff !important;
border: 1px solid #3e5a47 !important;
border-radius: 4px !important;
margin-top: -5px !important;
}
/* 8. LEAF DECORATIONS */
.mw-parser-output h2::before { content: "\1F343 " !important; }
.mw-parser-output::after {
content: "🍃\A END OF ENTRY";
white-space: pre !important;
display: block !important;
text-align: center !important;
margin: 40px 0 !important;
color: #3e5a47 !important;
}