diff --git a/features.html b/features.html index 5dcf0e9..1ec43a6 100644 --- a/features.html +++ b/features.html @@ -69,6 +69,20 @@

Structured recruiting from open requisition to hiring decision.

+ +
diff --git a/styles.css b/styles.css index 066c4f8..3896fb1 100644 --- a/styles.css +++ b/styles.css @@ -2290,3 +2290,82 @@ h3 { transition: none !important; } } + +/* Features page table of contents */ +.page-toc { + position: sticky; + top: 68px; + z-index: 50; + background: rgba(251, 252, 250, 0.92); + backdrop-filter: blur(14px); + -webkit-backdrop-filter: blur(14px); + border-bottom: 1px solid var(--line); +} + +.page-toc-inner { + display: flex; + align-items: center; + gap: 18px; + padding-block: 10px; +} + +.page-toc-label { + flex: none; + font-family: var(--font-mono); + font-size: 11px; + font-weight: 600; + letter-spacing: 0.09em; + text-transform: uppercase; + color: var(--muted); +} + +.page-toc-list { + display: flex; + gap: 6px; + margin: 0; + padding: 0; + list-style: none; + overflow-x: auto; + scrollbar-width: none; +} + +.page-toc-list::-webkit-scrollbar { + display: none; +} + +.page-toc-list a { + display: inline-flex; + align-items: center; + gap: 8px; + padding: 7px 12px; + border: 1px solid var(--line); + border-radius: 999px; + background: var(--surface); + color: var(--ink-2); + font-size: 13.5px; + font-weight: 500; + white-space: nowrap; + transition: border-color 0.15s, background 0.15s, color 0.15s; +} + +.page-toc-list a span { + font-family: var(--font-mono); + font-size: 11px; + color: var(--emerald); +} + +.page-toc-list a:hover { + border-color: var(--emerald); + background: var(--surface-tint); + color: var(--emerald-hover); +} + +html:has(.page-toc) { + scroll-padding-top: 150px; +} + +@media (max-width: 720px) { + .page-toc-label { + display: none; + } +}