Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Citizen.css: Difference between revisions

MediaWiki interface page
No edit summary
No edit summary
Line 1: Line 1:
/* Custom Earth & Swamp Palette with Frosted Glass Effects */
/* Inject higher root authority to completely force variable changes */
:root,
:root,
.skin-theme-clientpref-night,
.skin-theme-clientpref-night,
html.skin-citizen-dark {
html.skin-citizen-dark {
     /* 1. Canvas Background - Deep, rich swamp water green */
     /* 1. Main Background: A lively linear gradient instead of a dark solid color */
     --color-surface-0: #1b241c !important;  
    background: linear-gradient(135deg, #1b351e 0%, #345c3a 50%, #4a7c4e 100%) !important;
    background-attachment: fixed !important;
 
    /* 2. Text Boxes & Containers: Translucent, warm earthy mud brown */
     --color-surface-1: rgba(77, 59, 45, 0.55) !important;  
      
      
     /* 2. Main Containers - Semi-transparent Earthy Mud Brown */
     /* 3. Dropdowns & Hover states: Opaque sand/clay brown */
     --color-surface-1: rgba(54, 43, 36, 0.65) !important;  
     --color-surface-2: rgba(105, 83, 65, 0.75) !important;  
   
     --color-surface-3: rgba(128, 102, 80, 0.85) !important;
    /* 3. Elevated Menus/Popups - Slightly more opaque Mud Brown */
 
     --color-surface-2: rgba(74, 59, 49, 0.8) !important;  
     /* 4. Layout Accents: A sunlit, lively moss green */
   
    --color-primary: #8eba59 !important;
     /* 4. Active Inputs & Borders - Weathered Clay / Dark Tan */
    --color-primary-variant: #a3d16b !important;
     --color-surface-3: rgba(100, 83, 71, 0.9) !important;
 
    /* 5. Typography: Off-white linen color to keep text ultra-readable */
     --color-base: #f7f4eb !important;
    --color-base-variant: #d6cfbe !important;


     /* 5. Interface Accents - Vibrant Moss/Foliage Green */
     /* 6. Rounded Corners: Smooth out all native Citizen panels globally */
     --color-primary: #6b8e23 !important;
     --border-radius-base: 14px !important;
    --color-primary-variant: #556b2f !important;
     --border-radius-large: 18px !important;
   
    /* Text overrides to preserve readability over dark wood tones */
    --color-base: #e6dfd3 !important;         /* Soft Cream Primary Text */
     --color-base-variant: #b5ad9e !important; /* Muted Sand Secondary Text */
}
}


/* Force modern browsers to render a frosted blur behind the content panels */
/* Force transparency, glass blur, and rounded corners onto the main body containers */
.mw-page-container,  
.mw-page-container,
.skin-citizen-sidebar,
.skin-citizen-sidebar,
.ext-visualEditor-theme-citizen,
.ext-visualEditor-theme-citizen,
.mw-portlet,  
.mw-portlet,
.oo-ui-panelLayout {
.oo-ui-panelLayout,
.mw-body {
     background-color: var(--color-surface-1) !important;
     background-color: var(--color-surface-1) !important;
     backdrop-filter: blur(12px) webkit-backdrop-filter(12px) !important;
     backdrop-filter: blur(14px) webkit-backdrop-filter(14px) !important;
     border: 1px solid rgba(255, 255, 255, 0.05) !important;
   
    /* Smooth, rounded box edges to remove sharp corners */
    border-radius: var(--border-radius-base) !important;
   
    /* Subtly separate the brown boxes from the green background gradient */
     border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2) !important;
}
 
/* Make sure the main content block inherits the rounded corners properly */
.mw-body {
    padding: 1.5em !important;
}
}


/* Keep headers readable and cleanly blurred over the swamp backdrop */
/* Brighten the header layout bar with glassmorphism */
#mw-header {
#mw-header {
     background-color: rgba(27, 36, 28, 0.75) !important;
     background-color: rgba(27, 53, 30, 0.6) !important;
     backdrop-filter: blur(10px) webkit-backdrop-filter(10px) !important;
     backdrop-filter: blur(10px) webkit-backdrop-filter(10px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}
}

Revision as of 05:58, 7 August 2026

/* Inject higher root authority to completely force variable changes */
:root,
.skin-theme-clientpref-night,
html.skin-citizen-dark {
    /* 1. Main Background: A lively linear gradient instead of a dark solid color */
    background: linear-gradient(135deg, #1b351e 0%, #345c3a 50%, #4a7c4e 100%) !important;
    background-attachment: fixed !important;

    /* 2. Text Boxes & Containers: Translucent, warm earthy mud brown */
    --color-surface-1: rgba(77, 59, 45, 0.55) !important; 
    
    /* 3. Dropdowns & Hover states: Opaque sand/clay brown */
    --color-surface-2: rgba(105, 83, 65, 0.75) !important; 
    --color-surface-3: rgba(128, 102, 80, 0.85) !important;

    /* 4. Layout Accents: A sunlit, lively moss green */
    --color-primary: #8eba59 !important;
    --color-primary-variant: #a3d16b !important;

    /* 5. Typography: Off-white linen color to keep text ultra-readable */
    --color-base: #f7f4eb !important;
    --color-base-variant: #d6cfbe !important;

    /* 6. Rounded Corners: Smooth out all native Citizen panels globally */
    --border-radius-base: 14px !important;
    --border-radius-large: 18px !important;
}

/* Force transparency, glass blur, and rounded corners onto the main body containers */
.mw-page-container,
.skin-citizen-sidebar,
.ext-visualEditor-theme-citizen,
.mw-portlet,
.oo-ui-panelLayout,
.mw-body {
    background-color: var(--color-surface-1) !important;
    backdrop-filter: blur(14px) webkit-backdrop-filter(14px) !important;
    
    /* Smooth, rounded box edges to remove sharp corners */
    border-radius: var(--border-radius-base) !important;
    
    /* Subtly separate the brown boxes from the green background gradient */
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2) !important;
}

/* Make sure the main content block inherits the rounded corners properly */
.mw-body {
    padding: 1.5em !important;
}

/* Brighten the header layout bar with glassmorphism */
#mw-header {
    background-color: rgba(27, 53, 30, 0.6) !important;
    backdrop-filter: blur(10px) webkit-backdrop-filter(10px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}