Initial portfolio site: Astro + Tailwind MVP
Outcome-led hero, about, grouped skills, experience summary, featured projects + /projects index, static contact, SEO/OG, dark/light theme. Dockerfile + nginx config + build script for homelab deploy.
This commit is contained in:
@@ -0,0 +1,90 @@
|
||||
/* Design tokens — theme the whole site from here.
|
||||
Dark-first: :root carries the dark palette; [data-theme="light"] overrides. */
|
||||
|
||||
:root {
|
||||
color-scheme: dark;
|
||||
|
||||
/* Surfaces */
|
||||
--bg: #090c14;
|
||||
--bg-soft: #0c1019;
|
||||
--surface: #11161f;
|
||||
--surface-2: #161d29;
|
||||
--border: rgba(255, 255, 255, 0.08);
|
||||
--border-strong: rgba(255, 255, 255, 0.16);
|
||||
|
||||
/* Text */
|
||||
--text: #e7edf4;
|
||||
--text-dim: #9aa7b8;
|
||||
--text-faint: #61708a;
|
||||
|
||||
/* Accent — single restrained teal */
|
||||
--accent: #5eead4;
|
||||
--accent-strong: #2dd4bf;
|
||||
--accent-ink: #042f2a; /* text on an accent fill */
|
||||
--accent-dim: rgba(94, 234, 212, 0.12);
|
||||
--accent-line: rgba(94, 234, 212, 0.28);
|
||||
--accent-glow: rgba(45, 212, 191, 0.22);
|
||||
|
||||
/* Grid / topology motif */
|
||||
--grid-line: rgba(148, 163, 184, 0.06);
|
||||
|
||||
/* Fonts — system stacks only (zero external requests). */
|
||||
--font-sans: "Inter var", ui-sans-serif, system-ui, -apple-system, "Segoe UI",
|
||||
Roboto, Helvetica, Arial, sans-serif;
|
||||
--font-mono: ui-monospace, "JetBrains Mono", "Cascadia Code", "SF Mono",
|
||||
Menlo, Consolas, "Liberation Mono", monospace;
|
||||
|
||||
/* Fluid type scale */
|
||||
--step--1: clamp(0.8rem, 0.76rem + 0.2vw, 0.9rem);
|
||||
--step-0: clamp(0.95rem, 0.9rem + 0.25vw, 1.05rem);
|
||||
--step-1: clamp(1.15rem, 1.05rem + 0.5vw, 1.35rem);
|
||||
--step-2: clamp(1.4rem, 1.2rem + 1vw, 1.85rem);
|
||||
--step-3: clamp(1.75rem, 1.4rem + 1.7vw, 2.6rem);
|
||||
--step-4: clamp(2.2rem, 1.6rem + 3vw, 3.6rem);
|
||||
--step-5: clamp(2.6rem, 1.8rem + 4.5vw, 4.6rem);
|
||||
|
||||
/* Spacing scale */
|
||||
--space-1: 0.25rem;
|
||||
--space-2: 0.5rem;
|
||||
--space-3: 0.75rem;
|
||||
--space-4: 1rem;
|
||||
--space-5: 1.5rem;
|
||||
--space-6: 2rem;
|
||||
--space-7: 3rem;
|
||||
--space-8: 4.5rem;
|
||||
--space-9: 7rem;
|
||||
|
||||
/* Layout */
|
||||
--measure: 68rem;
|
||||
--radius: 14px;
|
||||
--radius-sm: 9px;
|
||||
--ring: 0 0 0 1px var(--border);
|
||||
--shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
|
||||
--ease: cubic-bezier(0.22, 1, 0.36, 1);
|
||||
}
|
||||
|
||||
[data-theme="light"] {
|
||||
color-scheme: light;
|
||||
|
||||
--bg: #f6f8fb;
|
||||
--bg-soft: #ffffff;
|
||||
--surface: #ffffff;
|
||||
--surface-2: #eef1f6;
|
||||
--border: rgba(2, 6, 23, 0.1);
|
||||
--border-strong: rgba(2, 6, 23, 0.18);
|
||||
|
||||
--text: #0e1726;
|
||||
--text-dim: #475467;
|
||||
--text-faint: #6b7689;
|
||||
|
||||
--accent: #0d9488;
|
||||
--accent-strong: #0f766e;
|
||||
--accent-ink: #ecfdf5;
|
||||
--accent-dim: rgba(13, 148, 136, 0.1);
|
||||
--accent-line: rgba(13, 148, 136, 0.3);
|
||||
--accent-glow: rgba(13, 148, 136, 0.16);
|
||||
|
||||
--grid-line: rgba(15, 23, 42, 0.05);
|
||||
|
||||
--shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
|
||||
}
|
||||
Reference in New Issue
Block a user