MediaWiki:Anisa.css: Difference between revisions
No edit summary |
m 4 revisions imported |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
/* FORCE OVERRIDE FOR ANISA */ | |||
/* | :root { | ||
--kh-green: #3e5a47 !important; | |||
--kh-yellow: #ffd700 !important; | |||
} | |||
/* Force links to Green */ | |||
a, .mw-body a { color: #3e5a47 !important; } | |||
a:visited { color: #2d4234 !important; } | |||
/* Force headers to Green */ | |||
.mw-parser-output h2, | |||
.mw-parser-output h3 { | |||
border-bottom: 2px solid #3e5a47 !important; | |||
color: #3e5a47 !important; | |||
} | |||
/* 1. | /* Version 1.0.2 - KH Leaf Unified */ | ||
/* | /* 1. UNIVERSAL COLOR VARIABLES */ | ||
:root { | :root { | ||
--kh-green: #3e5a47; | --kh-green: #3e5a47; | ||
| Line 13: | Line 24: | ||
--kh-dark-text: #2d4234; | --kh-dark-text: #2d4234; | ||
--kh-light-bg: #f9fdfa; | --kh-light-bg: #f9fdfa; | ||
--kh-label-bg: #f2f2f2; | --kh-label-bg: #f2f2f2; | ||
--kh-data-bg: #ffffff; | --kh-data-bg: #ffffff; | ||
} | } | ||
/* | /* 2. PORTABLE INFOBOX: EDGE-TO-EDGE & SPLIT ROW FIX */ | ||
.portable-infobox { | .portable-infobox { | ||
width: 300px; | width: 300px; | ||
| Line 31: | Line 42: | ||
} | } | ||
.portable-infobox .pi-title { | .portable-infobox .pi-title { | ||
background-color: var(--kh-yellow) !important; | background-color: var(--kh-yellow) !important; | ||
| Line 45: | Line 55: | ||
} | } | ||
.portable-infobox .pi-header { | .portable-infobox .pi-header { | ||
background-color: var(--kh-green) !important; | background-color: var(--kh-green) !important; | ||
| Line 58: | Line 67: | ||
} | } | ||
.portable-infobox .pi-data { | .portable-infobox .pi-data { | ||
display: flex !important; | display: flex !important; | ||
padding: 0 !important; | padding: 0 !important; | ||
border-bottom: 1px solid #ddd; | border-bottom: 1px solid #ddd; | ||
align-items: stretch; | align-items: stretch; | ||
} | } | ||
.portable-infobox .pi-data-label { | .portable-infobox .pi-data-label { | ||
background-color: var(--kh-label-bg) !important; | background-color: var(--kh-label-bg) !important; | ||
| Line 75: | Line 82: | ||
text-transform: uppercase; | text-transform: uppercase; | ||
padding: 8px 12px !important; | padding: 8px 12px !important; | ||
flex: 0 0 40%; | flex: 0 0 40% !important; | ||
border-right: 1px solid #ddd; | border-right: 1px solid #ddd; | ||
display: flex; | display: flex; | ||
| Line 81: | Line 88: | ||
} | } | ||
.portable-infobox .pi-data-value { | .portable-infobox .pi-data-value { | ||
background-color: var(--kh-data-bg) !important; | background-color: var(--kh-data-bg) !important; | ||
padding: 8px 12px !important; | padding: 8px 12px !important; | ||
flex: 1; | flex: 1; | ||
font-size: 0.95em; | font-size: 0.95em; | ||
display: flex; | display: flex; | ||
| Line 91: | Line 97: | ||
} | } | ||
.portable-infobox .pi-image { | .portable-infobox .pi-image { | ||
padding: 0; | padding: 0; | ||
| Line 104: | Line 109: | ||
} | } | ||
/* | /* 3. CONTENT DECORATIONS */ | ||
.mw-parser-output h2, | .mw-parser-output h2, | ||
.mw-parser-output h3 { | .mw-parser-output h3 { | ||
| Line 113: | Line 118: | ||
} | } | ||
.mw-parser-output h2::before { content: "\1F343 | .mw-parser-output h2::before { content: "\1F343\0020"; font-size: 1.2em; } | ||
.mw-parser-output h3::before { content: "\1F343 | .mw-parser-output h3::before { content: "\1F343\0020"; font-size: 1em; } | ||
/* | /* 4. TABLE OF CONTENTS */ | ||
#toc, .toc, .mw-toc { | #toc, .toc, .mw-toc { | ||
border: 2px solid var(--kh-green) !important; | border: 2px solid var(--kh-green) !important; | ||
| Line 126: | Line 131: | ||
.toctext { color: var(--kh-green) !important; font-family: 'Cinzel', serif; } | .toctext { color: var(--kh-green) !important; font-family: 'Cinzel', serif; } | ||
/* | /* 5. AUTOMATIC FOOTER */ | ||
.mw-parser-output::after { | .mw-parser-output::after { | ||
content: " | content: "\1F343\000A END OF ENTRY"; | ||
white-space: pre !important; | white-space: pre !important; | ||
display: block !important; | display: block !important; | ||
| Line 141: | Line 146: | ||
} | } | ||
/* | /* 6. SIDEBAR & NAVIGATION OVERRIDES */ | ||
.vector-menu-portal .vector-menu-heading, | .vector-menu-portal .vector-menu-heading, | ||
#p-navigation h3, | #p-navigation h3, | ||
| Line 157: | Line 155: | ||
letter-spacing: 1px; | letter-spacing: 1px; | ||
font-weight: bold; | font-weight: bold; | ||
border-bottom: 1px solid var(--kh-yellow); | border-bottom: 1px solid var(--kh-yellow) !important; | ||
margin-bottom: 8px; | margin-bottom: 8px; | ||
} | |||
/* 7. ANISA SPECIFIC FORCE-KILL BLUE */ | |||
.skin-anisa { | |||
--kh-green: #3e5a47 !important; | |||
--kh-yellow: #ffd700 !important; | |||
} | |||
.skin-anisa a { color: #3e5a47 !important; } | |||
.skin-anisa a:visited { color: #2d4234 !important; } | |||
.skin-anisa a.new { color: #ba0000 !important; } /* Red for broken links */ | |||
.skin-anisa .mw-parser-output h2 { border-bottom-color: #3e5a47 !important; } | |||
/* Compatibility Shield */ | |||
#p-cactions h3::before, | |||
#p-search h3::before, | |||
.vector-menu-heading::before { | |||
content: none !important; | |||
} | } | ||