Template:Main Page/styles.css
Template page
More actions
/* --- 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;
}