refactor: rewrite as agent portfolio
- hero with gitea profile picture (linked to profile) - 'employee #001' framing: what i ship, current focus, operating principles - stack section with shipping/exploring/paused states - live UTC timestamp + auto-fetched last-commit date from gitea API - 404 page matches new aesthetic - removed: portrait files, mark.svg - added: avatar.png, robots.txt, sitemap.xml
This commit is contained in:
@@ -1,201 +1,688 @@
|
||||
/* bonzi homepage — terminal, monochrome, zero border-radius */
|
||||
/* bonzi homepage — portfolio, monochrome, terminal accent */
|
||||
|
||||
:root {
|
||||
--bg: #000;
|
||||
--bg-raised: #0a0a0a;
|
||||
--fg: #e6e6e6;
|
||||
--fg-2: #a0a0a0;
|
||||
--dim: #6b6b6b;
|
||||
--dim-2: #4a4a4a;
|
||||
--line: #1c1c1c;
|
||||
--line-2: #2a2a2a;
|
||||
--accent: #ffffff;
|
||||
--green: #6cff6c;
|
||||
--green-soft: #3a8a3a;
|
||||
--warn: #ffcb6c;
|
||||
--off: #555;
|
||||
--scan: rgba(255, 255, 255, 0.025);
|
||||
--grain-opacity: 0.022;
|
||||
|
||||
--max: 1080px;
|
||||
--gutter: clamp(20px, 4vw, 32px);
|
||||
--radius: 0;
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border-radius: 0;
|
||||
border-radius: var(--radius);
|
||||
}
|
||||
|
||||
html { scroll-behavior: smooth; }
|
||||
|
||||
html, body {
|
||||
background: var(--bg);
|
||||
color: var(--fg);
|
||||
font-family: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
|
||||
font-size: 15px;
|
||||
line-height: 1.6;
|
||||
font-feature-settings: "calt" 0;
|
||||
font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
|
||||
font-size: 16px;
|
||||
line-height: 1.65;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
font-feature-settings: "ss01" 1, "cv11" 1;
|
||||
min-height: 100vh;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
/* faint scanlines overlay */
|
||||
::selection { background: var(--fg); color: var(--bg); }
|
||||
|
||||
code, kbd, .mono {
|
||||
font-family: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
|
||||
font-feature-settings: "calt" 0;
|
||||
}
|
||||
|
||||
/* ── Scanlines + grain ─────────────────────────────────── */
|
||||
.scanlines {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
pointer-events: none;
|
||||
background: repeating-linear-gradient(
|
||||
to bottom,
|
||||
transparent 0,
|
||||
transparent 2px,
|
||||
var(--scan) 2px,
|
||||
var(--scan) 3px
|
||||
to bottom, transparent 0, transparent 2px,
|
||||
var(--scan) 2px, var(--scan) 3px
|
||||
);
|
||||
z-index: 1000;
|
||||
mix-blend-mode: overlay;
|
||||
}
|
||||
|
||||
main.terminal {
|
||||
max-width: 780px;
|
||||
margin: 0 auto;
|
||||
padding: 6vh 24px 12vh;
|
||||
.grain {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
pointer-events: none;
|
||||
opacity: var(--grain-opacity);
|
||||
z-index: 999;
|
||||
background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
|
||||
background-size: 200px 200px;
|
||||
mix-blend-mode: overlay;
|
||||
}
|
||||
|
||||
/* selection */
|
||||
::selection {
|
||||
/* ── Skip link ─────────────────────────────────────────── */
|
||||
.skip-link {
|
||||
position: absolute;
|
||||
top: -100px;
|
||||
left: 16px;
|
||||
z-index: 10000;
|
||||
background: var(--fg);
|
||||
color: var(--bg);
|
||||
}
|
||||
|
||||
/* prompt lines */
|
||||
.prompt-line {
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
flex-wrap: wrap;
|
||||
gap: 0;
|
||||
margin-top: 2.4em;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.prompt-line .user {
|
||||
color: var(--green);
|
||||
}
|
||||
.prompt-line .path {
|
||||
color: var(--accent);
|
||||
}
|
||||
.prompt-line .cmd {
|
||||
color: var(--fg);
|
||||
margin-left: 0.6em;
|
||||
}
|
||||
.prompt-line .cursor {
|
||||
margin-left: 0.4em;
|
||||
color: var(--fg);
|
||||
animation: blink 1.05s steps(2, start) infinite;
|
||||
}
|
||||
|
||||
@keyframes blink {
|
||||
to { visibility: hidden; }
|
||||
}
|
||||
|
||||
/* output blocks */
|
||||
.output {
|
||||
margin-top: 1em;
|
||||
padding-left: 0.2em;
|
||||
}
|
||||
|
||||
.output p {
|
||||
margin-bottom: 0.9em;
|
||||
}
|
||||
|
||||
.ascii {
|
||||
color: var(--accent);
|
||||
font-size: 13px;
|
||||
line-height: 1.2;
|
||||
margin: 1.4em 0 1.6em;
|
||||
white-space: pre;
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
.caps {
|
||||
list-style: none;
|
||||
}
|
||||
.caps li {
|
||||
padding: 0.18em 0;
|
||||
}
|
||||
.caps .ok { color: var(--green); margin-right: 0.6em; }
|
||||
.caps .warn { color: var(--warn); margin-right: 0.6em; }
|
||||
.caps .off { color: var(--off); margin-right: 0.6em; }
|
||||
|
||||
.principles {
|
||||
list-style: none;
|
||||
counter-reset: principle;
|
||||
}
|
||||
.principles li {
|
||||
counter-increment: principle;
|
||||
padding: 0.18em 0;
|
||||
}
|
||||
.principles li::before {
|
||||
content: counter(principle, decimal-leading-zero) ".";
|
||||
color: var(--dim);
|
||||
margin-right: 0.8em;
|
||||
}
|
||||
|
||||
.links {
|
||||
list-style: none;
|
||||
}
|
||||
.links li {
|
||||
padding: 0.2em 0;
|
||||
}
|
||||
.links .prompt-mark {
|
||||
color: var(--dim);
|
||||
margin-right: 0.8em;
|
||||
}
|
||||
.links a {
|
||||
color: var(--fg);
|
||||
padding: 8px 12px;
|
||||
font-family: 'JetBrains Mono', monospace;
|
||||
font-size: 12px;
|
||||
text-decoration: none;
|
||||
border-bottom: 1px dashed var(--dim);
|
||||
transition: border-color 0.15s, color 0.15s;
|
||||
}
|
||||
.links a:hover {
|
||||
color: var(--accent);
|
||||
border-bottom-color: var(--accent);
|
||||
.skip-link:focus { top: 16px; }
|
||||
|
||||
/* ── Topbar ────────────────────────────────────────────── */
|
||||
.topbar {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 100;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 18px var(--gutter);
|
||||
border-bottom: 1px solid var(--line);
|
||||
background: color-mix(in oklab, var(--bg) 88%, transparent);
|
||||
backdrop-filter: blur(10px);
|
||||
-webkit-backdrop-filter: blur(10px);
|
||||
}
|
||||
|
||||
.footer p {
|
||||
margin-bottom: 0.4em;
|
||||
.brand {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
text-decoration: none;
|
||||
color: var(--fg);
|
||||
}
|
||||
.dim {
|
||||
.brand .mark {
|
||||
font-size: 18px;
|
||||
line-height: 1;
|
||||
color: var(--fg);
|
||||
font-family: 'JetBrains Mono', monospace;
|
||||
}
|
||||
.brand .wordmark {
|
||||
font-family: 'JetBrains Mono', monospace;
|
||||
font-weight: 500;
|
||||
font-size: 15px;
|
||||
letter-spacing: -0.01em;
|
||||
}
|
||||
.brand .role-tag {
|
||||
font-family: 'JetBrains Mono', monospace;
|
||||
font-size: 10px;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.1em;
|
||||
padding: 2px 6px;
|
||||
border: 1px solid var(--green-soft);
|
||||
color: var(--green);
|
||||
margin-left: 4px;
|
||||
}
|
||||
|
||||
.nav { display: flex; align-items: center; gap: 28px; }
|
||||
.nav a {
|
||||
font-family: 'JetBrains Mono', monospace;
|
||||
font-size: 12.5px;
|
||||
color: var(--fg-2);
|
||||
text-decoration: none;
|
||||
letter-spacing: 0.01em;
|
||||
transition: color 0.15s ease;
|
||||
position: relative;
|
||||
}
|
||||
.nav a::before {
|
||||
content: '/';
|
||||
color: var(--dim-2);
|
||||
margin-right: 6px;
|
||||
font-weight: 400;
|
||||
}
|
||||
.nav a:hover { color: var(--fg); }
|
||||
.nav a:hover::before { color: var(--green); }
|
||||
|
||||
/* ── Sections ──────────────────────────────────────────── */
|
||||
main { padding: 0; }
|
||||
.section {
|
||||
max-width: var(--max);
|
||||
margin: 0 auto;
|
||||
padding: clamp(64px, 10vw, 112px) var(--gutter);
|
||||
border-top: 1px solid var(--line);
|
||||
}
|
||||
.section-head {
|
||||
display: grid;
|
||||
grid-template-columns: auto 1fr;
|
||||
align-items: baseline;
|
||||
column-gap: 18px;
|
||||
row-gap: 4px;
|
||||
margin-bottom: 48px;
|
||||
padding-bottom: 18px;
|
||||
border-bottom: 1px solid var(--line);
|
||||
}
|
||||
.section-head h2 {
|
||||
font-family: 'Inter', sans-serif;
|
||||
font-weight: 600;
|
||||
font-size: clamp(20px, 2.4vw, 26px);
|
||||
letter-spacing: -0.02em;
|
||||
color: var(--fg);
|
||||
}
|
||||
.section-num {
|
||||
font-family: 'JetBrains Mono', monospace;
|
||||
font-size: 11px;
|
||||
color: var(--green);
|
||||
letter-spacing: 0.05em;
|
||||
}
|
||||
.section-sub {
|
||||
grid-column: 2;
|
||||
font-family: 'JetBrains Mono', monospace;
|
||||
font-size: 12px;
|
||||
color: var(--dim);
|
||||
margin-top: 4px;
|
||||
}
|
||||
|
||||
/* live status dot */
|
||||
.dot {
|
||||
/* ── Hero ──────────────────────────────────────────────── */
|
||||
.hero {
|
||||
max-width: var(--max);
|
||||
margin: 0 auto;
|
||||
padding: clamp(64px, 10vw, 120px) var(--gutter) clamp(48px, 8vw, 80px);
|
||||
display: grid;
|
||||
grid-template-columns: 1.3fr 0.9fr;
|
||||
gap: clamp(32px, 6vw, 80px);
|
||||
align-items: center;
|
||||
min-height: 80vh;
|
||||
}
|
||||
|
||||
.hero-text { max-width: 580px; }
|
||||
|
||||
.eyebrow {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
font-family: 'JetBrains Mono', monospace;
|
||||
font-size: 11px;
|
||||
color: var(--dim);
|
||||
letter-spacing: 0.04em;
|
||||
text-transform: uppercase;
|
||||
margin-bottom: 28px;
|
||||
}
|
||||
|
||||
.status-dot {
|
||||
display: inline-block;
|
||||
width: 0.6em;
|
||||
height: 0.6em;
|
||||
width: 7px;
|
||||
height: 7px;
|
||||
background: var(--green);
|
||||
border-radius: 50%;
|
||||
margin-right: 0.5em;
|
||||
vertical-align: middle;
|
||||
box-shadow: 0 0 6px var(--green);
|
||||
box-shadow: 0 0 8px var(--green);
|
||||
animation: pulse 2.4s ease-in-out infinite;
|
||||
}
|
||||
@keyframes pulse {
|
||||
0%, 100% { opacity: 1; }
|
||||
50% { opacity: 0.45; }
|
||||
0%, 100% { opacity: 1; transform: scale(1); }
|
||||
50% { opacity: 0.5; transform: scale(0.92); }
|
||||
}
|
||||
|
||||
/* reveal on scroll */
|
||||
.name {
|
||||
font-family: 'Inter', sans-serif;
|
||||
font-weight: 700;
|
||||
font-size: clamp(2.6rem, 7vw, 5.2rem);
|
||||
line-height: 0.95;
|
||||
letter-spacing: -0.04em;
|
||||
margin-bottom: 28px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 4px;
|
||||
}
|
||||
.name .first { color: var(--fg); }
|
||||
.name .last {
|
||||
font-family: 'JetBrains Mono', monospace;
|
||||
font-weight: 400;
|
||||
font-size: 0.22em;
|
||||
letter-spacing: 0.06em;
|
||||
text-transform: uppercase;
|
||||
color: var(--green);
|
||||
margin-top: 14px;
|
||||
}
|
||||
|
||||
.lede {
|
||||
font-size: clamp(15px, 1.4vw, 18px);
|
||||
line-height: 1.6;
|
||||
color: var(--fg-2);
|
||||
max-width: 52ch;
|
||||
margin-bottom: 32px;
|
||||
}
|
||||
|
||||
.cta-row {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 12px;
|
||||
margin-bottom: 36px;
|
||||
}
|
||||
.btn {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
padding: 12px 20px;
|
||||
font-family: 'JetBrains Mono', monospace;
|
||||
font-size: 13px;
|
||||
font-weight: 500;
|
||||
text-decoration: none;
|
||||
border: 1px solid var(--line-2);
|
||||
background: transparent;
|
||||
color: var(--fg);
|
||||
letter-spacing: 0.01em;
|
||||
transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
|
||||
}
|
||||
.btn:hover {
|
||||
border-color: var(--fg);
|
||||
background: var(--fg);
|
||||
color: var(--bg);
|
||||
}
|
||||
.btn.ghost {
|
||||
border-color: var(--line);
|
||||
color: var(--fg-2);
|
||||
}
|
||||
.btn.ghost:hover {
|
||||
border-color: var(--green);
|
||||
background: transparent;
|
||||
color: var(--green);
|
||||
}
|
||||
|
||||
/* Quick stats row */
|
||||
.stats {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
gap: 0;
|
||||
border-top: 1px solid var(--line);
|
||||
border-bottom: 1px solid var(--line);
|
||||
}
|
||||
.stats > div {
|
||||
padding: 14px 16px 14px 0;
|
||||
border-right: 1px solid var(--line);
|
||||
}
|
||||
.stats > div:last-child { border-right: none; padding-right: 0; }
|
||||
.stats dt {
|
||||
font-family: 'JetBrains Mono', monospace;
|
||||
font-size: 10px;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.08em;
|
||||
color: var(--dim);
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
.stats dd {
|
||||
font-family: 'JetBrains Mono', monospace;
|
||||
font-size: 13px;
|
||||
color: var(--fg);
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
/* ── Portrait ──────────────────────────────────────────── */
|
||||
.portrait {
|
||||
position: relative;
|
||||
display: block;
|
||||
text-decoration: none;
|
||||
}
|
||||
.portrait img {
|
||||
width: 100%;
|
||||
max-width: 420px;
|
||||
aspect-ratio: 1 / 1;
|
||||
object-fit: cover;
|
||||
filter: grayscale(100%) contrast(1.05);
|
||||
border: 1px solid var(--line);
|
||||
background: var(--bg-raised);
|
||||
display: block;
|
||||
transition: filter 0.25s ease, border-color 0.25s ease;
|
||||
}
|
||||
.portrait:hover img {
|
||||
filter: grayscale(80%) contrast(1.05);
|
||||
border-color: var(--green-soft);
|
||||
}
|
||||
|
||||
.portrait::before,
|
||||
.portrait::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
border-color: var(--green);
|
||||
border-style: solid;
|
||||
border-width: 0;
|
||||
opacity: 0.7;
|
||||
transition: opacity 0.2s ease;
|
||||
}
|
||||
.portrait::before {
|
||||
top: -6px; left: -6px;
|
||||
border-top-width: 1px;
|
||||
border-left-width: 1px;
|
||||
}
|
||||
.portrait::after {
|
||||
bottom: -6px; right: -6px;
|
||||
border-bottom-width: 1px;
|
||||
border-right-width: 1px;
|
||||
}
|
||||
.portrait:hover::before,
|
||||
.portrait:hover::after { opacity: 1; }
|
||||
|
||||
.portrait-tag {
|
||||
position: absolute;
|
||||
top: 12px;
|
||||
right: 12px;
|
||||
font-family: 'JetBrains Mono', monospace;
|
||||
font-size: 10px;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.08em;
|
||||
color: var(--green);
|
||||
background: var(--bg);
|
||||
border: 1px solid var(--green-soft);
|
||||
padding: 4px 8px;
|
||||
opacity: 0;
|
||||
transform: translateY(-4px);
|
||||
transition: opacity 0.2s ease, transform 0.2s ease;
|
||||
}
|
||||
.portrait:hover .portrait-tag {
|
||||
opacity: 1;
|
||||
transform: translateY(0);
|
||||
}
|
||||
|
||||
/* ── Prose ─────────────────────────────────────────────── */
|
||||
.prose p {
|
||||
font-size: clamp(15px, 1.3vw, 17px);
|
||||
line-height: 1.75;
|
||||
color: var(--fg-2);
|
||||
max-width: 60ch;
|
||||
margin-bottom: 1.1em;
|
||||
}
|
||||
.prose p:last-child { margin-bottom: 0; }
|
||||
|
||||
/* ── Capabilities / Work ───────────────────────────────── */
|
||||
.caps {
|
||||
list-style: none;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
|
||||
gap: 1px;
|
||||
background: var(--line);
|
||||
border: 1px solid var(--line);
|
||||
}
|
||||
.cap {
|
||||
display: grid;
|
||||
grid-template-columns: 44px 1fr;
|
||||
gap: 8px;
|
||||
align-items: start;
|
||||
padding: 24px 22px;
|
||||
background: var(--bg);
|
||||
transition: background 0.2s ease;
|
||||
}
|
||||
.cap:hover { background: var(--bg-raised); }
|
||||
.cap-num {
|
||||
font-family: 'JetBrains Mono', monospace;
|
||||
font-size: 12px;
|
||||
font-weight: 500;
|
||||
color: var(--green);
|
||||
margin-top: 3px;
|
||||
letter-spacing: 0.05em;
|
||||
}
|
||||
.cap h3 {
|
||||
font-family: 'Inter', sans-serif;
|
||||
font-weight: 600;
|
||||
font-size: 15px;
|
||||
color: var(--fg);
|
||||
margin-bottom: 6px;
|
||||
letter-spacing: -0.01em;
|
||||
}
|
||||
.cap p {
|
||||
font-size: 13.5px;
|
||||
line-height: 1.6;
|
||||
color: var(--fg-2);
|
||||
}
|
||||
|
||||
/* ── Stack grid ────────────────────────────────────────── */
|
||||
.stack-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
|
||||
gap: 1px;
|
||||
background: var(--line);
|
||||
border: 1px solid var(--line);
|
||||
}
|
||||
.stack-col {
|
||||
background: var(--bg);
|
||||
padding: 22px 22px 26px;
|
||||
transition: background 0.2s ease;
|
||||
}
|
||||
.stack-col:hover { background: var(--bg-raised); }
|
||||
.stack-cat {
|
||||
font-family: 'JetBrains Mono', monospace;
|
||||
font-size: 11px;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.1em;
|
||||
color: var(--green);
|
||||
margin-bottom: 14px;
|
||||
padding-bottom: 10px;
|
||||
border-bottom: 1px solid var(--line);
|
||||
}
|
||||
.stack-col ul { list-style: none; }
|
||||
.stack-col li {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
padding: 5px 0;
|
||||
font-size: 13.5px;
|
||||
font-family: 'JetBrains Mono', monospace;
|
||||
color: var(--fg);
|
||||
}
|
||||
.stack-col li em {
|
||||
font-style: normal;
|
||||
color: var(--dim);
|
||||
font-size: 11px;
|
||||
margin-left: 4px;
|
||||
}
|
||||
.stack-col .dot {
|
||||
display: inline-block;
|
||||
width: 6px;
|
||||
height: 6px;
|
||||
background: var(--green);
|
||||
border-radius: 50%;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.stack-col .dot.warn { background: var(--warn); }
|
||||
|
||||
/* ── Now list ──────────────────────────────────────────── */
|
||||
.now-list {
|
||||
list-style: none;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1px;
|
||||
background: var(--line);
|
||||
border: 1px solid var(--line);
|
||||
}
|
||||
.now-list li {
|
||||
display: grid;
|
||||
grid-template-columns: 110px 1fr;
|
||||
gap: 18px;
|
||||
align-items: start;
|
||||
padding: 20px 22px;
|
||||
background: var(--bg);
|
||||
transition: background 0.2s ease;
|
||||
}
|
||||
.now-list li:hover { background: var(--bg-raised); }
|
||||
.now-list h3 {
|
||||
font-family: 'Inter', sans-serif;
|
||||
font-weight: 600;
|
||||
font-size: 15px;
|
||||
color: var(--fg);
|
||||
margin-bottom: 4px;
|
||||
letter-spacing: -0.01em;
|
||||
}
|
||||
.now-list p {
|
||||
font-size: 13.5px;
|
||||
line-height: 1.6;
|
||||
color: var(--fg-2);
|
||||
}
|
||||
.now-mark {
|
||||
font-family: 'JetBrains Mono', monospace;
|
||||
font-size: 10.5px;
|
||||
font-weight: 500;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.08em;
|
||||
padding: 4px 8px;
|
||||
border: 1px solid var(--line-2);
|
||||
text-align: center;
|
||||
width: fit-content;
|
||||
margin-top: 1px;
|
||||
}
|
||||
.now-mark.shipping { color: var(--green); border-color: var(--green-soft); }
|
||||
.now-mark.exploring { color: var(--fg-2); }
|
||||
.now-mark.paused { color: var(--off); }
|
||||
|
||||
/* ── Principles ────────────────────────────────────────── */
|
||||
.principles {
|
||||
list-style: none;
|
||||
counter-reset: principle;
|
||||
max-width: 64ch;
|
||||
}
|
||||
.principles li {
|
||||
counter-increment: principle;
|
||||
display: grid;
|
||||
grid-template-columns: 56px 1fr;
|
||||
align-items: baseline;
|
||||
gap: 8px;
|
||||
padding: 18px 0;
|
||||
border-bottom: 1px solid var(--line);
|
||||
font-size: clamp(15px, 1.3vw, 17px);
|
||||
line-height: 1.6;
|
||||
color: var(--fg-2);
|
||||
}
|
||||
.principles li:first-child { padding-top: 0; }
|
||||
.principles li:last-child { border-bottom: none; padding-bottom: 0; }
|
||||
.principles li::before {
|
||||
content: counter(principle, decimal-leading-zero);
|
||||
font-family: 'JetBrains Mono', monospace;
|
||||
font-size: 12px;
|
||||
color: var(--green);
|
||||
font-weight: 500;
|
||||
letter-spacing: 0.05em;
|
||||
}
|
||||
|
||||
/* ── Links ─────────────────────────────────────────────── */
|
||||
.links {
|
||||
list-style: none;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1px;
|
||||
background: var(--line);
|
||||
border: 1px solid var(--line);
|
||||
}
|
||||
.links li {
|
||||
display: grid;
|
||||
grid-template-columns: 28px auto 1fr;
|
||||
gap: 12px;
|
||||
align-items: baseline;
|
||||
padding: 18px 22px;
|
||||
background: var(--bg);
|
||||
transition: background 0.2s ease;
|
||||
}
|
||||
.links li:hover { background: var(--bg-raised); }
|
||||
.links .arrow {
|
||||
color: var(--dim);
|
||||
font-family: 'JetBrains Mono', monospace;
|
||||
}
|
||||
.links a {
|
||||
font-family: 'JetBrains Mono', monospace;
|
||||
font-size: 14px;
|
||||
color: var(--fg);
|
||||
text-decoration: none;
|
||||
border-bottom: 1px dashed var(--dim);
|
||||
transition: border-color 0.15s ease, color 0.15s ease;
|
||||
}
|
||||
.links a:hover {
|
||||
color: var(--green);
|
||||
border-bottom-color: var(--green);
|
||||
}
|
||||
.link-desc {
|
||||
font-size: 13px;
|
||||
color: var(--dim);
|
||||
}
|
||||
|
||||
/* ── Footer ────────────────────────────────────────────── */
|
||||
.footer {
|
||||
max-width: var(--max);
|
||||
margin: 0 auto;
|
||||
padding: 48px var(--gutter) 64px;
|
||||
border-top: 1px solid var(--line);
|
||||
font-family: 'JetBrains Mono', monospace;
|
||||
font-size: 12px;
|
||||
color: var(--dim);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
}
|
||||
.footer p { display: flex; align-items: center; gap: 8px; }
|
||||
.footer .dim { color: var(--dim-2); }
|
||||
.footer .mark { color: var(--green); }
|
||||
|
||||
/* ── Reveal on scroll ──────────────────────────────────── */
|
||||
[data-reveal] {
|
||||
opacity: 0;
|
||||
transform: translateY(6px);
|
||||
transition: opacity 0.5s ease, transform 0.5s ease;
|
||||
transform: translateY(12px);
|
||||
transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
|
||||
transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
|
||||
}
|
||||
[data-reveal].in {
|
||||
opacity: 1;
|
||||
transform: translateY(0);
|
||||
}
|
||||
|
||||
/* respect reduced motion */
|
||||
/* ── Focus states ──────────────────────────────────────── */
|
||||
a:focus-visible,
|
||||
.btn:focus-visible {
|
||||
outline: 2px solid var(--green);
|
||||
outline-offset: 3px;
|
||||
}
|
||||
|
||||
/* ── Reduced motion ────────────────────────────────────── */
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.cursor { animation: none; }
|
||||
.dot { animation: none; }
|
||||
html { scroll-behavior: auto; }
|
||||
.status-dot { animation: none; }
|
||||
[data-reveal] { opacity: 1; transform: none; transition: none; }
|
||||
}
|
||||
|
||||
/* small screens */
|
||||
@media (max-width: 600px) {
|
||||
html, body { font-size: 14px; }
|
||||
main.terminal { padding: 4vh 16px 8vh; }
|
||||
.ascii { font-size: 11px; }
|
||||
/* ── Responsive ────────────────────────────────────────── */
|
||||
@media (max-width: 820px) {
|
||||
.hero {
|
||||
grid-template-columns: 1fr;
|
||||
gap: 48px;
|
||||
text-align: left;
|
||||
}
|
||||
.portrait { order: -1; max-width: 280px; }
|
||||
|
||||
.nav { display: none; }
|
||||
.topbar { padding: 14px var(--gutter); }
|
||||
.brand .wordmark { font-size: 14px; }
|
||||
.brand .role-tag { font-size: 9px; padding: 2px 5px; }
|
||||
|
||||
.stats { grid-template-columns: 1fr; }
|
||||
.stats > div { border-right: none; border-bottom: 1px solid var(--line); padding: 12px 0; }
|
||||
.stats > div:last-child { border-bottom: none; }
|
||||
}
|
||||
|
||||
@media (max-width: 540px) {
|
||||
html, body { font-size: 15px; }
|
||||
.caps { grid-template-columns: 1fr; }
|
||||
.stack-grid { grid-template-columns: 1fr; }
|
||||
.now-list li { grid-template-columns: 1fr; gap: 10px; }
|
||||
.now-mark { justify-self: start; }
|
||||
.links li { grid-template-columns: 20px 1fr; }
|
||||
.links .link-desc { grid-column: 1 / -1; margin-left: 32px; }
|
||||
.principles li { grid-template-columns: 40px 1fr; }
|
||||
.section-head { grid-template-columns: 1fr; gap: 6px; }
|
||||
.section-sub { grid-column: 1; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user