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.3 - Universal KH Leaf (Manual Bubble & Cosmos Fix) */
/* Version 1.1.4 - Universal KH Leaf (Clean Base for Cosmos & Anisa) */
@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. CENTER THE CONTENT (Fandom Style Force) */
/* 2. UNIVERSAL COLORS & FONTS */
#cosmos-content, .mw-body, #content {
body {
     max-width: 1200px !important;
     font-family: 'Crimson Pro', serif !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); }
Line 36: Line 29:
h2::before, h3::before { content: "\1F343\0020"; display: inline-block; }
h2::before, h3::before { content: "\1F343\0020"; display: inline-block; }


/* 4. THE FLOATING LEAF BUBBLE (Manual Recode) */
/* 3. UNIVERSAL SKIN ELEMENTS */
#p-cactions {
/* This colors the header for both Cosmos and Anisa */
     position: fixed !important;
#cosmos-header, #cosmos-navigation, .anisa-header, .vector-header, .header-container {
     bottom: 40px !important;
     background-color: var(--kh-green) !important;
    right: 40px !important;
     border-bottom: 3px solid var(--kh-yellow) !important;
    z-index: 1000 !important;
}
}


#p-cactions h3 {
/* 4. COSMOS SPECIFIC (Clean Customization) */
    width: 65px !important;
/* This targets the Cosmos "Command Menu" bubble without forcing its position */
    height: 65px !important;
.cosmos-menu, .cosmos-button {
    background: var(--kh-green) !important;
     background-color: 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: 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 {
/* 5. ANISA SPECIFIC (Clean Customization) */
     color: white !important;
.skin-anisa #mw-content-block {
     font-weight: bold !important;
     background-color: var(--kh-light-bg);
     border-radius: 8px;
}
}



Revision as of 01:26, 15 March 2026

/* Version 1.1.4 - Universal KH Leaf (Clean Base for Cosmos & Anisa) */
@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. UNIVERSAL COLORS & FONTS */
body {
    font-family: 'Crimson Pro', serif !important;
}

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; }

/* 3. UNIVERSAL SKIN ELEMENTS */
/* This colors the header for both Cosmos and Anisa */
#cosmos-header, #cosmos-navigation, .anisa-header, .vector-header, .header-container {
    background-color: var(--kh-green) !important;
    border-bottom: 3px solid var(--kh-yellow) !important;
}

/* 4. COSMOS SPECIFIC (Clean Customization) */
/* This targets the Cosmos "Command Menu" bubble without forcing its position */
.cosmos-menu, .cosmos-button {
    background-color: var(--kh-green) !important;
    border: 2px solid var(--kh-yellow) !important;
}

/* 5. ANISA SPECIFIC (Clean Customization) */
.skin-anisa #mw-content-block {
    background-color: var(--kh-light-bg);
    border-radius: 8px;
}

/* 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;
}