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:
/* --- GLOBAL CONTAINER --- */
/* --- CONTAINER --- */
.cs-wrapper {
.cs-doc-container {
     max-width: 1240px;
     max-width: 1100px;
     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: #1f2937;
     color: #1f2937;
    line-height: 1.6;
}
}


/* --- HERO: THE "IDE" LOOK --- */
/* --- HERO SECTION (Clean & Centered) --- */
.cs-ide-window {
.cs-doc-hero {
     background-color: #ffffff;
     text-align: center;
     border-radius: 12px;
     padding: 60px 20px 40px;
    border: 1px solid #e5e7eb;
     margin-bottom: 40px;
    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;
     border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    gap: 8px;
}
}


/* Mac-style window dots */
.cs-doc-hero h1 {
.cs-dot {
     font-size: 2.5em;
    width: 12px;
     font-weight: 700;
    height: 12px;
     margin: 0 0 15px 0;
    border-radius: 50%;
    color: #111827;
    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;
     border: none;
     letter-spacing: -1px;
     line-height: 1.2;
    color: #2563eb; /* Fallback to solid blue for safety */
}
}


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


/* --- SEARCH BAR --- */
/* --- SEARCH BAR (Modern & Wide) --- */
.cs-command-palette {
.cs-search-wrapper {
    background: #f9fafb;
     max-width: 600px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 10px;
     max-width: 550px;
     margin: 0 auto;
     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 {
.cs-search-wrapper input {
     background: transparent !important;
     width: 100% !important;
     border: none !important;
     padding: 15px 20px !important;
    font-family: 'Courier New', monospace !important;
     font-size: 1.1em !important;
     font-size: 1.1em !important;
     width: 100% !important;
     border: 2px solid #e5e7eb !important;
    border-radius: 8px !important;
     outline: none !important;
     outline: none !important;
     color: #374151 !important;
     transition: border-color 0.2s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
}


/* --- SECTION HEADERS --- */
.cs-search-wrapper input:focus {
.cs-section-head {
    border-color: #3b82f6 !important; /* Blue focus */
}
 
/* --- TRACKS GRID --- */
.cs-track-header {
     display: flex;
     display: flex;
     align-items: center;
     align-items: baseline;
     justify-content: space-between;
     justify-content: space-between;
     margin-bottom: 20px;
     margin: 40px 0 20px;
    margin-top: 50px;
     border-bottom: 2px solid #f3f4f6;
     border-bottom: 2px solid #e5e7eb;
     padding-bottom: 10px;
     padding-bottom: 10px;
}
}


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


.cs-tag {
.cs-track-grid {
    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;
     display: grid;
    /* Basic grid setup */
     grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
     grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
     gap: 25px;
     gap: 20px;
}
}


/* --- FEATURE CARDS --- */
/* --- CARDS (Minimalist) --- */
.cs-card {
.cs-doc-card {
     background: #ffffff;
     background: #ffffff;
     border: 1px solid #e5e7eb;
     border: 1px solid #e5e7eb;
     border-radius: 10px;
     border-radius: 8px;
     padding: 25px;
     padding: 24px;
     transition: all 0.2s ease;
     transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s;
    position: relative;
    top: 0;
    height: 100%;
     display: flex;
     display: flex;
     flex-direction: column;
     flex-direction: column;
    height: 100%; /* Force equal height */
    box-sizing: border-box; /* Fix padding issues */
}
}


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


.cs-card-header {
/* Header inside card */
.cs-doc-card h3 {
    margin-top: 0 !important; /* Force reset MediaWiki margins */
    margin-bottom: 10px !important;
    font-size: 1.25em;
    font-weight: 600;
    border: none;
     display: flex;
     display: flex;
     align-items: center;
     align-items: center;
    margin-bottom: 15px;
     gap: 10px;
     gap: 12px;
}
}


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


/* Specific colors for icons */
/* The Description */
.cs-icon-green { background: #ecfdf5; color: #059669; }
.cs-doc-card p {
.cs-icon-purple { background: #f5f3ff; color: #7c3aed; }
     font-size: 0.95em;
.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;
     color: #6b7280;
    font-size: 0.95em;
     margin-bottom: 15px;
     margin-bottom: 20px;
     flex-grow: 1; /* Pushes list down */
    line-height: 1.5;
     flex-grow: 1;
}
}


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


.cs-link-list li {
.cs-doc-list li {
     margin-bottom: 8px;
     margin-bottom: 8px;
     padding-left: 0;
     padding-left: 0;
    font-size: 0.95em;
}
}


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


.cs-link-list li a:hover {
.cs-doc-list li a:hover {
     color: #2563eb;
     color: #2563eb; /* Blue hover */
    text-decoration: underline;
}
}


/* --- STATS BAR --- */
.cs-card-footer {
.cs-stats-bar {
     margin-top: 10px;
     background: #111827;
     font-size: 0.85em;
     color: white;
     text-align: right;
     padding: 30px;
     font-weight: bold;
     border-radius: 12px;
}
 
/* --- FOOTER CTA --- */
.cs-footer-cta {
     margin-top: 60px;
     margin-top: 60px;
     display: flex;
     padding: 40px;
     justify-content: space-around;
     background-color: #f9fafb;
     flex-wrap: wrap;
    border: 1px solid #e5e7eb;
     border-radius: 8px;
     text-align: center;
     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) === */
/* === DARK MODE (Citizen Skin Overrides) === */
/* ========================================= */
/* ========================================= */


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


/* Hero Dark Mode */
/* Hero Dark */
html.skin-theme-clientpref-night .cs-ide-window {
html.skin-theme-clientpref-night .cs-doc-hero {
     background-color: #1f2937;
     border-bottom-color: #374151;
    border-color: #374151;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
}
}
 
html.skin-theme-clientpref-night .cs-doc-hero h1 {
html.skin-theme-clientpref-night .cs-ide-header {
     color: #f3f4f6;
     background-color: #111827;
    border-color: #374151;
}
}
 
html.skin-theme-clientpref-night .cs-doc-hero p {
html.skin-theme-clientpref-night .cs-ide-title {
     color: #9ca3af;
     color: #9ca3af;
}
}


html.skin-theme-clientpref-night .cs-ide-content h1 {
/* Search Dark */
     color: #60a5fa; /* Brighter blue for dark mode */
html.skin-theme-clientpref-night .cs-search-wrapper input {
     background-color: #1f2937 !important;
    border-color: #4b5563 !important;
    color: #ffffff !important;
}
}
 
html.skin-theme-clientpref-night .cs-search-wrapper input:focus {
html.skin-theme-clientpref-night .cs-ide-content p {
     border-color: #60a5fa !important;
     color: #d1d5db;
}
}


/* Search Dark Mode */
/* Headers Dark */
html.skin-theme-clientpref-night .cs-command-palette {
html.skin-theme-clientpref-night .cs-track-header {
    background: #111827;
     border-bottom-color: #374151;
     border-color: #4b5563;
}
}
 
html.skin-theme-clientpref-night .cs-track-header h2 {
html.skin-theme-clientpref-night .cs-command-palette input {
     color: #f3f4f6;
     color: #f3f4f6 !important;
}
}


/* Section Headers Dark Mode */
/* Cards Dark */
html.skin-theme-clientpref-night .cs-section-head {
html.skin-theme-clientpref-night .cs-doc-card {
    background-color: #1f2937; /* Dark Grey background */
     border-color: #374151;
     border-color: #374151;
}
}


html.skin-theme-clientpref-night .cs-section-head h2 {
html.skin-theme-clientpref-night .cs-doc-card:hover {
     color: #f9fafb;
     border-color: #60a5fa; /* Light Blue hover */
    background-color: #262f3e; /* Slightly lighter on hover */
}
}


html.skin-theme-clientpref-night .cs-tag {
html.skin-theme-clientpref-night .cs-doc-card h3 {
    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;
     color: #f3f4f6;
}
}
 
html.skin-theme-clientpref-night .cs-doc-card p {
html.skin-theme-clientpref-night .cs-card-desc {
     color: #9ca3af;
     color: #9ca3af;
}
}


/* Card Icons Dark Mode */
/* Lists Dark */
html.skin-theme-clientpref-night .cs-icon-box { background: #1e3a8a; color: #93c5fd; }
html.skin-theme-clientpref-night .cs-doc-list {
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;
     border-top-color: #374151;
}
}
 
html.skin-theme-clientpref-night .cs-doc-list li a {
html.skin-theme-clientpref-night .cs-link-list li a {
     color: #d1d5db;
     color: #d1d5db;
}
html.skin-theme-clientpref-night .cs-doc-list li a:hover {
    color: #93c5fd; /* Light Blue hover */
}
}


html.skin-theme-clientpref-night .cs-link-list li a:hover {
/* Footer Dark */
     color: #60a5fa;
html.skin-theme-clientpref-night .cs-footer-cta {
    background-color: #1f2937;
     border-color: #374151;
}
}

Revision as of 23:19, 22 November 2025

/* --- CONTAINER --- */
.cs-doc-container {
    max-width: 1100px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #1f2937;
    line-height: 1.6;
}

/* --- HERO SECTION (Clean & Centered) --- */
.cs-doc-hero {
    text-align: center;
    padding: 60px 20px 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid #e5e7eb;
}

.cs-doc-hero h1 {
    font-size: 2.5em;
    font-weight: 700;
    margin: 0 0 15px 0;
    color: #111827;
    border: none;
    line-height: 1.2;
}

.cs-doc-hero p {
    font-size: 1.2em;
    color: #6b7280;
    margin: 0 auto 30px;
    max-width: 600px;
}

/* --- SEARCH BAR (Modern & Wide) --- */
.cs-search-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.cs-search-wrapper input {
    width: 100% !important;
    padding: 15px 20px !important;
    font-size: 1.1em !important;
    border: 2px solid #e5e7eb !important;
    border-radius: 8px !important;
    outline: none !important;
    transition: border-color 0.2s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.cs-search-wrapper input:focus {
    border-color: #3b82f6 !important; /* Blue focus */
}

/* --- TRACKS GRID --- */
.cs-track-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin: 40px 0 20px;
    border-bottom: 2px solid #f3f4f6;
    padding-bottom: 10px;
}

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

.cs-track-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

/* --- CARDS (Minimalist) --- */
.cs-doc-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 24px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s;
    display: flex;
    flex-direction: column;
    height: 100%; /* Force equal height */
    box-sizing: border-box; /* Fix padding issues */
}

.cs-doc-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.1);
    border-color: #3b82f6;
}

/* Header inside card */
.cs-doc-card h3 {
    margin-top: 0 !important; /* Force reset MediaWiki margins */
    margin-bottom: 10px !important;
    font-size: 1.25em;
    font-weight: 600;
    border: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* The Icon */
.cs-card-icon {
    font-size: 1.2em;
    opacity: 0.8;
}

/* The Description */
.cs-doc-card p {
    font-size: 0.95em;
    color: #6b7280;
    margin-bottom: 15px;
    flex-grow: 1; /* Pushes list down */
}

/* The Links List */
.cs-doc-list {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid #f3f4f6;
    padding-top: 15px;
}

.cs-doc-list li {
    margin-bottom: 8px;
    padding-left: 0;
    font-size: 0.95em;
}

.cs-doc-list li a {
    text-decoration: none;
    color: #374151; /* Dark grey */
    font-weight: 500;
    display: block;
    transition: color 0.2s;
}

.cs-doc-list li a:hover {
    color: #2563eb; /* Blue hover */
    text-decoration: underline;
}

.cs-card-footer {
    margin-top: 10px;
    font-size: 0.85em;
    text-align: right;
    font-weight: bold;
}

/* --- FOOTER CTA --- */
.cs-footer-cta {
    margin-top: 60px;
    padding: 40px;
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    text-align: center;
}

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

html.skin-theme-clientpref-night .cs-doc-container {
    color: #d1d5db;
}

/* Hero Dark */
html.skin-theme-clientpref-night .cs-doc-hero {
    border-bottom-color: #374151;
}
html.skin-theme-clientpref-night .cs-doc-hero h1 {
    color: #f3f4f6;
}
html.skin-theme-clientpref-night .cs-doc-hero p {
    color: #9ca3af;
}

/* Search Dark */
html.skin-theme-clientpref-night .cs-search-wrapper input {
    background-color: #1f2937 !important;
    border-color: #4b5563 !important;
    color: #ffffff !important;
}
html.skin-theme-clientpref-night .cs-search-wrapper input:focus {
    border-color: #60a5fa !important;
}

/* Headers Dark */
html.skin-theme-clientpref-night .cs-track-header {
    border-bottom-color: #374151;
}
html.skin-theme-clientpref-night .cs-track-header h2 {
    color: #f3f4f6;
}

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

html.skin-theme-clientpref-night .cs-doc-card:hover {
    border-color: #60a5fa; /* Light Blue hover */
    background-color: #262f3e; /* Slightly lighter on hover */
}

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

/* Lists Dark */
html.skin-theme-clientpref-night .cs-doc-list {
    border-top-color: #374151;
}
html.skin-theme-clientpref-night .cs-doc-list li a {
    color: #d1d5db;
}
html.skin-theme-clientpref-night .cs-doc-list li a:hover {
    color: #93c5fd; /* Light Blue hover */
}

/* Footer Dark */
html.skin-theme-clientpref-night .cs-footer-cta {
    background-color: #1f2937;
    border-color: #374151;
}