Skip to content

armgit / 67.js

Public Imported from GitHub
0

3D engine that AI agents drive

2.3 KB
Raw Blame
:root { --window:#0b0b0b; --bg:#212121; --surface:#2f2f2f; --text:#ececec; --muted:#b4b4b4; --border:#404040; --focus:#a6c1ff; --radius:14px; --panel-radius:24px;
  --dither:none;
}
.icon { width:18px; height:18px; display:inline-block; flex-shrink:0; vertical-align:middle; }
.brand { display:inline-flex; align-items:center; gap:0; flex-shrink:0; }
.brand .brand-mark { flex-shrink:0; width:34px; height:34px; margin-right:10px; }
button .icon, a .icon { margin-right:7px; }
body { font-family:ui-sans-serif,-apple-system,system-ui,"Segoe UI",Helvetica,Arial,sans-serif; }
body :focus-visible { outline:2px solid var(--focus); outline-offset:4px; }
body button, body select { border-radius:var(--radius); }
button[aria-pressed=true] { background:#ffffff20; color:#fff; }
.controls button:not(.swatch)[aria-pressed=true], .layer-actions button[aria-pressed=true] { background:#ffffff20; color:#fff; }
body .primary { background:#ececec; color:#171717; }
body .primary:hover { background:#fff; }
body input[type=range] { accent-color:#d7d7d7; }
.studio-nav a[aria-current], nav a[aria-current] { color:var(--text); }
.studio-nav a { padding:10px 14px; border-radius:var(--radius); }
nav a:has(> .icon) { display:flex; align-items:center; gap:8px; }
nav a > .icon { margin-right:0; }
/* Centre the icon and the arrow glyph on the label instead of the inline text baseline. */
button:has(> .icon), .doc-pagination strong { display:inline-flex; align-items:center; gap:7px; }
button:has(> .icon) > .icon { margin-right:0; }
.nav-label { display:block; line-height:1.4; }
.studio-nav a[aria-current] { background-color:var(--surface); background-image:var(--dither); }
.controls button:not(.swatch)[aria-pressed=true], .demo-presets button[aria-pressed=true] { background-image:var(--dither); }
.toolbar, .world-header { z-index:3; }
body .controls, body .landscape-controls { background:#171717e8; border:1px solid #ffffff1c; border-radius:var(--panel-radius); backdrop-filter:blur(16px); }
.demo-links { display:flex; gap:12px; font-size:12px; }
.demo-links a { color:#ddd; text-decoration:none; }
.demo-presets { display:flex; flex-wrap:wrap; gap:6px; margin:12px 0; }
.demo-presets button { padding:7px 10px; font-size:12px; }
@media (max-width:700px) { .studio-nav, .world-header nav { flex-wrap:wrap; } .brand .brand-mark { width:28px; height:28px; margin-right:8px; } }