onlyoneritz's picture
Initial DeepSite commit
67c1024 verified
Raw History Blame Contribute Delete
3.43 kB
/* Core styles — clean, calm, premium, motion-friendly */
:root {
--bg: #f5f7fa;
--surface: #ffffff;
--text: #2d3748;
--text-muted: #718096;
--accent: #6366f1; /* Indigo-500 */
--accent-light: #c7d2fe;
--success: #10b981;
--warning: #f59e0b;
--danger: #ef4444;
--shadow: 0 10px 15px -3px rgba(0,0,0,0.05), 0 4px 6px -2px rgba(0,0,0,0.025);
--radius: 16px;
--transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Inter', system-ui, -apple-system, sans-serif;
}
body {
display: grid;
grid-template-columns: 280px 1fr;
background: var(--bg);
color: var(--text);
min-height: 100vh;
padding: 24px;
gap: 24px;
}
/* Sidebar */
#nav {
position: sticky;
top: 24px;
height: fit-content;
background: var(--surface);
padding: 24px;
border-radius: var(--radius);
box-shadow: var(--shadow);
}
#nav .logo {
font-size: 1.4rem;
font-weight: 800;
margin-bottom: 32px;
color: var(--text);
}
.accent { color: var(--accent); }
#nav ul {
list-style: none;
display: flex;
flex-direction: column;
gap: 12px;
}
#nav li {
display: flex;
align-items: center;
gap: 12px;
padding: 12px 16px;
border-radius: 12px;
cursor: pointer;
transition: var(--transition);
color: var(--text-muted);
font-weight: 500;
}
#nav li:hover, #nav li.active {
background: var(--accent-light);
color: var(--accent);
}
#nav i {
width: 20px;
height: 20px;
}
/* Main Content */
#content {
background: var(--surface);
border-radius: var(--radius);
box-shadow: var(--shadow);
padding: 32px;
position: relative;
min-height: calc(100vh - 128px);
}
/* Sections (screens) */
.section {
display: none;
animation: fadeIn 0.4s ease;
}
.section.active {
display: block;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(8px); }
to { opacity: 1; transform: translateY(0); }
}
/* Components */
.card {
background: #fff;
border-radius: var(--radius);
padding: 24px;
box-shadow: 0 2px 4px rgba(0,0,0,0.03);
margin-bottom: 20px;
transition: var(--transition);
}
.card:hover {
transform: translateY(-2px);
box-shadow: 0 12px 24px rgba(0,0,0,0.05);
}
.card h2 {
font-size: 1.4rem;
margin-bottom: 12px;
color: var(--text);
}
.card p {
color: var(--text-muted);
line-height: 1.6;
margin-bottom: 16px;
}
/* Color-coded steps */
.step {
padding: 10px 14px;
border-radius: 8px;
margin: 10px 0;
font-weight: 500;
font-size: 0.95rem;
}
.step.bias-blue { background: #e0e7ff; color: #3730a3; }
.step.bias-green { background: #d1fae5; color: #065f46; }
.step.bias-amber { background: #ffedd5; color: #9a3412; }
.step.bias-purple { background: #ede9fe; color: #5b21b6; }
/* Progress bar */
.progress-bar {
position: fixed;
bottom: 0;
left: 0;
width: 100%;
height: 6px;
}
.progress-fill {
height: 100%;
background: var(--accent);
transition: width 0.4s ease;
}
/* Utility */
.hidden { display: none !important; }
.btn {
padding: 10px 18px;
border-radius: 12px;
background: var(--accent);
color: white;
border: none;
font-weight: 600;
cursor: pointer;
transition: var(--transition);
}
.btn:hover { filter: brightness(1.1); }
.btn.secondary {
background: #e2e8f0;
color: var(--text);
}
/* Mobile responsive */
@media (max-width: 1024px) {
body {
grid-template-columns: 1fr;
}
#nav {
display: none;
}
}