3D engine that AI agents drive
Restyle the home page and docs with the CodePawl site theme
Nguyen Xuan An14427f804984
diff --git a/assets.html b/assets.htmlindex b4a2a29a..2c5aee89 100644--- a/assets.html+++ b/assets.html@@ -10,7 +10,7 @@<body><main class="workspace"><header class="toolbar">- <a class="brand" href="./index.html">67<span>.js</span></a>+ <a class="brand" href="./index.html">67js</a><h1>Asset viewer</h1><nav aria-label="Camera view"><button data-view="perspective" aria-pressed="true">Perspective</button>diff --git a/changes/site-theme.md b/changes/site-theme.mdnew file mode 100644index 00000000..67445486--- /dev/null+++ b/changes/site-theme.md@@ -0,0 +1 @@+- The home page and the docs use the CodePawl site theme from codepawl.com: a white page, light grey cards without borders, one black primary button, system type and a faint dot grid behind the hero, with a matching dark theme that follows the system. `src/site.css` replaces the layered overrides of `home.css` and `site-theme.css` on those two pages. The demo pages keep their own app UI. The brand reads "67js" without a dot on every page.diff --git a/docs.html b/docs.htmlindex e9f5fe83..2c4952eb 100644--- a/docs.html+++ b/docs.html@@ -1,12 +1,13 @@<!doctype html><html lang="en"><head><meta charset="UTF-8"/><meta name="viewport" content="width=device-width, initial-scale=1.0"/><meta name="description" content="67js documentation: scenes, materials, cameras, animation, GLB assets, CPU/GPU media export and AI agent workflows."/><title>Documentation · 67js</title><link rel="icon" href="/favicon.svg"/></head>-<body class="documentation">+<body class="site documentation"><a class="skip-link" href="#content">Skip to content</a><header class="navigation">- <a class="brand" href="/">67<span>.js</span></a>+ <a class="brand" href="/">67js</a><span class="version" data-release-version>Loading release</span><nav aria-label="Library"><a href="/docs.html" aria-current="page">Docs</a></nav>+ <a class="site-nav-cta" href="https://github.com/anxuanng/67.js"><span class="package-logo package-logo-github" aria-hidden="true"></span>GitHub</a></header><main id="content" class="docs docs-page"><aside class="docs-sidebar" aria-label="Documentation navigation">@@ -23,8 +24,8 @@</div></main><footer class="site-footer" aria-label="Site footer">- <div class="footer-introduction"><a class="brand" href="/" aria-label="67js home">67<span>.js</span></a><p>Browser 3D, from scene to film.<br>Made by <a href="https://codepawl.com">CodePawl</a>.</p></div>- <div class="footer-links"><a href="https://github.com/anxuanng/67.js" data-icon="github">GitHub</a><a href="https://www.npmjs.com/package/@codepawlhq/67js"><span class="package-logo package-logo-npm" aria-hidden="true"></span>npm</a><a href="/changelog.md">Changelog</a><a href="/license.txt">MIT license</a><a href="/logo.svg" download>Logo SVG</a></div>+ <p><a class="brand" href="/" aria-label="67js home">67js</a> by <a href="https://codepawl.com">CodePawl</a></p>+ <nav class="footer-links" aria-label="Project links"><a href="https://github.com/anxuanng/67.js">GitHub</a><a href="https://www.npmjs.com/package/@codepawlhq/67js">npm</a><a href="/changelog.md">Changelog</a><a href="/license.txt">MIT license</a><a href="/logo.svg" download>Logo SVG</a></nav></footer><script type="module" src="/src/documentation.js"></script></body></html>diff --git a/film.html b/film.htmlindex 6b9518f1..862f8dd4 100644--- a/film.html+++ b/film.html@@ -17,7 +17,7 @@<p id="subtitle-text"></p></div><header class="film-header player-interface">- <a class="brand" href="./">67<span>.js</span></a>+ <a class="brand" href="./">67js</a><span class="film-name">OPPENHEIMER</span><nav aria-label="Explore 67js"><a href="./nature.html">Nature</a>diff --git a/index.html b/index.htmlindex 661698e3..3309f7e3 100644--- a/index.html+++ b/index.html@@ -17,14 +17,15 @@<title>67js · a 3D engine agents can drive</title><link rel="icon" href="/favicon.svg" /></head>- <body>+ <body class="site"><a class="skip-link" href="#content">Skip to content</a><header class="navigation">- <a class="brand" href="/" aria-label="67js home">67<span>.js</span></a>+ <a class="brand" href="/" aria-label="67js home">67js</a><span class="version" data-release-version>Loading release</span><nav aria-label="Library"><a href="/docs.html">Docs</a></nav>+ <a class="site-nav-cta" href="https://github.com/anxuanng/67.js"><span class="package-logo package-logo-github" aria-hidden="true"></span>GitHub</a></header><main id="content"><section class="hero" aria-label="67js introduction and live preview">@@ -32,6 +33,10 @@<div><h1>A 3D engine<br />agents can drive</h1><p>WebGL2 rendering, deterministic animation and an MCP server in one package.</p>+ <div class="hero-actions">+ <a href="/docs.html#getting-started" data-icon="book">Get started</a>+ <a href="https://www.npmjs.com/package/@codepawlhq/67js"><span class="package-logo package-logo-npm brand-npm" aria-hidden="true"></span>npm</a>+ </div><section id="downloads" class="home-install" aria-label="Install 67js"><div class="package-install"><div class="package-managers" role="group" aria-label="Package manager">@@ -44,11 +49,6 @@<div class="release-feedback" hidden><p data-release-status role="status">Loading release information</p><button data-release-retry hidden>Retry</button></div></div></section>- <div class="hero-actions">- <a href="/docs.html#getting-started" data-icon="book">Get started</a>- <a href="https://github.com/anxuanng/67.js"><span class="package-logo package-logo-github" aria-hidden="true"></span>GitHub</a>- <a href="https://www.npmjs.com/package/@codepawlhq/67js"><span class="package-logo package-logo-npm brand-npm" aria-hidden="true"></span>npm</a>- </div></div></header>@@ -133,8 +133,8 @@ renderer.render({</section></main><footer class="site-footer" aria-label="Site footer">- <div class="footer-introduction"><a class="brand" href="/" aria-label="67js home">67<span>.js</span></a><p>Made by <a href="https://codepawl.com">CodePawl</a>.</p></div>- <div class="footer-links"><a href="https://github.com/anxuanng/67.js"><span class="package-logo package-logo-github" aria-hidden="true"></span>GitHub</a><a href="https://www.npmjs.com/package/@codepawlhq/67js"><span class="package-logo package-logo-npm brand-npm" aria-hidden="true"></span>npm</a><a data-release-commit href="https://github.com/anxuanng/67.js">Release commit</a><a href="/changelog.md">Changelog</a><a href="/license.txt">MIT license</a><a href="/logo.svg" download>Logo SVG</a></div>+ <p><a class="brand" href="/" aria-label="67js home">67js</a> by <a href="https://codepawl.com">CodePawl</a></p>+ <nav class="footer-links" aria-label="Project links"><a href="https://github.com/anxuanng/67.js">GitHub</a><a href="https://www.npmjs.com/package/@codepawlhq/67js">npm</a><a data-release-commit href="https://github.com/anxuanng/67.js">Release commit</a><a href="/changelog.md">Changelog</a><a href="/license.txt">MIT license</a><a href="/logo.svg" download>Logo SVG</a></nav></footer><script type="module" src="/src/home.js"></script></body>diff --git a/modeling.html b/modeling.htmlindex e25473dd..ef10776d 100644--- a/modeling.html+++ b/modeling.html@@ -10,7 +10,7 @@<body><a class="skip-link" href="#content">Skip to content</a><header class="navigation">- <a class="brand" href="/" aria-label="67js home">67<span>.js</span></a>+ <a class="brand" href="/" aria-label="67js home">67js</a><nav aria-label="Library"><a href="/downloads.html">Downloads</a><a href="/docs.html">Docs</a></nav></header><main id="content" class="modeling-study">@@ -22,7 +22,7 @@<p id="modeling-notice" role="status" hidden><svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.6" aria-hidden="true"><circle cx="12" cy="12" r="9"/><path d="m9 9 6 6m0-6-6 6"/></svg><span></span></p></main><footer class="site-footer" aria-label="Site footer">- <div class="footer-introduction"><a class="brand" href="/" aria-label="67js home">67<span>.js</span></a><p>Browser 3D, from scene to film.<br>Made by <a href="https://codepawl.com">CodePawl</a>.</p></div>+ <div class="footer-introduction"><a class="brand" href="/" aria-label="67js home">67js</a><p>Browser 3D, from scene to film.<br>Made by <a href="https://codepawl.com">CodePawl</a>.</p></div><div class="footer-links"><a href="https://github.com/anxuanng/67.js" data-icon="github">GitHub</a><a href="https://www.npmjs.com/package/@codepawlhq/67js">npm</a><a href="/changelog.md">Changelog</a><a href="/license.txt">MIT license</a></div></footer><script type="module" src="/src/modeling-player.js"></script>diff --git a/motion.html b/motion.htmlindex 6a40fa04..a67e6a78 100644--- a/motion.html+++ b/motion.html@@ -11,7 +11,7 @@<body><main><header class="interface motion-header">- <a class="brand" href="./index.html" aria-label="67js home">67<span>.js</span></a>+ <a class="brand" href="./index.html" aria-label="67js home">67js</a><nav aria-label="Scenes"><a href="./object.html">Object</a><a href="./nature.html">Nature</a><a href="./film.html">Film</a><a href="./motion.html" aria-current="page">Motion</a><a href="./docs.html">Docs</a><a href="./index.html#examples">Showcase</a></nav></header><section class="motion-stage" data-aspect="landscape" aria-label="Clockwork orbit animation">diff --git a/nature.html b/nature.htmlindex 97816418..72420731 100644--- a/nature.html+++ b/nature.html@@ -11,7 +11,7 @@<body><main><header class="world-header">- <a class="brand" href="./index.html" aria-label="67js home">67<span>.js</span></a>+ <a class="brand" href="./index.html" aria-label="67js home">67js</a><nav aria-label="Scenes"><a href="./object.html">Object</a><a href="./nature.html" aria-current="page">Nature</a>diff --git a/object.html b/object.htmlindex 56109915..59b0f20e 100644--- a/object.html+++ b/object.html@@ -11,7 +11,7 @@<body><main><header class="toolbar">- <a class="brand" href="./" aria-label="67js home">67<span>.js</span></a>+ <a class="brand" href="./" aria-label="67js home">67js</a><nav class="studio-nav" aria-label="Scenes"><a href="./object.html" aria-current="page">Object</a><a href="./nature.html">Nature</a><a href="./film.html">Film</a><a href="./docs.html">Docs</a><a href="./index.html#examples">Showcase</a></nav><div class="toolbar-actions"><button id="reset" title="Reset camera (R)">Reset view</button>diff --git a/src/home.js b/src/home.jsindex ebd3314e..0498148c 100644--- a/src/home.js+++ b/src/home.js@@ -1,6 +1,5 @@-import './home.css';+import './site.css';import './brand.js';-import './site-theme.css';import './site-motion.js';const copyControls = [];diff --git a/src/site.css b/src/site.cssnew file mode 100644index 00000000..42ec4902--- /dev/null+++ b/src/site.css@@ -0,0 +1,242 @@+/* The home page and the docs use the CodePawl site theme (codepawl.com): system type, a white page,+ content in light grey cards with no borders, one black primary button, and a faint dot grid+ behind the top of the page. Dark mode follows the system. The demo pages keep their own app UI. */++body.site {+ --font: ui-sans-serif, -apple-system, system-ui, 'Segoe UI', Helvetica, Arial, sans-serif;+ --mono: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, 'Liberation Mono', monospace;+ --window: #fff;+ --bg: #f7f7f8;+ --surface: #f1f1f1;+ --text: #1f1f1f;+ --muted: #555;+ --border: #e5e5e5;+ --primary: #171717;+ --primary-text: #fff;+ --focus: #576b99;+ --error: #b3261e;+ --radius: 9px;+ --panel-radius: 16px;+ --control-height: 40px;+ --page: min(1120px, calc(100% - 40px));+ --grid-dot: #17171726;+ --aura-one: #1717171f;+ --aura-two: #17171714;+ --shot-shadow: 0 2px 4px #0000000f, 0 18px 48px #00000014;+ --dither: none;+ --navigation-height: 0px;+ color-scheme: light;+ position: relative;+ isolation: isolate;+ overflow-x: clip;+ min-width: 320px;+ margin: 0;+ display: flex;+ flex-direction: column;+ min-height: 100vh;+ background: var(--window);+ color: var(--text);+ font-family: var(--font);+ font-size: 16px;+ line-height: 1.5;+}++@media (prefers-color-scheme: dark) {+ body.site {+ color-scheme: dark;+ --window: #0b0b0b;+ --bg: #212121;+ --surface: #2f2f2f;+ --text: #ececec;+ --muted: #b4b4b4;+ --border: #404040;+ --primary: #ececec;+ --primary-text: #171717;+ --focus: #a6c1ff;+ --error: #ffb4ab;+ --grid-dot: #ffffff22;+ --aura-one: #ffffff1c;+ --aura-two: #ffffff11;+ --shot-shadow: 0 2px 4px #00000066, 0 18px 48px #00000080;+ }+}++body.site *, body.site *::before, body.site *::after { box-sizing: border-box; }+body.site [hidden] { display: none !important; }+body.site a { color: inherit; text-decoration: none; text-underline-offset: 3px; }+body.site h1, body.site h2, body.site h3, body.site p { margin: 0; }+body.site h1, body.site h2, body.site h3 { text-wrap: balance; }+body.site p { text-wrap: pretty; }+body.site h1 { font-size: clamp(36px, 5.2vw, 56px); font-weight: 600; letter-spacing: -1.6px; line-height: 1.06; }+body.site h2 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 600; letter-spacing: -.5px; line-height: 1.2; }+body.site h3 { font-size: 16px; font-weight: 600; letter-spacing: -.2px; }+body.site code, body.site pre { font-family: var(--mono); }+body.site :focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; }+body.site ::selection { background: color-mix(in srgb, var(--focus) 24%, transparent); }+body.site .icon { width: 18px; height: 18px; margin: 0; }++.site .skip-link { position: absolute; left: -9999px; }+.site .skip-link:focus { left: 16px; top: 16px; z-index: 10; padding: 10px 14px; background: var(--bg); border-radius: var(--radius); }++/* Buttons: one plain style, one black primary. */+.site button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 34px; padding: 6px 12px; border: 0; border-radius: var(--radius); background: var(--surface); color: var(--text); font: inherit; font-size: 13px; font-weight: 500; cursor: pointer; transition: background-color .12s, opacity .12s; }+.site button:hover:not(:disabled) { background: var(--border); }+.site button:disabled { opacity: .5; cursor: default; }+.site .hero-actions a, .site .site-nav-cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: var(--control-height); padding: 8px 18px; border-radius: var(--radius); background: var(--bg); color: var(--text); font-size: 15px; font-weight: 500; transition: background-color .12s, opacity .12s; }+.site .hero-actions a:hover { background: var(--surface); }+.site .hero-actions a:first-child { background: var(--primary); color: var(--primary-text); }+.site .hero-actions a:first-child:hover { opacity: .85; }++/* The lab backdrop: two soft grey pools and a fine dot grid behind the top of the page. */+body.site::before, body.site::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: min(1000px, 120vh); pointer-events: none; }+body.site::before {+ z-index: -2;+ background: radial-gradient(38% 42% at 78% 18%, var(--aura-one), transparent 70%), radial-gradient(34% 36% at 12% 8%, var(--aura-two), transparent 70%);+ mask-image: linear-gradient(to bottom, #000 40%, transparent);+}+body.site::after {+ z-index: -1;+ background-image: radial-gradient(circle, var(--grid-dot) 1px, transparent 1.4px);+ background-size: 22px 22px;+ mask-image: radial-gradient(70% 60% at 60% 20%, #000 30%, transparent 75%);+}+.documentation.site::before, .documentation.site::after { display: none; }++/* Header: brand on the left, links on the right, on the page background. */+.site .navigation { width: var(--page); margin-inline: auto; display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; padding-block: 20px; }+.site .brand { display: inline-flex; align-items: center; gap: 9px; font-size: 17px; font-weight: 600; letter-spacing: -.3px; color: var(--text); }+.site .brand .brand-mark { width: 26px; height: 26px; margin: 0; }+.site .version { padding: 2px 8px; border-radius: 999px; background: var(--bg); color: var(--muted); font-family: var(--mono); font-size: 12px; }+.site .navigation nav { display: flex; align-items: center; gap: 20px; margin-left: auto; }+.site .navigation nav a { display: inline-flex; align-items: center; gap: 6px; min-height: 26px; color: var(--muted); font-size: 15px; }+.site .navigation nav a:hover, .site .navigation nav a[aria-current] { color: var(--text); }+.site .navigation .icon { width: 16px; height: 16px; }+.site .site-nav-cta { min-height: 34px; padding: 4px 14px; border-radius: 999px; background: var(--primary); color: var(--primary-text); font-size: 14px; font-weight: 600; }+.site .site-nav-cta:hover { opacity: .88; }+.site .site-nav-cta .package-logo { width: 16px; height: 16px; }++body.site > main { flex: 1; width: var(--page); margin-inline: auto; padding-block: 28px 88px; display: grid; gap: 96px; }++/* Hero: the proposition on the left, the live model on the right. */+.site .hero { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; gap: 48px; }+.site .introduction { display: grid; gap: 22px; min-width: 0; }+.site .introduction > div { display: grid; gap: 22px; }+.site .introduction p { max-width: 34rem; color: var(--muted); font-size: clamp(17px, 1.9vw, 20px); }+.site .hero-actions { display: flex; flex-wrap: wrap; gap: 10px 12px; }+.site .hero-actions .package-logo { width: 18px; height: 18px; }+.site .brand-npm { color: #cb3837; }+.site .hero-actions a:first-child .icon { width: 17px; height: 17px; }++.site .home-install { scroll-margin-top: 24px; margin-top: 6px; }+.site .package-install { display: grid; gap: 12px; padding: 14px; border-radius: var(--panel-radius); background: var(--bg); }+.site .package-managers { display: flex; flex-wrap: wrap; gap: 4px; }+.site .package-managers button { min-height: 34px; padding: 6px 12px; background: transparent; color: var(--muted); }+.site .package-managers button:hover { background: var(--surface); color: var(--text); }+.site .package-managers button[aria-pressed=true] { background: var(--surface); color: var(--text); }+.site .command-row { display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 14px; border-radius: var(--radius); background: var(--window); }+.site .command-row code { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; font-size: 13px; line-height: 1.6; }+.site .command-row button { flex: none; }+.site .release-feedback { display: flex; align-items: center; gap: 12px; }+.site .release-feedback p { color: var(--muted); font-size: 13px; }+.site [data-release-status][data-status='error'] { color: var(--error); }++.site .package-logo { display: inline-block; flex: none; width: 18px; height: 18px; background: currentColor; mask: center / contain no-repeat; }+.site .package-logo-npm { mask-image: url('/logos/npm.svg'); }+.site .package-logo-pnpm { mask-image: url('/logos/pnpm.svg'); }+.site .package-logo-yarn { mask-image: url('/logos/yarn.svg'); }+.site .package-logo-bun { mask-image: url('/logos/bun.svg'); }+.site .package-logo-github { mask-image: url('/logos/github.svg'); }++.site .feature-showcase { position: relative; min-width: 0; margin: 0; }+.site .live-showcase canvas { display: block; width: 100%; height: clamp(320px, 36vw, 500px); touch-action: pan-y; cursor: grab; }+.site .live-showcase canvas:active { cursor: grabbing; }+.site .live-showcase canvas:focus-visible { outline-offset: -4px; }+.site #home-preview-status { position: absolute; top: 16px; left: 16px; right: 16px; color: var(--muted); font-size: 13px; pointer-events: none; }+.site .preview-assembly { width: min(100%, 420px); margin: 8px auto 0; padding: 12px 16px; border-radius: var(--panel-radius); background: var(--bg); }+.site .preview-assembly-label { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; font-weight: 500; }+.site .preview-assembly-label output { color: var(--muted); font-size: 12px; font-weight: 400; }+.site .preview-assembly input { display: block; width: 100%; min-height: 32px; margin: 2px 0 0; accent-color: var(--primary); cursor: ew-resize; }++/* Sections below the hero. */+.site .code-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 40px; }+.site .code-copy { display: grid; gap: 20px; min-width: 0; }+.site .code-section .code-block, .site .agents .code-block { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 12px; padding: 16px 16px 16px 20px; border-radius: var(--panel-radius); background: var(--bg); }+.site .code-section .code-block pre, .site .agents .code-block pre { margin: 0; overflow-x: auto; font-size: 13px; line-height: 1.7; }+.site .code-section .code-block code, .site .agents .code-block code { display: block; user-select: text; }+.site .code-result { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--panel-radius); background: var(--surface); box-shadow: var(--shot-shadow); }++.site .examples { display: grid; gap: 20px; }+.site .capability-list { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; padding: 0; list-style: none; }+.site .capability-list li { padding: 4px 11px; border-radius: 999px; background: var(--bg); color: var(--muted); font-size: 13px; }+.site .gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 16px; }+.site .example { display: grid; gap: 4px; min-width: 0; }+.site .example img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 8px; border-radius: var(--panel-radius); background: var(--surface); transition: opacity .12s; }+.site .example:hover img { opacity: .92; }+.site .example:hover h3 { text-decoration: underline; text-underline-offset: 3px; }+.site .example-caption { display: flex; align-items: center; gap: 8px; }+.site .example h3 { font-size: 15px; font-weight: 500; }+.site .example p { color: var(--muted); font-size: 14px; }++.site .agents { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 40px; padding: clamp(22px, 4vw, 40px); border-radius: var(--panel-radius); background: var(--bg); }+.site .agents-intro { display: grid; gap: 14px; min-width: 0; }+.site .agents-intro p { color: var(--muted); }+.site .agents .code-block { margin-top: 6px; background: var(--window); align-items: center; }+.site .agents .code-block pre { white-space: pre-wrap; overflow-wrap: anywhere; }+.site .agent-cards { display: grid; gap: 8px; }+.site .agent-cards a { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; align-items: center; padding: 14px 18px; border-radius: var(--radius); background: var(--window); transition: background-color .12s; }+.site .agent-cards a:hover { background: var(--surface); }+.site .agent-cards .icon { grid-row: span 2; width: 22px; height: 22px; }+.site .agent-cards h3 { font-size: 15px; }+.site .agent-cards p { color: var(--muted); font-size: 14px; }++.site .documentation-links { display: grid; gap: 20px; }+.site .doc-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }+.site .doc-links a { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 14px 18px; border-radius: var(--radius); background: var(--bg); font-size: 15px; font-weight: 500; transition: background-color .12s; }+.site .doc-links a:hover { background: var(--surface); }++/* Footer: one quiet row on the page background. */+.site .site-footer { width: var(--page); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; padding-block: 24px 32px; color: var(--muted); font-size: 14px; }+.site .site-footer .brand { font-size: 14px; font-weight: 600; }+.site .site-footer .brand .brand-mark { width: 18px; height: 18px; }+.site .site-footer p a:not(.brand) { color: var(--text); }+.site .footer-links { display: flex; flex-wrap: wrap; gap: 4px 18px; }+.site .footer-links a { display: inline-flex; align-items: center; min-height: 26px; color: var(--muted); }+.site .footer-links a:hover { color: var(--text); text-decoration: underline; }++/* Docs: the reading page keeps its own layout (documentation.css) on these tokens. */+.documentation.site { --page: min(1320px, calc(100% - 40px)); }+.documentation.site > main { width: 100%; padding-top: 12px; }+.site .table-scroll { overflow-x: auto; }+.site table { width: 100%; border-collapse: collapse; }+.site td, .site th { text-align: left; vertical-align: top; }+.site #doc-article a { text-decoration: underline; }+.site .docs-search input { width: 100%; border: 0; color: var(--text); font: inherit; }++@media (max-width: 1100px) {+ .site .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }+ .site .doc-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }+}+@media (max-width: 960px) {+ .site .hero, .site .code-section, .site .agents { grid-template-columns: 1fr; gap: 28px; }+}+@media (max-width: 760px) {+ body.site > main { gap: 64px; padding-top: 12px; }+ .site .gallery, .site .doc-links { grid-template-columns: 1fr; }+ .site .version { display: none; }+ .site .command-row { flex-wrap: wrap; }+ .site .command-row code { flex-basis: 100%; }+ .site .code-section .code-block pre { font-size: 12px; }+ .site .site-footer { flex-direction: column; align-items: flex-start; }+}++/* The logo file is drawn in a light stroke for dark backgrounds; light mode inverts it. */+.site .brand .brand-mark { filter: invert(1); }+@media (prefers-color-scheme: dark) {+ .site .brand .brand-mark { filter: none; }+}+/* Inside the agents card the rows step up from the card: white on grey in light mode, a lighter grey in dark mode. */+@media (prefers-color-scheme: dark) {+ .site .agents .code-block, .site .agent-cards a, .site .command-row { background: var(--surface); }+ .site .agent-cards a:hover { background: var(--border); }+}+.site .site-footer p { display: flex; align-items: center; gap: 5px; }diff --git a/view2d.html b/view2d.htmlindex 4a14f1ec..8e8a88f6 100644--- a/view2d.html+++ b/view2d.html@@ -10,7 +10,7 @@<body><main class="workspace"><header class="toolbar">- <a class="brand" href="/">67<span>.js</span></a>+ <a class="brand" href="/">67js</a><h1>2D & views</h1><label class="scene-picker">Scene <select id="scene"><option value="poster">Vector poster</option><option value="model">WALL·E</option></select></label><nav id="view-controls" aria-label="Camera view" hidden>