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

Template:Main Page/styles.css: Difference between revisions

Template page
No edit summary
No edit summary
Line 1: Line 1:
/* CONTAINER & FONTS */
/* --- GLOBAL CONTAINER --- */
.cs-home-container {
.cs-wrapper {
     max-width: 1200px;
     max-width: 1240px;
     margin: 0 auto;
     margin: 0 auto;
     font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
     font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
     color: #1a1a1a;
     color: #1f2937;
}
}


/* --- HERO SECTION (The Terminal Look) --- */
/* --- HERO: THE "IDE" LOOK --- */
.cs-hero {
.cs-ide-window {
     background-color: #0f172a; /* Dark Navy */
     background-color: #ffffff;
    color: #f8fafc;
    padding: 60px 20px;
     border-radius: 12px;
     border-radius: 12px;
     text-align: center;
     border: 1px solid #e5e7eb;
     margin-bottom: 40px;
     box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    position: relative;
     overflow: hidden;
     overflow: hidden;
     border: 1px solid #1e293b;
    margin-bottom: 50px;
    margin-top: 10px;
}
 
.cs-ide-header {
    background-color: #f3f4f6;
    padding: 10px 15px;
     border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    gap: 8px;
}
}


.cs-hero h1 {
/* Mac-style window dots */
     font-size: 2.5em;
.cs-dot {
     font-weight: 800;
     width: 12px;
     margin: 0 0 15px 0;
     height: 12px;
     color: #ffffff;
     border-radius: 50%;
    border: none;
     display: inline-block;
    line-height: 1.2;
}
}
.cs-dot.red { background: #ef4444; }
.cs-dot.yellow { background: #f59e0b; }
.cs-dot.green { background: #10b981; }


.cs-hero-tag {
.cs-ide-title {
    margin-left: 15px;
     font-family: 'Courier New', monospace;
     font-family: 'Courier New', monospace;
    color: #4ade80; /* Terminal Green */
    background: rgba(74, 222, 128, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
     font-size: 0.9em;
     font-size: 0.9em;
    color: #6b7280;
}
}


.cs-hero p {
.cs-ide-content {
     font-size: 1.1em;
    padding: 40px;
     color: #94a3b8;
    text-align: center;
}
 
.cs-ide-content h1 {
    font-size: 2.8em;
    font-weight: 800;
    margin: 0 0 10px 0;
    border: none;
    letter-spacing: -1px;
    color: #2563eb; /* Fallback to solid blue for safety */
}
 
.cs-ide-content p {
     font-size: 1.2em;
     color: #4b5563;
     max-width: 600px;
     max-width: 600px;
     margin: 0 auto 30px auto;
     margin: 0 auto 30px auto;
Line 46: Line 67:


/* --- SEARCH BAR --- */
/* --- SEARCH BAR --- */
.cs-search-box {
.cs-command-palette {
     max-width: 500px;
    background: #f9fafb;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 10px;
     max-width: 550px;
     margin: 0 auto;
     margin: 0 auto;
     background: #ffffff;
     display: flex;
     padding: 8px;
     align-items: center;
    border-radius: 8px;
     box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.05);
     box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
}


/* Overriding MW InputBox defaults */
.cs-command-palette input {
.cs-search-box input {
    background: transparent !important;
     border: none !important;
     border: none !important;
     background: transparent !important;
     font-family: 'Courier New', monospace !important;
    font-size: 1.1em !important;
    width: 100% !important;
     outline: none !important;
     outline: none !important;
     font-size: 16px !important;
    color: #374151 !important;
     color: #333 !important;
}
     width: 100% !important;
 
/* --- SECTION HEADERS --- */
.cs-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    margin-top: 50px;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 10px;
}
 
.cs-section-head h2 {
    font-size: 1.5em;
    font-weight: 700;
    margin: 0;
    border: none;
    color: #111827;
}
 
.cs-tag {
     font-size: 0.75em;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
     color: #6b7280;
    background: #f3f4f6;
    padding: 4px 8px;
     border-radius: 4px;
}
}


/* --- BENTO GRID LAYOUT --- */
/* --- GRID LAYOUT --- */
.cs-bento-grid {
.cs-grid {
     display: grid;
     display: grid;
     grid-template-columns: repeat(4, 1fr);
    /* Basic grid setup */
    grid-auto-rows: minmax(180px, auto);
     grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
     gap: 20px;
     gap: 25px;
    margin-bottom: 40px;
}
}


/* CARD STYLES */
/* --- FEATURE CARDS --- */
.cs-tile {
.cs-card {
     background: #ffffff;
     background: #ffffff;
     border: 1px solid #e2e8f0;
     border: 1px solid #e5e7eb;
     border-radius: 12px;
     border-radius: 10px;
     padding: 24px;
     padding: 25px;
     transition: transform 0.2s ease, box-shadow 0.2s ease;
     transition: all 0.2s ease;
    position: relative;
    top: 0;
    height: 100%;
     display: flex;
     display: flex;
     flex-direction: column;
     flex-direction: column;
    position: relative;
    overflow: hidden;
}
}


.cs-tile:hover {
.cs-card:hover {
     transform: translateY(-2px);
     top: -5px;
     box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
     box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.1);
     border-color: #cbd5e1;
     border-color: #3b82f6;
}
 
.cs-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    gap: 12px;
}
 
.cs-icon-box {
    width: 40px;
    height: 40px;
    background: #eff6ff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    color: #2563eb;
}
}


/* Typography inside tiles */
/* Specific colors for icons */
.cs-tile h3 {
.cs-icon-green { background: #ecfdf5; color: #059669; }
     margin-top: 0;
.cs-icon-purple { background: #f5f3ff; color: #7c3aed; }
     font-size: 1.2em;
.cs-icon-orange { background: #fff7ed; color: #ea580c; }
.cs-icon-red { background: #fef2f2; color: #dc2626; }
 
.cs-card h3 {
     margin: 0;
     font-size: 1.25em;
     border: none;
     border: none;
     font-weight: 700;
     font-weight: 700;
    margin-bottom: 10px;
}
}


.cs-tile ul {
.cs-card-desc {
    color: #6b7280;
    font-size: 0.95em;
    margin-bottom: 20px;
    line-height: 1.5;
    flex-grow: 1;
}
 
/* Styled Lists inside cards */
.cs-link-list {
     list-style: none;
     list-style: none;
     margin: 0;
     margin: 0;
     padding: 0;
     padding: 0;
     font-size: 0.95em;
     border-top: 1px solid #f3f4f6;
    padding-top: 15px;
}
}


.cs-tile ul li {
.cs-link-list li {
     margin-bottom: 6px;
     margin-bottom: 8px;
     padding-left: 0;
     padding-left: 0;
}
}


.cs-tile ul li a {
.cs-link-list li a {
     text-decoration: none;
     text-decoration: none;
     color: #475569;
     color: #374151;
    font-weight: 500;
    font-size: 0.95em;
     display: block;
     display: block;
     padding: 2px 0;
    transition: color 0.2s;
}
 
.cs-link-list li a:hover {
    color: #2563eb;
}
 
/* --- STATS BAR --- */
.cs-stats-bar {
    background: #111827;
    color: white;
     padding: 30px;
    border-radius: 12px;
    margin-top: 60px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    text-align: center;
}
}


.cs-tile ul li a:hover {
.cs-stat-item strong {
     color: #2563eb; /* Blue hover */
     display: block;
     padding-left: 4px; /* Slide effect */
     font-size: 2.5em;
     transition: padding 0.2s;
     color: #60a5fa;
}
}


.cs-tile-footer {
.cs-stat-item span {
     margin-top: auto;
     color: #9ca3af;
    padding-top: 15px;
    font-size: 0.85em;
    font-weight: bold;
     text-transform: uppercase;
     text-transform: uppercase;
     letter-spacing: 0.5px;
    font-size: 0.8em;
     letter-spacing: 1px;
}
 
/* --- RESPONSIVE TWEAKS --- */
@media (max-width: 768px) {
    .cs-ide-content h1 { font-size: 2em; }
    .cs-grid { grid-template-columns: 1fr; }
    .cs-stats-bar { flex-direction: column; gap: 20px; }
}
 
/* ========================================= */
/* === DARK MODE OVERRIDES (Citizen Skin) === */
/* ========================================= */
 
html.skin-theme-clientpref-night .cs-wrapper {
    color: #e5e7eb;
}
}


.cs-tile-footer a {
/* Hero Dark Mode */
     text-decoration: none;
html.skin-theme-clientpref-night .cs-ide-window {
     color: #0f172a;
     background-color: #1f2937;
     border-color: #374151;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
}
 
html.skin-theme-clientpref-night .cs-ide-header {
    background-color: #111827;
    border-color: #374151;
}
}


/* --- FEATURED TILES (Bento Sizing) --- */
html.skin-theme-clientpref-night .cs-ide-title {
/* The "Big" Feature Tile (Span 2 cols, 2 rows) */
     color: #9ca3af;
.cs-span-2-2 {
     grid-column: span 2;
    grid-row: span 2;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    border: none;
}
}


.cs-span-2-2 h3, .cs-span-2-2 a { color: white !important; }
html.skin-theme-clientpref-night .cs-ide-content h1 {
.cs-span-2-2 ul li a:hover { color: #bfdbfe; }
    color: #60a5fa; /* Brighter blue for dark mode */
}


/* Wide Tiles (Span 2 cols) */
html.skin-theme-clientpref-night .cs-ide-content p {
.cs-span-2 { grid-column: span 2; }
    color: #d1d5db;
}


/* Tall Tiles (Span 2 rows) */
/* Search Dark Mode */
.cs-span-row-2 { grid-row: span 2; }
html.skin-theme-clientpref-night .cs-command-palette {
    background: #111827;
    border-color: #4b5563;
}


/* --- ICONS & DECORATION --- */
html.skin-theme-clientpref-night .cs-command-palette input {
.cs-icon {
    color: #f3f4f6 !important;
     font-size: 2em;
}
    margin-bottom: 15px;
 
    display: inline-block;
/* Section Headers Dark Mode */
html.skin-theme-clientpref-night .cs-section-head {
     border-color: #374151;
}
}


/* --- RESPONSIVE --- */
html.skin-theme-clientpref-night .cs-section-head h2 {
@media (max-width: 1024px) {
     color: #f9fafb;
    .cs-bento-grid { grid-template-columns: repeat(2, 1fr); }
     .cs-span-2-2 { grid-column: span 2; grid-row: auto; }
}
}


@media (max-width: 600px) {
html.skin-theme-clientpref-night .cs-tag {
    .cs-bento-grid { grid-template-columns: 1fr; }
     background: #374151;
    .cs-span-2, .cs-span-2-2 { grid-column: span 1; }
     color: #d1d5db;
     .cs-hero { padding: 40px 15px; }
     .cs-hero h1 { font-size: 1.8em; }
}
}


/* --- CITIZEN DARK MODE OVERRIDES --- */
/* Card Dark Mode */
/* We target the html class Citizen adds */
html.skin-theme-clientpref-night .cs-card {
html.skin-theme-clientpref-night .cs-home-container { color: #e2e8f0; }
    background-color: #1f2937;
    border-color: #374151;
}


html.skin-theme-clientpref-night .cs-hero {
html.skin-theme-clientpref-night .cs-card:hover {
     background-color: #020617; /* Even darker for hero */
     background-color: #273548;
     border-color: #1e293b;
     border-color: #60a5fa;
}
}


html.skin-theme-clientpref-night .cs-tile {
html.skin-theme-clientpref-night .cs-card h3 {
    background-color: #1e293b; /* Dark card bg */
     color: #f3f4f6;
    border-color: #334155;
     color: #f1f5f9;
}
}


html.skin-theme-clientpref-night .cs-tile:hover {
html.skin-theme-clientpref-night .cs-card-desc {
     background-color: #263346;
     color: #9ca3af;
    border-color: #475569;
}
}


html.skin-theme-clientpref-night .cs-tile h3 { color: #f8fafc; }
/* Card Icons Dark Mode */
html.skin-theme-clientpref-night .cs-tile ul li a { color: #cbd5e1; }
html.skin-theme-clientpref-night .cs-icon-box { background: #1e3a8a; color: #93c5fd; }
html.skin-theme-clientpref-night .cs-tile ul li a:hover { color: #60a5fa; } /* Light blue hover */
html.skin-theme-clientpref-night .cs-icon-green { background: #064e3b; color: #6ee7b7; }
html.skin-theme-clientpref-night .cs-tile-footer a { color: #94a3b8; }
html.skin-theme-clientpref-night .cs-icon-purple { background: #4c1d95; color: #c4b5fd; }
html.skin-theme-clientpref-night .cs-icon-orange { background: #7c2d12; color: #fdba74; }
html.skin-theme-clientpref-night .cs-icon-red { background: #7f1d1d; color: #fca5a5; }


/* Keep the Main Feature blue tile bright, but adjust border */
/* Links Dark Mode */
html.skin-theme-clientpref-night .cs-span-2-2 {
html.skin-theme-clientpref-night .cs-link-list {
     border: 1px solid #1e3a8a;
     border-top-color: #374151;
}
}


html.skin-theme-clientpref-night .cs-search-box {
html.skin-theme-clientpref-night .cs-link-list li a {
     background: #334155;
     color: #d1d5db;
}
}


html.skin-theme-clientpref-night .cs-search-box input {
html.skin-theme-clientpref-night .cs-link-list li a:hover {
     color: #ffffff !important;
     color: #60a5fa;
}
}

Revision as of 23:14, 22 November 2025

/* --- GLOBAL CONTAINER --- */
.cs-wrapper {
    max-width: 1240px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #1f2937;
}

/* --- HERO: THE "IDE" LOOK --- */
.cs-ide-window {
    background-color: #ffffff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 50px;
    margin-top: 10px;
}

.cs-ide-header {
    background-color: #f3f4f6;
    padding: 10px 15px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Mac-style window dots */
.cs-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}
.cs-dot.red { background: #ef4444; }
.cs-dot.yellow { background: #f59e0b; }
.cs-dot.green { background: #10b981; }

.cs-ide-title {
    margin-left: 15px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: #6b7280;
}

.cs-ide-content {
    padding: 40px;
    text-align: center;
}

.cs-ide-content h1 {
    font-size: 2.8em;
    font-weight: 800;
    margin: 0 0 10px 0;
    border: none;
    letter-spacing: -1px;
    color: #2563eb; /* Fallback to solid blue for safety */
}

.cs-ide-content p {
    font-size: 1.2em;
    color: #4b5563;
    max-width: 600px;
    margin: 0 auto 30px auto;
}

/* --- SEARCH BAR --- */
.cs-command-palette {
    background: #f9fafb;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 10px;
    max-width: 550px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.05);
}

.cs-command-palette input {
    background: transparent !important;
    border: none !important;
    font-family: 'Courier New', monospace !important;
    font-size: 1.1em !important;
    width: 100% !important;
    outline: none !important;
    color: #374151 !important;
}

/* --- SECTION HEADERS --- */
.cs-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    margin-top: 50px;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 10px;
}

.cs-section-head h2 {
    font-size: 1.5em;
    font-weight: 700;
    margin: 0;
    border: none;
    color: #111827;
}

.cs-tag {
    font-size: 0.75em;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
    color: #6b7280;
    background: #f3f4f6;
    padding: 4px 8px;
    border-radius: 4px;
}

/* --- GRID LAYOUT --- */
.cs-grid {
    display: grid;
    /* Basic grid setup */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

/* --- FEATURE CARDS --- */
.cs-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 25px;
    transition: all 0.2s ease;
    position: relative;
    top: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.cs-card:hover {
    top: -5px;
    box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.1);
    border-color: #3b82f6;
}

.cs-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    gap: 12px;
}

.cs-icon-box {
    width: 40px;
    height: 40px;
    background: #eff6ff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    color: #2563eb;
}

/* Specific colors for icons */
.cs-icon-green { background: #ecfdf5; color: #059669; }
.cs-icon-purple { background: #f5f3ff; color: #7c3aed; }
.cs-icon-orange { background: #fff7ed; color: #ea580c; }
.cs-icon-red { background: #fef2f2; color: #dc2626; }

.cs-card h3 {
    margin: 0;
    font-size: 1.25em;
    border: none;
    font-weight: 700;
}

.cs-card-desc {
    color: #6b7280;
    font-size: 0.95em;
    margin-bottom: 20px;
    line-height: 1.5;
    flex-grow: 1;
}

/* Styled Lists inside cards */
.cs-link-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid #f3f4f6;
    padding-top: 15px;
}

.cs-link-list li {
    margin-bottom: 8px;
    padding-left: 0;
}

.cs-link-list li a {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    font-size: 0.95em;
    display: block;
    transition: color 0.2s;
}

.cs-link-list li a:hover {
    color: #2563eb;
}

/* --- STATS BAR --- */
.cs-stats-bar {
    background: #111827;
    color: white;
    padding: 30px;
    border-radius: 12px;
    margin-top: 60px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    text-align: center;
}

.cs-stat-item strong {
    display: block;
    font-size: 2.5em;
    color: #60a5fa;
}

.cs-stat-item span {
    color: #9ca3af;
    text-transform: uppercase;
    font-size: 0.8em;
    letter-spacing: 1px;
}

/* --- RESPONSIVE TWEAKS --- */
@media (max-width: 768px) {
    .cs-ide-content h1 { font-size: 2em; }
    .cs-grid { grid-template-columns: 1fr; }
    .cs-stats-bar { flex-direction: column; gap: 20px; }
}

/* ========================================= */
/* === DARK MODE OVERRIDES (Citizen Skin) === */
/* ========================================= */

html.skin-theme-clientpref-night .cs-wrapper {
    color: #e5e7eb;
}

/* Hero Dark Mode */
html.skin-theme-clientpref-night .cs-ide-window {
    background-color: #1f2937;
    border-color: #374151;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
}

html.skin-theme-clientpref-night .cs-ide-header {
    background-color: #111827;
    border-color: #374151;
}

html.skin-theme-clientpref-night .cs-ide-title {
    color: #9ca3af;
}

html.skin-theme-clientpref-night .cs-ide-content h1 {
    color: #60a5fa; /* Brighter blue for dark mode */
}

html.skin-theme-clientpref-night .cs-ide-content p {
    color: #d1d5db;
}

/* Search Dark Mode */
html.skin-theme-clientpref-night .cs-command-palette {
    background: #111827;
    border-color: #4b5563;
}

html.skin-theme-clientpref-night .cs-command-palette input {
    color: #f3f4f6 !important;
}

/* Section Headers Dark Mode */
html.skin-theme-clientpref-night .cs-section-head {
    border-color: #374151;
}

html.skin-theme-clientpref-night .cs-section-head h2 {
    color: #f9fafb;
}

html.skin-theme-clientpref-night .cs-tag {
    background: #374151;
    color: #d1d5db;
}

/* Card Dark Mode */
html.skin-theme-clientpref-night .cs-card {
    background-color: #1f2937;
    border-color: #374151;
}

html.skin-theme-clientpref-night .cs-card:hover {
    background-color: #273548;
    border-color: #60a5fa;
}

html.skin-theme-clientpref-night .cs-card h3 {
    color: #f3f4f6;
}

html.skin-theme-clientpref-night .cs-card-desc {
    color: #9ca3af;
}

/* Card Icons Dark Mode */
html.skin-theme-clientpref-night .cs-icon-box { background: #1e3a8a; color: #93c5fd; }
html.skin-theme-clientpref-night .cs-icon-green { background: #064e3b; color: #6ee7b7; }
html.skin-theme-clientpref-night .cs-icon-purple { background: #4c1d95; color: #c4b5fd; }
html.skin-theme-clientpref-night .cs-icon-orange { background: #7c2d12; color: #fdba74; }
html.skin-theme-clientpref-night .cs-icon-red { background: #7f1d1d; color: #fca5a5; }

/* Links Dark Mode */
html.skin-theme-clientpref-night .cs-link-list {
    border-top-color: #374151;
}

html.skin-theme-clientpref-night .cs-link-list li a {
    color: #d1d5db;
}

html.skin-theme-clientpref-night .cs-link-list li a:hover {
    color: #60a5fa;
}