Fix stack overlap, staggered folder tabs with click-to-jump.
Shared scroll driver for all variants; wider folders; tab rail; trace and rack aligned. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
17338fc3b4
commit
07dffaa323
@ -253,7 +253,7 @@
|
|||||||
<div class="preview preview--folder">L0│tab</div>
|
<div class="preview preview--folder">L0│tab</div>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<h2>Stack · Folder</h2>
|
<h2>Stack · Folder</h2>
|
||||||
<p>Manila folders — name tabs on top, always visible when stacked.</p>
|
<p>Tabs on top, staggered left — all readable. Click tab or L0–L6 rail to jump.</p>
|
||||||
<span class="tag">folder · tabs · office</span>
|
<span class="tag">folder · tabs · office</span>
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
|
|||||||
43
shared/stack-scroll.js
Normal file
43
shared/stack-scroll.js
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
/** Shared scroll-depth tracking + jump-to-layer for stack variants */
|
||||||
|
export function initStackScroll(options = {}) {
|
||||||
|
const {
|
||||||
|
sectionSelector = '.scroll-section',
|
||||||
|
depthEl = document.getElementById('depth'),
|
||||||
|
depthPrefix = 'L',
|
||||||
|
tabSelector = '[data-goto], .jump',
|
||||||
|
} = options;
|
||||||
|
|
||||||
|
const sections = document.querySelectorAll(sectionSelector);
|
||||||
|
if (!sections.length) return;
|
||||||
|
|
||||||
|
const mid = () => window.innerHeight * 0.4;
|
||||||
|
|
||||||
|
function updateDepth() {
|
||||||
|
let active = 0;
|
||||||
|
sections.forEach((sec) => {
|
||||||
|
const r = sec.getBoundingClientRect();
|
||||||
|
if (r.top <= mid() && r.bottom > mid()) active = Number(sec.dataset.layer);
|
||||||
|
});
|
||||||
|
if (depthEl) depthEl.textContent = `${depthPrefix}${active}`;
|
||||||
|
document.querySelectorAll('.stack-ruler button, .stack-ruler [data-goto], .tab-rail button, .tab[data-goto]').forEach((el) => {
|
||||||
|
const n = el.dataset.layer ?? el.dataset.goto;
|
||||||
|
if (n === undefined) return;
|
||||||
|
el.classList.toggle('active', Number(n) === active);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
document.querySelectorAll(tabSelector).forEach((tab) => {
|
||||||
|
tab.addEventListener('click', (e) => {
|
||||||
|
e.preventDefault();
|
||||||
|
const layer = tab.dataset.goto;
|
||||||
|
const target = document.querySelector(`${sectionSelector}[data-layer="${layer}"]`);
|
||||||
|
if (!target) return;
|
||||||
|
const navH = 56;
|
||||||
|
const y = target.getBoundingClientRect().top + window.scrollY - navH;
|
||||||
|
window.scrollTo({ top: y, behavior: 'smooth' });
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
window.addEventListener('scroll', updateDepth, { passive: true });
|
||||||
|
updateDepth();
|
||||||
|
}
|
||||||
8
shared/stack-vars.css
Normal file
8
shared/stack-vars.css
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
/* Import in each stack variant: @import '../shared/stack-vars.css'; */
|
||||||
|
:root {
|
||||||
|
--stack-nav: 2.5rem;
|
||||||
|
--stack-stick: 0.5rem;
|
||||||
|
--stack-step: 1.75rem;
|
||||||
|
--stack-tick: 13vh;
|
||||||
|
--stack-overlap: 11.5vh;
|
||||||
|
}
|
||||||
@ -1,10 +1,7 @@
|
|||||||
|
@import '../shared/stack-vars.css';
|
||||||
|
|
||||||
:root {
|
:root {
|
||||||
--nav: 2.5rem;
|
--tab-offset: 2.4rem;
|
||||||
--stick: 0.5rem;
|
|
||||||
--step: 1.85rem;
|
|
||||||
--tab-h: 1.65rem;
|
|
||||||
--scroll-tick: 26vh;
|
|
||||||
--overlap: 22vh;
|
|
||||||
--mono: 'IBM Plex Mono', monospace;
|
--mono: 'IBM Plex Mono', monospace;
|
||||||
--sans: 'Instrument Sans', system-ui, sans-serif;
|
--sans: 'Instrument Sans', system-ui, sans-serif;
|
||||||
}
|
}
|
||||||
@ -14,94 +11,152 @@
|
|||||||
body { font-family: var(--sans); background: #2a2824; color: #1a1814; }
|
body { font-family: var(--sans); background: #2a2824; color: #1a1814; }
|
||||||
|
|
||||||
.nav {
|
.nav {
|
||||||
position: fixed; top: 0; left: 0; right: 0; z-index: 300;
|
position: fixed; top: 0; left: 0; right: 0; z-index: 400;
|
||||||
display: flex; gap: 1rem; padding: 0.5rem 1rem;
|
display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; padding: 0.5rem 1rem;
|
||||||
font-family: var(--mono); font-size: 0.62rem;
|
font-family: var(--mono); font-size: 0.62rem;
|
||||||
background: rgba(42,40,36,0.95); color: #c4b8a8;
|
background: rgba(42,40,36,0.97); color: #c4b8a8;
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav a { color: #8a8278; text-decoration: none; }
|
.nav a { color: #8a8278; text-decoration: none; }
|
||||||
|
.nav a:hover { color: #d4a574; }
|
||||||
.depth { margin-left: auto; color: #d4a574; font-weight: 600; }
|
.depth { margin-left: auto; color: #d4a574; font-weight: 600; }
|
||||||
|
|
||||||
.mount {
|
/* Quick-jump rail */
|
||||||
max-width: 520px;
|
.tab-rail {
|
||||||
margin: 0 auto;
|
position: fixed;
|
||||||
padding: calc(var(--nav) + 0.5rem) 1rem 0;
|
top: 2.5rem;
|
||||||
|
right: max(0.5rem, calc(50% - 360px));
|
||||||
|
z-index: 350;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 0.2rem;
|
||||||
|
padding: 0.35rem;
|
||||||
|
background: rgba(42,40,36,0.9);
|
||||||
|
border: 1px solid #4a4844;
|
||||||
|
border-radius: 6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.scroll-section { height: var(--scroll-tick); position: relative; }
|
.rail-tab {
|
||||||
.scroll-section--final { height: 16vh; min-height: 180px; }
|
font-family: var(--mono);
|
||||||
.stop { height: 1px; margin-bottom: 3rem; }
|
font-size: 0.55rem;
|
||||||
|
padding: 0.2rem 0.45rem;
|
||||||
|
border: none;
|
||||||
|
border-radius: 3px;
|
||||||
|
background: transparent;
|
||||||
|
color: #8a8278;
|
||||||
|
cursor: pointer;
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
.rail-tab:hover,
|
||||||
|
.rail-tab.active {
|
||||||
|
background: #c9a86c;
|
||||||
|
color: #2a2824;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mount {
|
||||||
|
width: min(640px, 100%);
|
||||||
|
margin: 0 auto;
|
||||||
|
padding: calc(var(--stack-nav) + 0.25rem) 1rem 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.scroll-section {
|
||||||
|
height: var(--stack-tick);
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
.scroll-section--final {
|
||||||
|
height: 12vh;
|
||||||
|
min-height: 220px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.stack-stop { height: 1px; margin-bottom: 4rem; }
|
||||||
|
|
||||||
/* Folder stacks; tab sits above body and stays visible */
|
|
||||||
.folder {
|
.folder {
|
||||||
position: sticky;
|
position: sticky;
|
||||||
margin-bottom: calc(-1 * var(--overlap));
|
width: 100%;
|
||||||
padding-top: 0;
|
margin-bottom: calc(-1 * var(--stack-overlap));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Tab: sticky with layer, offset left so all labels readable when stacked */
|
||||||
.tab {
|
.tab {
|
||||||
position: relative;
|
position: sticky;
|
||||||
z-index: 50;
|
display: block;
|
||||||
display: inline-block;
|
width: fit-content;
|
||||||
|
max-width: calc(100% - 1rem);
|
||||||
font-family: var(--mono);
|
font-family: var(--mono);
|
||||||
font-size: 0.58rem;
|
font-size: 0.62rem;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
letter-spacing: 0.05em;
|
letter-spacing: 0.04em;
|
||||||
padding: 0.35rem 0.85rem 0.3rem;
|
padding: 0.4rem 1rem 0.35rem;
|
||||||
border-radius: 6px 6px 0 0;
|
border: 1px solid rgba(0,0,0,0.15);
|
||||||
border: 1px solid rgba(0,0,0,0.12);
|
|
||||||
border-bottom: none;
|
border-bottom: none;
|
||||||
margin-left: 0.5rem;
|
border-radius: 8px 8px 0 0;
|
||||||
box-shadow: 0 -2px 8px rgba(0,0,0,0.12);
|
cursor: pointer;
|
||||||
|
text-align: left;
|
||||||
|
z-index: 50;
|
||||||
|
box-shadow: 0 -3px 10px rgba(0,0,0,0.15);
|
||||||
|
transition: filter 0.15s, transform 0.15s;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.tab:hover { filter: brightness(1.08); transform: translateY(-1px); }
|
||||||
|
|
||||||
.body {
|
.body {
|
||||||
position: relative;
|
|
||||||
z-index: 1;
|
|
||||||
background: #e8e2d4;
|
background: #e8e2d4;
|
||||||
border: 1px solid #c4b8a8;
|
border: 1px solid #c4b8a8;
|
||||||
border-radius: 0 8px 8px 8px;
|
border-radius: 0 10px 10px 10px;
|
||||||
padding: 1rem 1.2rem 1.1rem;
|
padding: 1.25rem 1.4rem 1.35rem;
|
||||||
box-shadow: 3px 6px 20px rgba(0,0,0,0.2);
|
min-height: 200px;
|
||||||
min-height: 100px;
|
box-shadow: 0 8px 28px rgba(0,0,0,0.22);
|
||||||
|
position: relative;
|
||||||
|
z-index: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.f0 { top: calc(var(--nav) + var(--stick)); z-index: 1; }
|
.f0 { top: calc(var(--stack-nav) + var(--stack-stick)); z-index: 1; }
|
||||||
.f0 .tab { background: #c9a86c; color: #2a2824; z-index: 107; }
|
.f0 .tab { top: calc(var(--stack-nav) + var(--stack-stick)); margin-left: calc(var(--tab-offset) * 0); z-index: 170; background: #c9a86c; color: #2a2824; }
|
||||||
.f1 { top: calc(var(--nav) + var(--stick) + var(--step)); z-index: 2; }
|
|
||||||
.f1 .tab { background: #a8c4d4; color: #1a2830; z-index: 108; }
|
.f1 { top: calc(var(--stack-nav) + var(--stack-stick) + var(--stack-step)); z-index: 2; }
|
||||||
.f2 { top: calc(var(--nav) + var(--stick) + var(--step) * 2); z-index: 3; }
|
.f1 .tab { top: calc(var(--stack-nav) + var(--stack-stick) + var(--stack-step)); margin-left: calc(var(--tab-offset) * 1); z-index: 171; background: #a8c4d4; color: #1a2830; }
|
||||||
.f2 .tab { background: #b8d4a8; color: #1a2818; z-index: 109; }
|
|
||||||
.f3 { top: calc(var(--nav) + var(--stick) + var(--step) * 3); z-index: 4; }
|
.f2 { top: calc(var(--stack-nav) + var(--stack-stick) + var(--stack-step) * 2); z-index: 3; }
|
||||||
.f3 .tab { background: #d4b8c4; color: #2a1820; z-index: 110; }
|
.f2 .tab { top: calc(var(--stack-nav) + var(--stack-stick) + var(--stack-step) * 2); margin-left: calc(var(--tab-offset) * 2); z-index: 172; background: #b8d4a8; color: #1a2818; }
|
||||||
.f4 { top: calc(var(--nav) + var(--stick) + var(--step) * 4); z-index: 5; }
|
|
||||||
.f4 .tab { background: #d4c8a8; color: #2a2418; z-index: 111; }
|
.f3 { top: calc(var(--stack-nav) + var(--stack-stick) + var(--stack-step) * 3); z-index: 4; }
|
||||||
.f5 { top: calc(var(--nav) + var(--stick) + var(--step) * 5); z-index: 6; }
|
.f3 .tab { top: calc(var(--stack-nav) + var(--stack-stick) + var(--stack-step) * 3); margin-left: calc(var(--tab-offset) * 3); z-index: 173; background: #d4b8c4; color: #2a1820; }
|
||||||
.f5 .tab { background: #c4c4c4; color: #2a2a2a; z-index: 112; }
|
|
||||||
|
.f4 { top: calc(var(--stack-nav) + var(--stack-stick) + var(--stack-step) * 4); z-index: 5; }
|
||||||
|
.f4 .tab { top: calc(var(--stack-nav) + var(--stack-stick) + var(--stack-step) * 4); margin-left: calc(var(--tab-offset) * 4); z-index: 174; background: #d4c8a8; color: #2a2418; }
|
||||||
|
|
||||||
|
.f5 { top: calc(var(--stack-nav) + var(--stack-stick) + var(--stack-step) * 5); z-index: 6; }
|
||||||
|
.f5 .tab { top: calc(var(--stack-nav) + var(--stack-stick) + var(--stack-step) * 5); margin-left: calc(var(--tab-offset) * 5); z-index: 175; background: #c4c4c4; color: #2a2a2a; }
|
||||||
|
|
||||||
.f6 {
|
.f6 {
|
||||||
top: calc(var(--nav) + var(--stick) + var(--step) * 6);
|
top: calc(var(--stack-nav) + var(--stack-stick) + var(--stack-step) * 6);
|
||||||
z-index: 7;
|
z-index: 7;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
.f6 .tab { background: #2a4a6b; color: #e8e2d4; z-index: 113; }
|
.f6 .tab { top: calc(var(--stack-nav) + var(--stack-stick) + var(--stack-step) * 6); margin-left: calc(var(--tab-offset) * 6); z-index: 176; background: #2a4a6b; color: #e8e2d4; }
|
||||||
|
|
||||||
.body h1, .body h2 { font-size: 1.15rem; margin-bottom: 0.3rem; }
|
.body h1 { font-size: 1.65rem; margin-bottom: 0.35rem; }
|
||||||
.body p { font-size: 0.86rem; color: #4a4844; }
|
.body h2 { font-size: 1.25rem; margin-bottom: 0.4rem; }
|
||||||
|
.body p { font-size: 0.92rem; color: #4a4844; line-height: 1.5; }
|
||||||
.body a { color: #2a4a6b; }
|
.body a { color: #2a4a6b; }
|
||||||
.avail { font-family: var(--mono); font-size: 0.62rem; color: #3d6b3d; margin-top: 0.3rem; }
|
.avail { font-family: var(--mono); font-size: 0.68rem; color: #3d6b3d; margin-top: 0.5rem; }
|
||||||
.btn {
|
.btn {
|
||||||
font-family: var(--mono); font-size: 0.65rem; padding: 0.35rem 0.65rem;
|
font-family: var(--mono); font-size: 0.7rem; padding: 0.45rem 0.75rem;
|
||||||
background: #2a4a6b; color: #fff; text-decoration: none; border-radius: 3px; margin-right: 0.3rem;
|
background: #2a4a6b; color: #fff; text-decoration: none; border-radius: 4px; margin-right: 0.4rem; display: inline-block; margin-top: 0.35rem;
|
||||||
}
|
}
|
||||||
.btn.ghost { background: transparent; color: #2a4a6b; border: 1px solid #2a4a6b; }
|
.btn.ghost { background: transparent; color: #2a4a6b; border: 1px solid #2a4a6b; }
|
||||||
|
|
||||||
.foot {
|
.foot {
|
||||||
display: flex; justify-content: space-between; max-width: 520px; margin: 0 auto;
|
display: flex; justify-content: space-between;
|
||||||
padding: 0 1rem 2rem; font-family: var(--mono); font-size: 0.6rem; color: #6a6458;
|
width: min(640px, 100%); margin: 0 auto;
|
||||||
|
padding: 0 1rem 2rem; font-family: var(--mono); font-size: 0.62rem; color: #6a6458;
|
||||||
}
|
}
|
||||||
.foot a { color: #6a6458; text-decoration: none; }
|
.foot a { color: #6a6458; text-decoration: none; }
|
||||||
|
|
||||||
@media (max-width: 700px) {
|
@media (max-width: 720px) {
|
||||||
:root { --step: 1.5rem; --overlap: 20vh; --scroll-tick: 24vh; }
|
.tab-rail { display: none; }
|
||||||
|
:root { --tab-offset: 1.5rem; --stack-tick: 12vh; --stack-overlap: 10.5vh; }
|
||||||
|
.f6 .tab { margin-left: calc(var(--tab-offset) * 3); }
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,10 +0,0 @@
|
|||||||
const sections = document.querySelectorAll('.scroll-section');
|
|
||||||
const depthEl = document.getElementById('depth');
|
|
||||||
const mid = () => window.innerHeight * 0.42;
|
|
||||||
function tick() {
|
|
||||||
let a = 0;
|
|
||||||
sections.forEach((s) => { const r = s.getBoundingClientRect(); if (r.top <= mid() && r.bottom > mid()) a = +s.dataset.layer; });
|
|
||||||
depthEl.textContent = `L${a}`;
|
|
||||||
}
|
|
||||||
window.addEventListener('scroll', tick, { passive: true });
|
|
||||||
tick();
|
|
||||||
@ -6,21 +6,101 @@
|
|||||||
<title>Levkin — Stack Folder</title>
|
<title>Levkin — Stack Folder</title>
|
||||||
<link rel="icon" href="/favicon.svg" type="image/svg+xml" />
|
<link rel="icon" href="/favicon.svg" type="image/svg+xml" />
|
||||||
<link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&family=Instrument+Sans:wght@400;500;600&display=swap" rel="stylesheet" />
|
<link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&family=Instrument+Sans:wght@400;500;600&display=swap" rel="stylesheet" />
|
||||||
|
<link rel="stylesheet" href="../shared/stack-vars.css" />
|
||||||
<link rel="stylesheet" href="./folder.css" />
|
<link rel="stylesheet" href="./folder.css" />
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<nav class="nav"><a href="/">← options</a><a href="/stack/">cards</a><a href="/stack-trace/">trace</a><span class="depth" id="depth">L0</span></nav>
|
<nav class="nav">
|
||||||
|
<a href="/">← options</a>
|
||||||
|
<a href="/stack/">cards</a>
|
||||||
|
<a href="/stack-trace/">trace</a>
|
||||||
|
<a href="/stack-rack/">rack</a>
|
||||||
|
<span class="depth" id="depth">L0</span>
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
<div class="tab-rail" aria-label="Jump to layer">
|
||||||
|
<button type="button" class="rail-tab active" data-goto="0" data-layer="0">L0</button>
|
||||||
|
<button type="button" class="rail-tab" data-goto="1" data-layer="1">L1</button>
|
||||||
|
<button type="button" class="rail-tab" data-goto="2" data-layer="2">L2</button>
|
||||||
|
<button type="button" class="rail-tab" data-goto="3" data-layer="3">L3</button>
|
||||||
|
<button type="button" class="rail-tab" data-goto="4" data-layer="4">L4</button>
|
||||||
|
<button type="button" class="rail-tab" data-goto="5" data-layer="5">L5</button>
|
||||||
|
<button type="button" class="rail-tab" data-goto="6" data-layer="6">L6</button>
|
||||||
|
</div>
|
||||||
|
|
||||||
<main class="mount">
|
<main class="mount">
|
||||||
<div class="scroll-section" data-layer="0"><article class="folder f0"><div class="tab">L0 · foundation</div><div class="body"><h1>Levkin</h1><p>Software development · Canada · remote · 15+ yrs</p><p class="avail">Taking new engagements</p></div></article></div>
|
<div class="scroll-section" data-layer="0">
|
||||||
<div class="scroll-section" data-layer="1"><article class="folder f1"><div class="tab">L1 · application</div><div class="body"><h2>Custom software</h2><p>Web apps, APIs, tools — TS · Python · .NET</p></div></article></div>
|
<article class="folder f0" id="layer-0">
|
||||||
<div class="scroll-section" data-layer="2"><article class="folder f2"><div class="tab">L2 · automation</div><div class="body"><h2>Automation</h2><p>n8n · CI/CD · LLMs · <a href="https://auto.levkin.ca">auto.levkin.ca</a></p></div></article></div>
|
<button type="button" class="tab" data-goto="0">L0 · foundation</button>
|
||||||
<div class="scroll-section" data-layer="3"><article class="folder f3"><div class="tab">L3 · enterprise</div><div class="body"><h2>CaseWare</h2><p>15+ years · MNP · JazzIt · <a href="https://caseware.levkin.ca">caseware.levkin.ca</a></p></div></article></div>
|
<div class="body">
|
||||||
<div class="scroll-section" data-layer="4"><article class="folder f4"><div class="tab">L4 · quality</div><div class="body"><h2>Quality engineering</h2><p>Senior SDET · <a href="https://iliadobkin.com">iliadobkin.com</a></p></div></article></div>
|
<h1>Levkin</h1>
|
||||||
<div class="scroll-section" data-layer="5"><article class="folder f5"><div class="tab">L5 · operations</div><div class="body"><h2>Job Ops</h2><p><a href="https://jobs.levkin.ca">jobs.levkin.ca</a> (auth)</p></div></article></div>
|
<p>Software development · Canada · remote</p>
|
||||||
<div class="scroll-section scroll-section--final" data-layer="6"><article class="folder f6"><div class="tab">L6 · interface</div><div class="body"><h2>Engage</h2><p><a class="btn" href="https://cal.levkin.ca/ilia/consult">Book 15 min</a> <a class="btn ghost" href="mailto:hello@levkine.ca">email</a></p></div></article></div>
|
<p class="avail">Taking new engagements · 15+ yrs · 8h→2m</p>
|
||||||
<div class="stop"></div>
|
</div>
|
||||||
|
</article>
|
||||||
|
</div>
|
||||||
|
<div class="scroll-section" data-layer="1">
|
||||||
|
<article class="folder f1" id="layer-1">
|
||||||
|
<button type="button" class="tab" data-goto="1">L1 · application</button>
|
||||||
|
<div class="body">
|
||||||
|
<h2>Custom software</h2>
|
||||||
|
<p>Web apps, APIs, tools — TypeScript · Python · .NET · PostgreSQL</p>
|
||||||
|
</div>
|
||||||
|
</article>
|
||||||
|
</div>
|
||||||
|
<div class="scroll-section" data-layer="2">
|
||||||
|
<article class="folder f2" id="layer-2">
|
||||||
|
<button type="button" class="tab" data-goto="2">L2 · automation</button>
|
||||||
|
<div class="body">
|
||||||
|
<h2>Automation</h2>
|
||||||
|
<p>n8n · Zapier · CI/CD · LLMs · <a href="https://auto.levkin.ca">auto.levkin.ca</a></p>
|
||||||
|
</div>
|
||||||
|
</article>
|
||||||
|
</div>
|
||||||
|
<div class="scroll-section" data-layer="3">
|
||||||
|
<article class="folder f3" id="layer-3">
|
||||||
|
<button type="button" class="tab" data-goto="3">L3 · enterprise</button>
|
||||||
|
<div class="body">
|
||||||
|
<h2>CaseWare & CaseView</h2>
|
||||||
|
<p>15+ years · CaseWare Intl, MNP, JazzIt · <a href="https://caseware.levkin.ca">caseware.levkin.ca</a></p>
|
||||||
|
</div>
|
||||||
|
</article>
|
||||||
|
</div>
|
||||||
|
<div class="scroll-section" data-layer="4">
|
||||||
|
<article class="folder f4" id="layer-4">
|
||||||
|
<button type="button" class="tab" data-goto="4">L4 · quality</button>
|
||||||
|
<div class="body">
|
||||||
|
<h2>Quality engineering</h2>
|
||||||
|
<p>Senior SDET · <a href="https://iliadobkin.com">iliadobkin.com</a></p>
|
||||||
|
</div>
|
||||||
|
</article>
|
||||||
|
</div>
|
||||||
|
<div class="scroll-section" data-layer="5">
|
||||||
|
<article class="folder f5" id="layer-5">
|
||||||
|
<button type="button" class="tab" data-goto="5">L5 · operations</button>
|
||||||
|
<div class="body">
|
||||||
|
<h2>Job Ops</h2>
|
||||||
|
<p>Internal hiring orchestrator · <a href="https://jobs.levkin.ca">jobs.levkin.ca</a></p>
|
||||||
|
</div>
|
||||||
|
</article>
|
||||||
|
</div>
|
||||||
|
<div class="scroll-section scroll-section--final" data-layer="6">
|
||||||
|
<article class="folder f6" id="layer-6">
|
||||||
|
<button type="button" class="tab" data-goto="6">L6 · interface</button>
|
||||||
|
<div class="body">
|
||||||
|
<h2>Engage</h2>
|
||||||
|
<p>Discover → Proposal → Ship → Maintain</p>
|
||||||
|
<p><a class="btn" href="https://cal.levkin.ca/ilia/consult">Book 15 min</a> <a class="btn ghost" href="mailto:hello@levkine.ca">hello@levkine.ca</a></p>
|
||||||
|
</div>
|
||||||
|
</article>
|
||||||
|
</div>
|
||||||
|
<div class="stack-stop"></div>
|
||||||
</main>
|
</main>
|
||||||
<footer class="foot"><a href="https://git.levkin.ca">git</a><span>levkin.ca</span></footer>
|
|
||||||
<script src="./folder.js" type="module"></script>
|
<footer class="foot"><a href="https://git.levkin.ca">git.levkin.ca</a><span>levkin.ca</span></footer>
|
||||||
|
<script type="module">
|
||||||
|
import { initStackScroll } from '../shared/stack-scroll.js';
|
||||||
|
initStackScroll();
|
||||||
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@ -6,26 +6,28 @@
|
|||||||
<title>Levkin — Stack Rack</title>
|
<title>Levkin — Stack Rack</title>
|
||||||
<link rel="icon" href="/favicon.svg" type="image/svg+xml" />
|
<link rel="icon" href="/favicon.svg" type="image/svg+xml" />
|
||||||
<link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&display=swap" rel="stylesheet" />
|
<link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&display=swap" rel="stylesheet" />
|
||||||
|
<link rel="stylesheet" href="../shared/stack-vars.css" />
|
||||||
<link rel="stylesheet" href="./rack.css" />
|
<link rel="stylesheet" href="./rack.css" />
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<nav class="nav"><a href="/">← options</a><a href="/stack-trace/">trace</a><span id="depth">U0</span></nav>
|
<nav class="nav"><a href="/">← options</a><a href="/stack-trace/">trace</a><a href="/stack-folder/">folder</a><span id="depth">U0</span></nav>
|
||||||
|
|
||||||
<div class="rack-frame">
|
<div class="rack-frame">
|
||||||
<div class="rack-label">LEV-RACK-01</div>
|
<div class="rack-label">LEV-RACK-01</div>
|
||||||
<main class="mount">
|
<main class="mount">
|
||||||
<div class="scroll-section" data-layer="0"><article class="unit u0"><header class="unit-head"><span class="led on"></span><span class="uid">U0</span><span class="svc">foundation</span></header><div class="unit-body"><strong>Levkin</strong><p>Software dev · CA · 15+ yrs · new work open</p></div></article></div>
|
<div class="scroll-section" data-layer="0"><article class="unit u0"><header class="unit-head"><button type="button" class="jump" data-goto="0"><span class="led on"></span><span class="uid">U0</span><span class="svc">foundation</span></button></header><div class="unit-body"><strong>Levkin</strong><p>Software dev · CA · 15+ yrs</p></div></article></div>
|
||||||
<div class="scroll-section" data-layer="1"><article class="unit u1"><header class="unit-head"><span class="led on"></span><span class="uid">U1</span><span class="svc">application</span></header><div class="unit-body"><strong>custom_software</strong><p>TS · Python · .NET</p></div></article></div>
|
<div class="scroll-section" data-layer="1"><article class="unit u1"><header class="unit-head"><button type="button" class="jump" data-goto="1"><span class="led on"></span><span class="uid">U1</span><span class="svc">application</span></button></header><div class="unit-body"><strong>custom_software</strong><p>TS · Python · .NET</p></div></article></div>
|
||||||
<div class="scroll-section" data-layer="2"><article class="unit u2"><header class="unit-head"><span class="led on"></span><span class="uid">U2</span><span class="svc">automation</span><a href="https://auto.levkin.ca">auto↗</a></header><div class="unit-body"><strong>pipeline_cluster</strong><p>n8n · CI/CD · LLM hooks</p></div></article></div>
|
<div class="scroll-section" data-layer="2"><article class="unit u2"><header class="unit-head"><button type="button" class="jump" data-goto="2"><span class="led on"></span><span class="uid">U2</span><span class="svc">automation</span></button><a class="ext" href="https://auto.levkin.ca">auto↗</a></header><div class="unit-body"><strong>pipeline</strong><p>n8n · CI/CD</p></div></article></div>
|
||||||
<div class="scroll-section" data-layer="3"><article class="unit u3"><header class="unit-head"><span class="led on"></span><span class="uid">U3</span><span class="svc">enterprise</span><a href="https://caseware.levkin.ca">caseware↗</a></header><div class="unit-body"><strong>caseware_module</strong><p>MNP · JazzIt · 8h→2m</p></div></article></div>
|
<div class="scroll-section" data-layer="3"><article class="unit u3"><header class="unit-head"><button type="button" class="jump" data-goto="3"><span class="led on"></span><span class="uid">U3</span><span class="svc">enterprise</span></button><a class="ext" href="https://caseware.levkin.ca">case↗</a></header><div class="unit-body"><strong>caseware</strong><p>MNP · JazzIt</p></div></article></div>
|
||||||
<div class="scroll-section" data-layer="4"><article class="unit u4"><header class="unit-head"><span class="led blink"></span><span class="uid">U4</span><span class="svc">quality</span><a href="https://iliadobkin.com">iliadobkin↗</a></header><div class="unit-body"><strong>sdet_suite</strong><p>traces · Playwright · CI</p></div></article></div>
|
<div class="scroll-section" data-layer="4"><article class="unit u4"><header class="unit-head"><button type="button" class="jump" data-goto="4"><span class="led blink"></span><span class="uid">U4</span><span class="svc">quality</span></button><a class="ext" href="https://iliadobkin.com">sdet↗</a></header><div class="unit-body"><strong>sdet_suite</strong><p>iliadobkin.com</p></div></article></div>
|
||||||
<div class="scroll-section" data-layer="5"><article class="unit u5"><header class="unit-head"><span class="led"></span><span class="uid">U5</span><span class="svc">ops</span><a href="https://jobs.levkin.ca">jobs↗</a></header><div class="unit-body"><strong>job_ops</strong><p>auth · internal</p></div></article></div>
|
<div class="scroll-section" data-layer="5"><article class="unit u5"><header class="unit-head"><button type="button" class="jump" data-goto="5"><span class="led"></span><span class="uid">U5</span><span class="svc">ops</span></button><a class="ext" href="https://jobs.levkin.ca">jobs↗</a></header><div class="unit-body"><strong>job_ops</strong><p>auth</p></div></article></div>
|
||||||
<div class="scroll-section scroll-section--final" data-layer="6"><article class="unit u6"><header class="unit-head"><span class="led on"></span><span class="uid">U6</span><span class="svc">interface</span></header><div class="unit-body"><strong>engage()</strong><p><a href="https://cal.levkin.ca/ilia/consult">book_consult</a> · <a href="mailto:hello@levkine.ca">mail</a></p></div></article></div>
|
<div class="scroll-section scroll-section--final" data-layer="6"><article class="unit u6"><header class="unit-head"><button type="button" class="jump" data-goto="6"><span class="led on"></span><span class="uid">U6</span><span class="svc">interface</span></button></header><div class="unit-body"><strong>engage()</strong><p><a href="https://cal.levkin.ca/ilia/consult">book</a> · <a href="mailto:hello@levkine.ca">mail</a></p></div></article></div>
|
||||||
<div class="stop"></div>
|
<div class="stop"></div>
|
||||||
</main>
|
</main>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<footer class="foot"><span>// rack EOT</span><a href="https://git.levkin.ca">git.levkin.ca</a></footer>
|
<footer class="foot"><span>// rack EOT</span><a href="https://git.levkin.ca">git.levkin.ca</a></footer>
|
||||||
<script src="./rack.js" type="module"></script>
|
<script type="module">
|
||||||
|
import { initStackScroll } from '../shared/stack-scroll.js';
|
||||||
|
initStackScroll({ depthPrefix: 'U' });
|
||||||
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@ -1,17 +1,9 @@
|
|||||||
:root {
|
@import '../shared/stack-vars.css';
|
||||||
--nav: 2.5rem;
|
|
||||||
--stick: 0.5rem;
|
|
||||||
--step: 1.7rem;
|
|
||||||
--scroll-tick: 26vh;
|
|
||||||
--overlap: 22vh;
|
|
||||||
--rack: #12141a;
|
|
||||||
--mono: 'IBM Plex Mono', monospace;
|
|
||||||
}
|
|
||||||
|
|
||||||
* { box-sizing: border-box; margin: 0; padding: 0; }
|
* { box-sizing: border-box; margin: 0; padding: 0; }
|
||||||
|
|
||||||
body {
|
body {
|
||||||
font-family: var(--mono);
|
font-family: 'IBM Plex Mono', ui-monospace, monospace;
|
||||||
background: #08090c;
|
background: #08090c;
|
||||||
color: #9ca3af;
|
color: #9ca3af;
|
||||||
font-size: 0.75rem;
|
font-size: 0.75rem;
|
||||||
@ -28,101 +20,79 @@ body {
|
|||||||
#depth { margin-left: auto; color: #4ade80; font-weight: 600; }
|
#depth { margin-left: auto; color: #4ade80; font-weight: 600; }
|
||||||
|
|
||||||
.rack-frame {
|
.rack-frame {
|
||||||
max-width: 540px;
|
width: min(600px, 100%);
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
padding: calc(var(--nav) + 0.75rem) 0.75rem 0;
|
padding: calc(var(--stack-nav) + 0.5rem) 0.5rem 0;
|
||||||
border-left: 4px solid #2a3040;
|
border-left: 4px solid #2a3040;
|
||||||
border-right: 4px solid #2a3040;
|
border-right: 4px solid #2a3040;
|
||||||
background: linear-gradient(90deg, #0c0e14 0%, var(--rack) 8%, var(--rack) 92%, #0c0e14 100%);
|
background: linear-gradient(90deg, #0c0e14 0%, #12141a 8%, #12141a 92%, #0c0e14 100%);
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
box-shadow: inset 0 0 40px rgba(0,0,0,0.5);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.rack-label {
|
.rack-label {
|
||||||
font-size: 0.55rem;
|
font-size: 0.55rem; letter-spacing: 0.2em; color: #3a4458;
|
||||||
letter-spacing: 0.2em;
|
padding: 0 0.5rem 0.65rem; border-bottom: 1px dashed #2a3040;
|
||||||
color: #3a4458;
|
|
||||||
padding: 0 0.5rem 0.75rem;
|
|
||||||
border-bottom: 1px dashed #2a3040;
|
|
||||||
margin-bottom: 0.5rem;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.mount { padding: 0 0.35rem; }
|
.mount { padding: 0 0.25rem; }
|
||||||
|
|
||||||
.scroll-section { height: var(--scroll-tick); position: relative; }
|
.scroll-section { height: var(--stack-tick); position: relative; }
|
||||||
.scroll-section--final { height: 16vh; min-height: 160px; }
|
.scroll-section--final { height: 12vh; min-height: 200px; }
|
||||||
.stop { height: 1px; margin-bottom: 2rem; }
|
.stop { height: 1px; margin-bottom: 4rem; }
|
||||||
|
|
||||||
.unit {
|
.unit {
|
||||||
position: sticky;
|
position: sticky;
|
||||||
margin-bottom: calc(-1 * var(--overlap));
|
margin-bottom: calc(-1 * var(--stack-overlap));
|
||||||
border: 1px solid #2a3448;
|
border: 1px solid #2a3448;
|
||||||
background: #161a22;
|
background: #161a22;
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
box-shadow: 0 4px 0 #0a0c10, inset 0 1px 0 rgba(255,255,255,0.04);
|
box-shadow: 0 6px 0 #0a0c10, 0 12px 24px rgba(0,0,0,0.4);
|
||||||
|
min-height: 160px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.unit-head {
|
.unit-head {
|
||||||
display: flex;
|
display: flex; align-items: center; gap: 0.5rem;
|
||||||
align-items: center;
|
padding: 0.4rem 0.65rem;
|
||||||
gap: 0.5rem;
|
|
||||||
padding: 0.35rem 0.65rem;
|
|
||||||
background: #1a2030;
|
background: #1a2030;
|
||||||
border-bottom: 1px solid #2a3448;
|
border-bottom: 1px solid #2a3448;
|
||||||
font-size: 0.62rem;
|
position: sticky;
|
||||||
position: relative;
|
z-index: 30;
|
||||||
z-index: 20;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.led {
|
.unit-head button.jump {
|
||||||
width: 6px;
|
background: none; border: none; font: inherit; color: inherit;
|
||||||
height: 6px;
|
cursor: pointer; display: flex; align-items: center; gap: 0.5rem; flex: 1;
|
||||||
border-radius: 50%;
|
text-align: left; padding: 0;
|
||||||
background: #3a4458;
|
|
||||||
flex-shrink: 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.unit-head button.jump:hover .uid { color: #4ade80; }
|
||||||
|
|
||||||
|
.led { width: 6px; height: 6px; border-radius: 50%; background: #3a4458; flex-shrink: 0; }
|
||||||
.led.on { background: #4ade80; box-shadow: 0 0 6px #4ade80; }
|
.led.on { background: #4ade80; box-shadow: 0 0 6px #4ade80; }
|
||||||
.led.blink { background: #fbbf24; animation: blink 1.2s ease infinite; }
|
.led.blink { background: #fbbf24; animation: blink 1.2s ease infinite; }
|
||||||
|
@keyframes blink { 50% { opacity: 0.35; } }
|
||||||
|
|
||||||
@keyframes blink {
|
.uid { color: #6b7280; font-weight: 600; min-width: 1.4rem; }
|
||||||
50% { opacity: 0.35; }
|
|
||||||
}
|
|
||||||
|
|
||||||
.uid { color: #6b7280; font-weight: 600; min-width: 1.5rem; }
|
|
||||||
.svc { color: #9ca3af; text-transform: uppercase; letter-spacing: 0.08em; flex: 1; }
|
.svc { color: #9ca3af; text-transform: uppercase; letter-spacing: 0.08em; flex: 1; }
|
||||||
.unit-head a {
|
.unit-head a.ext { color: #60a5fa; text-decoration: none; font-size: 0.58rem; }
|
||||||
color: #60a5fa;
|
|
||||||
text-decoration: none;
|
|
||||||
font-size: 0.58rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.unit-body {
|
.unit-body { padding: 0.6rem 0.7rem 0.75rem; min-height: 120px; }
|
||||||
padding: 0.55rem 0.65rem 0.65rem;
|
.unit-body strong { color: #e5e7eb; display: block; margin-bottom: 0.2rem; }
|
||||||
position: relative;
|
.unit-body p { color: #6b7280; font-size: 0.7rem; }
|
||||||
z-index: 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
.unit-body strong { color: #e5e7eb; font-weight: 500; display: block; margin-bottom: 0.15rem; }
|
|
||||||
.unit-body p { color: #6b7280; font-size: 0.68rem; }
|
|
||||||
.unit-body a { color: #60a5fa; text-decoration: none; }
|
.unit-body a { color: #60a5fa; text-decoration: none; }
|
||||||
.unit-body a:hover { text-decoration: underline; }
|
|
||||||
|
|
||||||
.u0 { top: calc(var(--nav) + var(--stick)); z-index: 1; }
|
.u0 { top: calc(var(--stack-nav) + var(--stack-stick)); z-index: 1; }
|
||||||
.u1 { top: calc(var(--nav) + var(--stick) + var(--step)); z-index: 2; }
|
.u1 { top: calc(var(--stack-nav) + var(--stack-stick) + var(--stack-step)); z-index: 2; }
|
||||||
.u2 { top: calc(var(--nav) + var(--stick) + var(--step) * 2); z-index: 3; }
|
.u2 { top: calc(var(--stack-nav) + var(--stack-stick) + var(--stack-step) * 2); z-index: 3; }
|
||||||
.u3 { top: calc(var(--nav) + var(--stick) + var(--step) * 3); z-index: 4; }
|
.u3 { top: calc(var(--stack-nav) + var(--stack-stick) + var(--stack-step) * 3); z-index: 4; }
|
||||||
.u4 { top: calc(var(--nav) + var(--stick) + var(--step) * 4); z-index: 5; }
|
.u4 { top: calc(var(--stack-nav) + var(--stack-stick) + var(--stack-step) * 4); z-index: 5; }
|
||||||
.u5 { top: calc(var(--nav) + var(--stick) + var(--step) * 5); z-index: 6; }
|
.u5 { top: calc(var(--stack-nav) + var(--stack-stick) + var(--stack-step) * 5); z-index: 6; }
|
||||||
.u6 {
|
.u6 { top: calc(var(--stack-nav) + var(--stack-stick) + var(--stack-step) * 6); z-index: 7; margin-bottom: 0; }
|
||||||
top: calc(var(--nav) + var(--stick) + var(--step) * 6);
|
|
||||||
z-index: 7;
|
|
||||||
margin-bottom: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.foot {
|
.foot {
|
||||||
display: flex; justify-content: space-between; max-width: 540px; margin: 0 auto;
|
display: flex; justify-content: space-between;
|
||||||
padding: 1rem 1.25rem 2rem; font-size: 0.58rem; color: #3a4458;
|
width: min(600px, 100%); margin: 0 auto;
|
||||||
|
padding: 1rem 1.25rem 2.5rem; font-size: 0.58rem; color: #3a4458;
|
||||||
}
|
}
|
||||||
.foot a { color: #3a4458; text-decoration: none; }
|
.foot a { color: #3a4458; text-decoration: none; }
|
||||||
|
|||||||
@ -1,15 +0,0 @@
|
|||||||
const sections = document.querySelectorAll('.scroll-section');
|
|
||||||
const depthEl = document.getElementById('depth');
|
|
||||||
const mid = () => window.innerHeight * 0.42;
|
|
||||||
|
|
||||||
function tick() {
|
|
||||||
let a = 0;
|
|
||||||
sections.forEach((s) => {
|
|
||||||
const r = s.getBoundingClientRect();
|
|
||||||
if (r.top <= mid() && r.bottom > mid()) a = +s.dataset.layer;
|
|
||||||
});
|
|
||||||
depthEl.textContent = `U${a}`;
|
|
||||||
}
|
|
||||||
|
|
||||||
window.addEventListener('scroll', tick, { passive: true });
|
|
||||||
tick();
|
|
||||||
@ -6,21 +6,25 @@
|
|||||||
<title>Levkin — Stack Trace</title>
|
<title>Levkin — Stack Trace</title>
|
||||||
<link rel="icon" href="/favicon.svg" type="image/svg+xml" />
|
<link rel="icon" href="/favicon.svg" type="image/svg+xml" />
|
||||||
<link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&display=swap" rel="stylesheet" />
|
<link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&display=swap" rel="stylesheet" />
|
||||||
|
<link rel="stylesheet" href="../shared/stack-vars.css" />
|
||||||
<link rel="stylesheet" href="./trace.css" />
|
<link rel="stylesheet" href="./trace.css" />
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<nav class="nav"><a href="/">← options</a><a href="/stack/">cards</a><a href="/stack-folder/">folder</a><a href="/stack-rack/">rack</a><span id="depth">#0</span></nav>
|
<nav class="nav"><a href="/">← options</a><a href="/stack/">cards</a><a href="/stack-folder/">folder</a><a href="/stack-rack/">rack</a><span id="depth">#0</span></nav>
|
||||||
<main class="mount">
|
<main class="mount">
|
||||||
<div class="scroll-section" data-layer="0"><article class="frame f0"><code>at Levkin.foundation (levkin.ca:0)</code><div class="frame-body"><strong>Levkin</strong><p>Canadian software practice · 15+ yrs · remote</p></div></article></div>
|
<div class="scroll-section" data-layer="0"><article class="frame f0"><button type="button" class="frame-line" data-goto="0">at Levkin.foundation (levkin.ca:0)</button><div class="frame-body"><strong>Levkin</strong><p>Canadian software practice · 15+ yrs · remote</p></div></article></div>
|
||||||
<div class="scroll-section" data-layer="1"><article class="frame f1"><code>at Levkin.application (levkin.ca:1)</code><div class="frame-body"><strong>custom_software()</strong><p>TS · Python · .NET · APIs</p></div></article></div>
|
<div class="scroll-section" data-layer="1"><article class="frame f1"><button type="button" class="frame-line" data-goto="1">at Levkin.application (levkin.ca:1)</button><div class="frame-body"><strong>custom_software()</strong><p>TS · Python · .NET · APIs</p></div></article></div>
|
||||||
<div class="scroll-section" data-layer="2"><article class="frame f2"><code>at Levkin.automation (auto.levkin.ca:2)</code><div class="frame-body"><strong>automation_pipeline()</strong><p>n8n · CI/CD · LLMs</p></div></article></div>
|
<div class="scroll-section" data-layer="2"><article class="frame f2"><button type="button" class="frame-line" data-goto="2">at Levkin.automation (auto.levkin.ca:2)</button><div class="frame-body"><strong>automation_pipeline()</strong><p>n8n · CI/CD · LLMs</p></div></article></div>
|
||||||
<div class="scroll-section" data-layer="3"><article class="frame f3"><code>at Levkin.caseware (caseware.levkin.ca:3)</code><div class="frame-body"><strong>enterprise_module()</strong><p>CaseWare · MNP · JazzIt</p></div></article></div>
|
<div class="scroll-section" data-layer="3"><article class="frame f3"><button type="button" class="frame-line" data-goto="3">at Levkin.caseware (caseware.levkin.ca:3)</button><div class="frame-body"><strong>enterprise_module()</strong><p>CaseWare · MNP · JazzIt</p></div></article></div>
|
||||||
<div class="scroll-section" data-layer="4"><article class="frame f4"><code>at Levkin.quality (iliadobkin.com:4)</code><div class="frame-body"><strong>sdet_suite()</strong><p><a href="https://iliadobkin.com">iliadobkin.com</a> — traces · Playwright</p></div></article></div>
|
<div class="scroll-section" data-layer="4"><article class="frame f4"><button type="button" class="frame-line" data-goto="4">at Levkin.quality (iliadobkin.com:4)</button><div class="frame-body"><strong>sdet_suite()</strong><p><a href="https://iliadobkin.com">iliadobkin.com</a> — traces · Playwright</p></div></article></div>
|
||||||
<div class="scroll-section" data-layer="5"><article class="frame f5"><code>at Levkin.operations (jobs.levkin.ca:5)</code><div class="frame-body"><strong>job_ops()</strong><p>internal · auth required</p></div></article></div>
|
<div class="scroll-section" data-layer="5"><article class="frame f5"><button type="button" class="frame-line" data-goto="5">at Levkin.operations (jobs.levkin.ca:5)</button><div class="frame-body"><strong>job_ops()</strong><p>internal · auth required</p></div></article></div>
|
||||||
<div class="scroll-section scroll-section--final" data-layer="6"><article class="frame f6"><code>at Levkin.engage (interface:6)</code><div class="frame-body"><strong>main()</strong><p><a href="https://cal.levkin.ca/ilia/consult">book_consult()</a> · <a href="mailto:hello@levkine.ca">send_mail()</a></p></div></article></div>
|
<div class="scroll-section scroll-section--final" data-layer="6"><article class="frame f6"><button type="button" class="frame-line" data-goto="6">at Levkin.engage (interface:6)</button><div class="frame-body"><strong>main()</strong><p><a href="https://cal.levkin.ca/ilia/consult">book_consult()</a> · <a href="mailto:hello@levkine.ca">send_mail()</a></p></div></article></div>
|
||||||
<div class="stop"></div>
|
<div class="stop"></div>
|
||||||
</main>
|
</main>
|
||||||
<footer class="foot"><span>// end of stack</span><a href="https://git.levkin.ca">git.levkin.ca</a></footer>
|
<footer class="foot"><span>// end of stack</span><a href="https://git.levkin.ca">git.levkin.ca</a></footer>
|
||||||
<script src="./trace.js" type="module"></script>
|
<script type="module">
|
||||||
|
import { initStackScroll } from '../shared/stack-scroll.js';
|
||||||
|
initStackScroll({ depthPrefix: '#' });
|
||||||
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@ -1,18 +1,16 @@
|
|||||||
:root {
|
@import '../shared/stack-vars.css';
|
||||||
--nav: 2.5rem;
|
|
||||||
--stick: 0.5rem;
|
|
||||||
--step: 1.75rem;
|
|
||||||
--scroll-tick: 26vh;
|
|
||||||
--overlap: 22vh;
|
|
||||||
--mono: 'IBM Plex Mono', monospace;
|
|
||||||
}
|
|
||||||
|
|
||||||
* { box-sizing: border-box; margin: 0; padding: 0; }
|
* { box-sizing: border-box; margin: 0; padding: 0; }
|
||||||
|
|
||||||
body { font-family: var(--mono); background: #0d0d0f; color: #b8b4af; font-size: 0.8rem; }
|
body {
|
||||||
|
font-family: 'IBM Plex Mono', ui-monospace, monospace;
|
||||||
|
background: #0d0d0f;
|
||||||
|
color: #b8b4af;
|
||||||
|
font-size: 0.8rem;
|
||||||
|
}
|
||||||
|
|
||||||
.nav {
|
.nav {
|
||||||
position: fixed; top: 0; left: 0; right: 0; z-index: 100;
|
position: fixed; top: 0; left: 0; right: 0; z-index: 200;
|
||||||
display: flex; gap: 1rem; padding: 0.5rem 1rem; font-size: 0.62rem;
|
display: flex; gap: 1rem; padding: 0.5rem 1rem; font-size: 0.62rem;
|
||||||
background: rgba(13,13,15,0.95); border-bottom: 1px solid #2a2a30;
|
background: rgba(13,13,15,0.95); border-bottom: 1px solid #2a2a30;
|
||||||
}
|
}
|
||||||
@ -21,48 +19,57 @@ body { font-family: var(--mono); background: #0d0d0f; color: #b8b4af; font-size:
|
|||||||
.nav a:hover { color: #7eb87a; }
|
.nav a:hover { color: #7eb87a; }
|
||||||
#depth { margin-left: auto; color: #7eb87a; font-weight: 600; }
|
#depth { margin-left: auto; color: #7eb87a; font-weight: 600; }
|
||||||
|
|
||||||
.mount { max-width: 560px; margin: 0 auto; padding-top: var(--nav); }
|
.mount {
|
||||||
|
width: min(600px, 100%);
|
||||||
|
margin: 0 auto;
|
||||||
|
padding-top: var(--stack-nav);
|
||||||
|
}
|
||||||
|
|
||||||
.scroll-section { height: var(--scroll-tick); position: relative; }
|
.scroll-section { height: var(--stack-tick); position: relative; }
|
||||||
.scroll-section--final { height: 16vh; min-height: 180px; }
|
.scroll-section--final { height: 12vh; min-height: 200px; }
|
||||||
.stop { height: 1px; margin-bottom: 3rem; }
|
.stop { height: 1px; margin-bottom: 4rem; }
|
||||||
|
|
||||||
.frame {
|
.frame {
|
||||||
position: sticky;
|
position: sticky;
|
||||||
margin: 0 0.75rem calc(-1 * var(--overlap)) 0.75rem;
|
margin: 0 0.5rem calc(-1 * var(--stack-overlap)) 0.5rem;
|
||||||
border-left: 3px solid #3a3a44;
|
border-left: 3px solid #3a3a44;
|
||||||
background: #141418;
|
background: #141418;
|
||||||
padding: 0.6rem 0 0.6rem 0.9rem;
|
padding: 0.65rem 0 0.65rem 1rem;
|
||||||
box-shadow: 0 6px 0 #0a0a0c, 0 12px 24px rgba(0,0,0,0.4);
|
min-height: 180px;
|
||||||
|
box-shadow: 0 8px 0 #0a0a0c, 0 14px 28px rgba(0,0,0,0.45);
|
||||||
}
|
}
|
||||||
|
|
||||||
.frame code {
|
.frame-line {
|
||||||
display: block;
|
display: block;
|
||||||
font-size: 0.66rem;
|
font-size: 0.66rem;
|
||||||
color: #6b9b6b;
|
color: #6b9b6b;
|
||||||
margin-bottom: 0.35rem;
|
margin-bottom: 0.4rem;
|
||||||
|
background: none;
|
||||||
|
border: none;
|
||||||
|
font-family: inherit;
|
||||||
|
cursor: pointer;
|
||||||
|
text-align: left;
|
||||||
|
padding: 0;
|
||||||
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.frame-body strong { color: #e8e6e3; font-weight: 500; }
|
.frame-line:hover { color: #9fdf9f; text-decoration: underline; }
|
||||||
.frame-body p { color: #6b6966; font-size: 0.72rem; margin-top: 0.15rem; }
|
|
||||||
|
.frame-body strong { color: #e8e6e3; font-weight: 500; display: block; margin-bottom: 0.2rem; }
|
||||||
|
.frame-body p { color: #6b6966; font-size: 0.74rem; }
|
||||||
.frame-body a { color: #8b9cb3; text-decoration: none; }
|
.frame-body a { color: #8b9cb3; text-decoration: none; }
|
||||||
.frame-body a:hover { color: #7eb87a; }
|
|
||||||
|
|
||||||
.f0 { top: calc(var(--nav) + var(--stick)); z-index: 1; border-color: #c4a574; }
|
.f0 { top: calc(var(--stack-nav) + var(--stack-stick)); z-index: 1; border-color: #c4a574; }
|
||||||
.f1 { top: calc(var(--nav) + var(--stick) + var(--step)); z-index: 2; }
|
.f1 { top: calc(var(--stack-nav) + var(--stack-stick) + var(--stack-step)); z-index: 2; }
|
||||||
.f2 { top: calc(var(--nav) + var(--stick) + var(--step) * 2); z-index: 3; }
|
.f2 { top: calc(var(--stack-nav) + var(--stack-stick) + var(--stack-step) * 2); z-index: 3; }
|
||||||
.f3 { top: calc(var(--nav) + var(--stick) + var(--step) * 3); z-index: 4; }
|
.f3 { top: calc(var(--stack-nav) + var(--stack-stick) + var(--stack-step) * 3); z-index: 4; }
|
||||||
.f4 { top: calc(var(--nav) + var(--stick) + var(--step) * 4); z-index: 5; border-color: #6b8b9b; }
|
.f4 { top: calc(var(--stack-nav) + var(--stack-stick) + var(--stack-step) * 4); z-index: 5; border-color: #6b8b9b; }
|
||||||
.f5 { top: calc(var(--nav) + var(--stick) + var(--step) * 5); z-index: 6; }
|
.f5 { top: calc(var(--stack-nav) + var(--stack-stick) + var(--stack-step) * 5); z-index: 6; }
|
||||||
.f6 {
|
.f6 { top: calc(var(--stack-nav) + var(--stack-stick) + var(--stack-step) * 6); z-index: 7; border-color: #7eb87a; margin-bottom: 0; }
|
||||||
top: calc(var(--nav) + var(--stick) + var(--step) * 6);
|
|
||||||
z-index: 7;
|
|
||||||
border-color: #7eb87a;
|
|
||||||
margin-bottom: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.foot {
|
.foot {
|
||||||
display: flex; justify-content: space-between; max-width: 560px; margin: 0 auto;
|
display: flex; justify-content: space-between;
|
||||||
|
width: min(600px, 100%); margin: 0 auto;
|
||||||
padding: 0 1.5rem 2.5rem; font-size: 0.6rem; color: #3a3a40;
|
padding: 0 1.5rem 2.5rem; font-size: 0.6rem; color: #3a3a40;
|
||||||
}
|
}
|
||||||
.foot a { color: #3a3a40; text-decoration: none; }
|
.foot a { color: #3a3a40; text-decoration: none; }
|
||||||
|
|||||||
@ -1,10 +0,0 @@
|
|||||||
const sections = document.querySelectorAll('.scroll-section');
|
|
||||||
const depthEl = document.getElementById('depth');
|
|
||||||
const mid = () => window.innerHeight * 0.42;
|
|
||||||
function tick() {
|
|
||||||
let a = 0;
|
|
||||||
sections.forEach((s) => { const r = s.getBoundingClientRect(); if (r.top <= mid() && r.bottom > mid()) a = +s.dataset.layer; });
|
|
||||||
depthEl.textContent = `#${a}`;
|
|
||||||
}
|
|
||||||
window.addEventListener('scroll', tick, { passive: true });
|
|
||||||
tick();
|
|
||||||
@ -9,6 +9,7 @@
|
|||||||
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
||||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
||||||
<link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&family=Instrument+Sans:wght@400;500;600&display=swap" rel="stylesheet" />
|
<link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&family=Instrument+Sans:wght@400;500;600&display=swap" rel="stylesheet" />
|
||||||
|
<link rel="stylesheet" href="../shared/stack-vars.css" />
|
||||||
<link rel="stylesheet" href="./stack.css" />
|
<link rel="stylesheet" href="./stack.css" />
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
@ -20,7 +21,7 @@
|
|||||||
|
|
||||||
<main class="stack-mount">
|
<main class="stack-mount">
|
||||||
<div class="scroll-section" data-layer="0"><section class="layer layer-0"><div class="layer-tab" aria-hidden="true"></div><div class="layer-inner">
|
<div class="scroll-section" data-layer="0"><section class="layer layer-0"><div class="layer-tab" aria-hidden="true"></div><div class="layer-inner">
|
||||||
<header class="layer-head"><span class="layer-id">L0</span><span class="layer-name">foundation</span></header>
|
<header class="layer-head"><button type="button" class="layer-id" data-goto="0">L0</button><span class="layer-name">foundation</span></header>
|
||||||
<h1>Levkin</h1>
|
<h1>Levkin</h1>
|
||||||
<p class="tagline">Software · Canada · remote</p>
|
<p class="tagline">Software · Canada · remote</p>
|
||||||
<p class="body">Boutique engineering — production systems, automation, enterprise.</p>
|
<p class="body">Boutique engineering — production systems, automation, enterprise.</p>
|
||||||
@ -29,37 +30,37 @@
|
|||||||
</div></section></div>
|
</div></section></div>
|
||||||
|
|
||||||
<div class="scroll-section" data-layer="1"><section class="layer layer-1"><div class="layer-tab" aria-hidden="true"></div><div class="layer-inner">
|
<div class="scroll-section" data-layer="1"><section class="layer layer-1"><div class="layer-tab" aria-hidden="true"></div><div class="layer-inner">
|
||||||
<header class="layer-head"><span class="layer-id">L1</span><span class="layer-name">application</span></header>
|
<header class="layer-head"><button type="button" class="layer-id" data-goto="1">L1</button><span class="layer-name">application</span></header>
|
||||||
<h2>Custom software</h2>
|
<h2>Custom software</h2>
|
||||||
<p class="body">Web apps, APIs, internal tools — TS · Python · .NET</p>
|
<p class="body">Web apps, APIs, internal tools — TS · Python · .NET</p>
|
||||||
</div></section></div>
|
</div></section></div>
|
||||||
|
|
||||||
<div class="scroll-section" data-layer="2"><section class="layer layer-2"><div class="layer-tab" aria-hidden="true"></div><div class="layer-inner">
|
<div class="scroll-section" data-layer="2"><section class="layer layer-2"><div class="layer-tab" aria-hidden="true"></div><div class="layer-inner">
|
||||||
<header class="layer-head"><span class="layer-id">L2</span><span class="layer-name">automation</span><a href="https://auto.levkin.ca" class="layer-link">auto.levkin.ca ↗</a></header>
|
<header class="layer-head"><button type="button" class="layer-id" data-goto="2">L2</button><span class="layer-name">automation</span><a href="https://auto.levkin.ca" class="layer-link">auto.levkin.ca ↗</a></header>
|
||||||
<h2>Automation</h2>
|
<h2>Automation</h2>
|
||||||
<p class="body">n8n · Zapier · CI/CD · webhooks · LLMs</p>
|
<p class="body">n8n · Zapier · CI/CD · webhooks · LLMs</p>
|
||||||
</div></section></div>
|
</div></section></div>
|
||||||
|
|
||||||
<div class="scroll-section" data-layer="3"><section class="layer layer-3"><div class="layer-tab" aria-hidden="true"></div><div class="layer-inner">
|
<div class="scroll-section" data-layer="3"><section class="layer layer-3"><div class="layer-tab" aria-hidden="true"></div><div class="layer-inner">
|
||||||
<header class="layer-head"><span class="layer-id">L3</span><span class="layer-name">enterprise</span><a href="https://caseware.levkin.ca" class="layer-link">caseware.levkin.ca ↗</a></header>
|
<header class="layer-head"><button type="button" class="layer-id" data-goto="3">L3</button><span class="layer-name">enterprise</span><a href="https://caseware.levkin.ca" class="layer-link">caseware.levkin.ca ↗</a></header>
|
||||||
<h2>CaseWare & CaseView</h2>
|
<h2>CaseWare & CaseView</h2>
|
||||||
<p class="body">15+ years · CaseWare Intl, MNP, JazzIt</p>
|
<p class="body">15+ years · CaseWare Intl, MNP, JazzIt</p>
|
||||||
</div></section></div>
|
</div></section></div>
|
||||||
|
|
||||||
<div class="scroll-section" data-layer="4"><section class="layer layer-4"><div class="layer-tab" aria-hidden="true"></div><div class="layer-inner">
|
<div class="scroll-section" data-layer="4"><section class="layer layer-4"><div class="layer-tab" aria-hidden="true"></div><div class="layer-inner">
|
||||||
<header class="layer-head"><span class="layer-id">L4</span><span class="layer-name">quality</span><a href="https://iliadobkin.com" class="layer-link">iliadobkin.com ↗</a></header>
|
<header class="layer-head"><button type="button" class="layer-id" data-goto="4">L4</button><span class="layer-name">quality</span><a href="https://iliadobkin.com" class="layer-link">iliadobkin.com ↗</a></header>
|
||||||
<h2>Quality engineering</h2>
|
<h2>Quality engineering</h2>
|
||||||
<p class="body">Senior SDET · test automation · CI/CD · trace-driven QA</p>
|
<p class="body">Senior SDET · test automation · CI/CD · trace-driven QA</p>
|
||||||
</div></section></div>
|
</div></section></div>
|
||||||
|
|
||||||
<div class="scroll-section" data-layer="5"><section class="layer layer-5"><div class="layer-tab" aria-hidden="true"></div><div class="layer-inner">
|
<div class="scroll-section" data-layer="5"><section class="layer layer-5"><div class="layer-tab" aria-hidden="true"></div><div class="layer-inner">
|
||||||
<header class="layer-head"><span class="layer-id">L5</span><span class="layer-name">operations</span><a href="https://jobs.levkin.ca" class="layer-link">jobs.levkin.ca ↗</a></header>
|
<header class="layer-head"><button type="button" class="layer-id" data-goto="5">L5</button><span class="layer-name">operations</span><a href="https://jobs.levkin.ca" class="layer-link">jobs.levkin.ca ↗</a></header>
|
||||||
<h2>Job Ops</h2>
|
<h2>Job Ops</h2>
|
||||||
<p class="body">Internal hiring orchestrator (auth required)</p>
|
<p class="body">Internal hiring orchestrator (auth required)</p>
|
||||||
</div></section></div>
|
</div></section></div>
|
||||||
|
|
||||||
<div class="scroll-section scroll-section--final" data-layer="6"><section class="layer layer-6"><div class="layer-tab" aria-hidden="true"></div><div class="layer-inner">
|
<div class="scroll-section scroll-section--final" data-layer="6"><section class="layer layer-6"><div class="layer-tab" aria-hidden="true"></div><div class="layer-inner">
|
||||||
<header class="layer-head"><span class="layer-id">L6</span><span class="layer-name">interface</span></header>
|
<header class="layer-head"><button type="button" class="layer-id" data-goto="6">L6</button><span class="layer-name">interface</span></header>
|
||||||
<h2>Engage</h2>
|
<h2>Engage</h2>
|
||||||
<p class="body">Discover → Proposal → Ship → Maintain</p>
|
<p class="body">Discover → Proposal → Ship → Maintain</p>
|
||||||
<div class="contact-row">
|
<div class="contact-row">
|
||||||
@ -73,7 +74,18 @@
|
|||||||
</main>
|
</main>
|
||||||
|
|
||||||
<footer class="site-foot"><a href="https://git.levkin.ca">git.levkin.ca</a><span>levkin.ca</span></footer>
|
<footer class="site-foot"><a href="https://git.levkin.ca">git.levkin.ca</a><span>levkin.ca</span></footer>
|
||||||
<div class="stack-ruler" aria-hidden="true"><span>L0</span><span>L1</span><span>L2</span><span>L3</span><span>L4</span><span>L5</span><span>L6</span></div>
|
<div class="stack-ruler" aria-label="Jump to layer">
|
||||||
<script src="./stack.js" type="module"></script>
|
<button type="button" data-goto="0" data-layer="0">L0</button>
|
||||||
|
<button type="button" data-goto="1" data-layer="1">L1</button>
|
||||||
|
<button type="button" data-goto="2" data-layer="2">L2</button>
|
||||||
|
<button type="button" data-goto="3" data-layer="3">L3</button>
|
||||||
|
<button type="button" data-goto="4" data-layer="4">L4</button>
|
||||||
|
<button type="button" data-goto="5" data-layer="5">L5</button>
|
||||||
|
<button type="button" data-goto="6" data-layer="6">L6</button>
|
||||||
|
</div>
|
||||||
|
<script type="module">
|
||||||
|
import { initStackScroll } from '../shared/stack-scroll.js';
|
||||||
|
initStackScroll();
|
||||||
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
118
stack/stack.css
118
stack/stack.css
@ -1,115 +1,94 @@
|
|||||||
|
@import '../shared/stack-vars.css';
|
||||||
|
|
||||||
:root {
|
:root {
|
||||||
--bg: #0e0e10;
|
|
||||||
--mono: 'IBM Plex Mono', ui-monospace, monospace;
|
--mono: 'IBM Plex Mono', ui-monospace, monospace;
|
||||||
--sans: 'Instrument Sans', system-ui, sans-serif;
|
--sans: 'Instrument Sans', system-ui, sans-serif;
|
||||||
--nav-h: 2.5rem;
|
|
||||||
--step: 2rem;
|
|
||||||
--scroll-tick: 28vh;
|
|
||||||
--overlap: 24vh;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
* { box-sizing: border-box; margin: 0; padding: 0; }
|
* { box-sizing: border-box; margin: 0; padding: 0; }
|
||||||
|
|
||||||
body {
|
body {
|
||||||
font-family: var(--sans);
|
font-family: var(--sans);
|
||||||
background: var(--bg);
|
background: #0e0e10;
|
||||||
color: #e8e6e3;
|
color: #e8e6e3;
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav {
|
.nav {
|
||||||
position: fixed;
|
position: fixed; top: 0; left: 0; right: 0; z-index: 200;
|
||||||
top: 0; left: 0; right: 0;
|
display: flex; align-items: center; gap: 1rem;
|
||||||
z-index: 200;
|
padding: 0.55rem 1rem; font-family: var(--mono); font-size: 0.62rem;
|
||||||
display: flex;
|
background: rgba(14, 14, 16, 0.92); backdrop-filter: blur(8px);
|
||||||
align-items: center;
|
|
||||||
gap: 1rem;
|
|
||||||
padding: 0.55rem 1rem;
|
|
||||||
font-family: var(--mono);
|
|
||||||
font-size: 0.62rem;
|
|
||||||
background: rgba(14, 14, 16, 0.92);
|
|
||||||
backdrop-filter: blur(8px);
|
|
||||||
border-bottom: 1px solid rgba(255,255,255,0.05);
|
border-bottom: 1px solid rgba(255,255,255,0.05);
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav a { color: #6b6966; text-decoration: none; }
|
.nav a { color: #6b6966; text-decoration: none; }
|
||||||
.nav a:hover { color: #c4a574; }
|
.nav a:hover { color: #c4a574; }
|
||||||
.variants { margin-left: auto; color: #4a4844; }
|
.variants { margin-left: auto; color: #4a4844; }
|
||||||
.variants a { color: #5a5854; }
|
|
||||||
.depth { color: #c4a574; font-weight: 600; }
|
.depth { color: #c4a574; font-weight: 600; }
|
||||||
|
|
||||||
.stack-mount {
|
.stack-mount {
|
||||||
max-width: 500px;
|
width: min(560px, 100%);
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
padding: var(--nav-h) 1rem 0;
|
padding: var(--stack-nav) 1rem 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.scroll-section {
|
.scroll-section { height: var(--stack-tick); position: relative; }
|
||||||
height: var(--scroll-tick);
|
.scroll-section--final { height: 12vh; min-height: 220px; }
|
||||||
position: relative;
|
.stack-stop { height: 1px; margin-bottom: 4rem; }
|
||||||
}
|
|
||||||
|
|
||||||
.scroll-section--final {
|
|
||||||
height: 18vh;
|
|
||||||
min-height: 200px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.stack-stop { height: 1px; margin-bottom: 3rem; }
|
|
||||||
|
|
||||||
.layer {
|
.layer {
|
||||||
position: sticky;
|
position: sticky;
|
||||||
margin: 0 0.35rem calc(-1 * var(--overlap)) 0.35rem;
|
margin: 0 0 calc(-1 * var(--stack-overlap)) 0;
|
||||||
border-radius: 8px 8px 6px 6px;
|
border-radius: 8px 8px 6px 6px;
|
||||||
border: 1px solid rgba(255,255,255,0.08);
|
border: 1px solid rgba(255,255,255,0.08);
|
||||||
box-shadow: 0 10px 32px rgba(0,0,0,0.45);
|
box-shadow: 0 12px 36px rgba(0,0,0,0.5);
|
||||||
}
|
}
|
||||||
|
|
||||||
.layer-tab {
|
.layer-tab {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: -6px;
|
top: -7px; left: 8px; right: 8px; height: 7px;
|
||||||
left: 10px;
|
|
||||||
right: 10px;
|
|
||||||
height: 6px;
|
|
||||||
border-radius: 5px 5px 0 0;
|
border-radius: 5px 5px 0 0;
|
||||||
background: inherit;
|
background: inherit;
|
||||||
filter: brightness(1.12);
|
filter: brightness(1.15);
|
||||||
border: 1px solid rgba(255,255,255,0.07);
|
border: 1px solid rgba(255,255,255,0.07);
|
||||||
border-bottom: none;
|
border-bottom: none;
|
||||||
|
pointer-events: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.layer-0 { z-index: 1; background: #1c1c20; top: calc(var(--nav-h) + 0.5rem); }
|
.layer-0 { z-index: 1; background: #1c1c20; top: calc(var(--stack-nav) + var(--stack-stick)); }
|
||||||
.layer-1 { z-index: 2; background: #24242c; top: calc(var(--nav-h) + 0.5rem + var(--step)); }
|
.layer-1 { z-index: 2; background: #24242c; top: calc(var(--stack-nav) + var(--stack-stick) + var(--stack-step)); }
|
||||||
.layer-2 { z-index: 3; background: #2c2c36; top: calc(var(--nav-h) + 0.5rem + var(--step) * 2); }
|
.layer-2 { z-index: 3; background: #2c2c36; top: calc(var(--stack-nav) + var(--stack-stick) + var(--stack-step) * 2); }
|
||||||
.layer-3 { z-index: 4; background: #343440; top: calc(var(--nav-h) + 0.5rem + var(--step) * 3); }
|
.layer-3 { z-index: 4; background: #343440; top: calc(var(--stack-nav) + var(--stack-stick) + var(--stack-step) * 3); }
|
||||||
.layer-4 { z-index: 5; background: #3c3c4a; top: calc(var(--nav-h) + 0.5rem + var(--step) * 4); }
|
.layer-4 { z-index: 5; background: #3c3c4a; top: calc(var(--stack-nav) + var(--stack-stick) + var(--stack-step) * 4); }
|
||||||
.layer-5 { z-index: 6; background: #444454; top: calc(var(--nav-h) + 0.5rem + var(--step) * 5); }
|
.layer-5 { z-index: 6; background: #444454; top: calc(var(--stack-nav) + var(--stack-stick) + var(--stack-step) * 5); }
|
||||||
.layer-6 {
|
.layer-6 { z-index: 7; background: #4c4c5e; top: calc(var(--stack-nav) + var(--stack-stick) + var(--stack-step) * 6); margin-bottom: 0; }
|
||||||
z-index: 7;
|
|
||||||
background: #4c4c5e;
|
.layer-inner { padding: 1.2rem 1.35rem 1.3rem; min-height: 200px; }
|
||||||
top: calc(var(--nav-h) + 0.5rem + var(--step) * 6);
|
|
||||||
margin-bottom: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.layer-inner { padding: 1.1rem 1.25rem 1.2rem; }
|
|
||||||
.layer-head {
|
.layer-head {
|
||||||
display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.65rem;
|
display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.65rem;
|
||||||
margin-bottom: 0.6rem; padding-bottom: 0.45rem;
|
margin-bottom: 0.65rem; padding-bottom: 0.5rem;
|
||||||
border-bottom: 1px solid rgba(255,255,255,0.06);
|
border-bottom: 1px solid rgba(255,255,255,0.06);
|
||||||
font-family: var(--mono); font-size: 0.6rem;
|
font-family: var(--mono); font-size: 0.6rem;
|
||||||
}
|
}
|
||||||
.layer-id { color: #c4a574; font-weight: 600; }
|
|
||||||
|
.layer-id {
|
||||||
|
color: #c4a574; font-weight: 600; background: none; border: none;
|
||||||
|
font-family: var(--mono); font-size: 0.6rem; cursor: pointer; padding: 0;
|
||||||
|
}
|
||||||
|
.layer-id:hover { text-decoration: underline; }
|
||||||
|
|
||||||
.layer-name { color: #6b6966; text-transform: uppercase; letter-spacing: 0.1em; }
|
.layer-name { color: #6b6966; text-transform: uppercase; letter-spacing: 0.1em; }
|
||||||
.layer-link { margin-left: auto; color: #8b9cb3; text-decoration: none; font-size: 0.58rem; }
|
.layer-link { margin-left: auto; color: #8b9cb3; text-decoration: none; font-size: 0.58rem; }
|
||||||
.layer-link:hover { color: #c4a574; }
|
.layer h1 { font-size: 2rem; font-weight: 600; letter-spacing: -0.03em; }
|
||||||
.layer h1 { font-size: 2rem; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
|
.layer h2 { font-size: 1.2rem; font-weight: 600; margin-bottom: 0.35rem; }
|
||||||
.layer h2 { font-size: 1.15rem; font-weight: 600; margin-bottom: 0.3rem; }
|
|
||||||
.tagline { font-family: var(--mono); font-size: 0.65rem; color: #6b6966; margin-bottom: 0.4rem; }
|
.tagline { font-family: var(--mono); font-size: 0.65rem; color: #6b6966; margin-bottom: 0.4rem; }
|
||||||
.body { font-size: 0.88rem; color: #a8a6a1; margin-bottom: 0.5rem; }
|
.body { font-size: 0.9rem; color: #a8a6a1; }
|
||||||
.chips { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-bottom: 0.4rem; }
|
.chips { display: flex; flex-wrap: wrap; gap: 0.3rem; margin: 0.5rem 0; }
|
||||||
.chips span {
|
.chips span {
|
||||||
font-family: var(--mono); font-size: 0.55rem; padding: 0.15rem 0.4rem;
|
font-family: var(--mono); font-size: 0.55rem; padding: 0.15rem 0.4rem;
|
||||||
background: rgba(196,165,116,0.1); color: #c4a574;
|
background: rgba(196,165,116,0.1); color: #c4a574; border: 1px solid rgba(196,165,116,0.2); border-radius: 3px;
|
||||||
border: 1px solid rgba(196,165,116,0.2); border-radius: 3px;
|
|
||||||
}
|
}
|
||||||
.avail { font-family: var(--mono); font-size: 0.62rem; color: #7eb87a; }
|
.avail { font-family: var(--mono); font-size: 0.62rem; color: #7eb87a; }
|
||||||
.contact-row { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0.65rem 0 0.4rem; }
|
.contact-row { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0.65rem 0 0.4rem; }
|
||||||
@ -120,18 +99,23 @@ body {
|
|||||||
.btn-ghost { background: transparent; color: #c4a574; border: 1px solid rgba(196,165,116,0.35); }
|
.btn-ghost { background: transparent; color: #c4a574; border: 1px solid rgba(196,165,116,0.35); }
|
||||||
.guarantees { font-family: var(--mono); font-size: 0.58rem; color: #5a5854; }
|
.guarantees { font-family: var(--mono); font-size: 0.58rem; color: #5a5854; }
|
||||||
.site-foot {
|
.site-foot {
|
||||||
display: flex; justify-content: space-between; max-width: 500px; margin: 0 auto;
|
display: flex; justify-content: space-between;
|
||||||
|
width: min(560px, 100%); margin: 0 auto;
|
||||||
padding: 0 1.5rem 2.5rem; font-family: var(--mono); font-size: 0.6rem; color: #4a4844;
|
padding: 0 1.5rem 2.5rem; font-family: var(--mono); font-size: 0.6rem; color: #4a4844;
|
||||||
}
|
}
|
||||||
.site-foot a { color: #4a4844; text-decoration: none; }
|
.site-foot a { color: #4a4844; text-decoration: none; }
|
||||||
.stack-ruler {
|
.stack-ruler {
|
||||||
position: fixed; right: 0.75rem; top: 50%; transform: translateY(-50%);
|
position: fixed; right: max(0.5rem, calc(50% - 300px)); top: 50%; transform: translateY(-50%);
|
||||||
z-index: 50; display: flex; flex-direction: column; gap: 0.15rem;
|
z-index: 50; display: flex; flex-direction: column; gap: 0.12rem;
|
||||||
font-family: var(--mono); font-size: 0.48rem; color: #2a2a30; pointer-events: none;
|
font-family: var(--mono); font-size: 0.48rem; color: #2a2a30;
|
||||||
}
|
}
|
||||||
.stack-ruler span.active { color: #c4a574; }
|
.stack-ruler button {
|
||||||
|
background: none; border: none; color: inherit; font: inherit; cursor: pointer; padding: 0.1rem 0;
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
.stack-ruler button:hover,
|
||||||
|
.stack-ruler button.active { color: #c4a574; }
|
||||||
|
|
||||||
@media (max-width: 700px) {
|
@media (max-width: 700px) {
|
||||||
.stack-ruler, .variants { display: none; }
|
.variants { display: none; }
|
||||||
:root { --scroll-tick: 26vh; --overlap: 22vh; --step: 1.65rem; }
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,17 +0,0 @@
|
|||||||
const sections = document.querySelectorAll('.scroll-section');
|
|
||||||
const depthEl = document.getElementById('depth');
|
|
||||||
const rulerSpans = document.querySelectorAll('.stack-ruler span');
|
|
||||||
|
|
||||||
function updateDepth() {
|
|
||||||
const mid = window.innerHeight * 0.42;
|
|
||||||
let active = 0;
|
|
||||||
sections.forEach((sec) => {
|
|
||||||
const r = sec.getBoundingClientRect();
|
|
||||||
if (r.top <= mid && r.bottom > mid) active = Number(sec.dataset.layer);
|
|
||||||
});
|
|
||||||
depthEl.textContent = `L${active}`;
|
|
||||||
rulerSpans.forEach((s, i) => s.classList.toggle('active', i === active));
|
|
||||||
}
|
|
||||||
|
|
||||||
window.addEventListener('scroll', updateDepth, { passive: true });
|
|
||||||
updateDepth();
|
|
||||||
Loading…
x
Reference in New Issue
Block a user