MediaWiki:Common.css: Difference between revisions
From Lenn's Fun Stuff
No edit summary Tags: Mobile edit Mobile web edit |
No edit summary Tags: Mobile edit Mobile web edit |
||
| Line 1: | Line 1: | ||
/* Version 1.1. | /* Version 1.1.3 - Universal KH Leaf (Manual Bubble & Cosmos Fix) */ | ||
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@700&family=Crimson+Pro:wght@400;700&display=swap'); | @import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@700&family=Crimson+Pro:wght@400;700&display=swap'); | ||
| Line 13: | Line 13: | ||
} | } | ||
/* 2. | /* 2. CENTER THE CONTENT (Fandom Style Force) */ | ||
/* | #cosmos-content, .mw-body, #content { | ||
max-width: 1200px !important; | |||
margin: 40px auto !important; | |||
padding: 30px !important; | |||
background-color: #ffffff !important; | |||
border: 1px solid #ddd !important; | |||
box-shadow: 0 0 15px rgba(0,0,0,0.05) !important; | |||
border-radius: 4px !important; | |||
} | |||
/* 3. UNIVERSAL HEADERS & LINKS */ | |||
a { color: var(--kh-green); } | a { color: var(--kh-green); } | ||
a:visited { color: var(--kh-dark-text); } | a:visited { color: var(--kh-dark-text); } | ||
a.new { color: #ba0000 !important; } | a.new { color: #ba0000 !important; } | ||
h1, h2, h3, h4, .mw-headline { | h1, h2, h3, h4, .mw-headline { | ||
color: var(--kh-green) !important; | color: var(--kh-green) !important; | ||
| Line 27: | Line 36: | ||
h2::before, h3::before { content: "\1F343\0020"; display: inline-block; } | h2::before, h3::before { content: "\1F343\0020"; display: inline-block; } | ||
/* 4. | /* 4. THE FLOATING LEAF BUBBLE (Manual Recode) */ | ||
#p-cactions { | |||
position: fixed !important; | |||
bottom: 40px !important; | |||
right: 40px !important; | |||
z-index: 1000 !important; | |||
} | } | ||
#p-cactions h3 { | |||
width: 65px !important; | |||
height: 65px !important; | |||
background: var(--kh-green) !important; | |||
border: 3px solid var(--kh-yellow) !important; | |||
border-radius: 50% !important; | |||
display: flex !important; | display: flex !important; | ||
align-items: center !important; | |||
align-items: | justify-content: center !important; | ||
cursor: pointer !important; | |||
box-shadow: 0 4px 15px rgba(0,0,0,0.4) !important; | |||
color: white !important; | |||
font-size: 0 !important; | |||
} | } | ||
#p-cactions h3::before { | |||
# | content: "🍃" !important; | ||
font-size: 25px !important; | |||
} | } | ||
#p-cactions .vector-menu-content, #p-cactions .dropdown { | |||
display: none !important; | |||
background | position: absolute !important; | ||
border | bottom: 80px !important; | ||
right: 0 !important; | |||
background: var(--kh-green) !important; | |||
border: 2px solid var(--kh-yellow) !important; | |||
border-radius: 10px !important; | |||
min-width: 180px !important; | |||
padding: 10px 0 !important; | |||
} | } | ||
#p-cactions:hover .vector-menu-content { | |||
display: block !important; | display: block !important; | ||
} | } | ||
#p-cactions li a { | |||
color: white !important; | |||
# | |||
color: | |||
font-family: 'Cinzel', serif !important; | font-family: 'Cinzel', serif !important; | ||
padding: 10px 20px !important; | padding: 10px 20px !important; | ||
display: block !important; | display: block !important; | ||
| Line 111: | Line 88: | ||
} | } | ||
#p-cactions li a:hover { | |||
background: var(--kh-yellow) !important; | |||
# | |||
background | |||
color: var(--kh-dark-text) !important; | color: var(--kh-dark-text) !important; | ||
} | } | ||
/* | /* 5. USER TOOLS & NOTIFICATIONS FIX */ | ||
#p-personal { | |||
position: absolute !important; | |||
top: 15px !important; | |||
right: 20px !important; | |||
z-index: 1001 !important; | |||
} | } | ||
#p-personal li a { | |||
# | color: white !important; | ||
font-weight: bold !important; | |||
} | } | ||
/* | /* 6. AUTOMATIC FOOTER */ | ||
.mw-parser-output::after { | |||
content: "\1F343\000A END OF ENTRY"; | |||
white-space: pre !important; | |||
border- | display: block !important; | ||
text-align: center !important; | |||
margin-top: 50px !important; | |||
padding-top: 20px !important; | |||
border-top: 1px solid var(--kh-green) !important; | |||
color: var(--kh-green) !important; | |||
font-family: 'Cinzel', serif; | |||
} | } | ||
Revision as of 01:23, 15 March 2026
/* Version 1.1.3 - Universal KH Leaf (Manual Bubble & Cosmos Fix) */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@700&family=Crimson+Pro:wght@400;700&display=swap');
/* 1. GLOBAL VARIABLES */
:root {
--kh-green: #3e5a47;
--kh-yellow: #ffd700;
--kh-dark-text: #2d4234;
--kh-light-bg: #f9fdfa;
--kh-label-bg: #f2f2f2;
--kh-data-bg: #ffffff;
--kh-border: 2px solid var(--kh-green);
}
/* 2. CENTER THE CONTENT (Fandom Style Force) */
#cosmos-content, .mw-body, #content {
max-width: 1200px !important;
margin: 40px auto !important;
padding: 30px !important;
background-color: #ffffff !important;
border: 1px solid #ddd !important;
box-shadow: 0 0 15px rgba(0,0,0,0.05) !important;
border-radius: 4px !important;
}
/* 3. UNIVERSAL HEADERS & LINKS */
a { color: var(--kh-green); }
a:visited { color: var(--kh-dark-text); }
a.new { color: #ba0000 !important; }
h1, h2, h3, h4, .mw-headline {
color: var(--kh-green) !important;
font-family: 'Cinzel', serif !important;
}
h1, h2 { border-bottom: var(--kh-border) !important; }
h2::before, h3::before { content: "\1F343\0020"; display: inline-block; }
/* 4. THE FLOATING LEAF BUBBLE (Manual Recode) */
#p-cactions {
position: fixed !important;
bottom: 40px !important;
right: 40px !important;
z-index: 1000 !important;
}
#p-cactions h3 {
width: 65px !important;
height: 65px !important;
background: var(--kh-green) !important;
border: 3px solid var(--kh-yellow) !important;
border-radius: 50% !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
cursor: pointer !important;
box-shadow: 0 4px 15px rgba(0,0,0,0.4) !important;
color: white !important;
font-size: 0 !important;
}
#p-cactions h3::before {
content: "🍃" !important;
font-size: 25px !important;
}
#p-cactions .vector-menu-content, #p-cactions .dropdown {
display: none !important;
position: absolute !important;
bottom: 80px !important;
right: 0 !important;
background: var(--kh-green) !important;
border: 2px solid var(--kh-yellow) !important;
border-radius: 10px !important;
min-width: 180px !important;
padding: 10px 0 !important;
}
#p-cactions:hover .vector-menu-content {
display: block !important;
}
#p-cactions li a {
color: white !important;
font-family: 'Cinzel', serif !important;
padding: 10px 20px !important;
display: block !important;
text-decoration: none !important;
}
#p-cactions li a:hover {
background: var(--kh-yellow) !important;
color: var(--kh-dark-text) !important;
}
/* 5. USER TOOLS & NOTIFICATIONS FIX */
#p-personal {
position: absolute !important;
top: 15px !important;
right: 20px !important;
z-index: 1001 !important;
}
#p-personal li a {
color: white !important;
font-weight: bold !important;
}
/* 6. AUTOMATIC FOOTER */
.mw-parser-output::after {
content: "\1F343\000A END OF ENTRY";
white-space: pre !important;
display: block !important;
text-align: center !important;
margin-top: 50px !important;
padding-top: 20px !important;
border-top: 1px solid var(--kh-green) !important;
color: var(--kh-green) !important;
font-family: 'Cinzel', serif;
}