Spaces:
Running
Running
Commit History
-
Site map: switch heading + subtitle + card descs to JetBrains Mono
All copy in the "What's inside" band now shares one type system: JetBrains Mono on every line (eyebrow, h2, subtitle, card labels, descriptions). Sizes/weights adjusted because mono reads heavier than Inter at the same px — h2 32px/500, subtitle 13px/400, desc 12px/400 — so the editorial hierarchy stays intact and lines don't bulk up. Co-authored-by: Cursor <cursoragent@cursor.com>6a79bbb -
Site map: line-art SVG icons + unified arrows in place of 01–04 numbers
Replace the mono "01/02/03/04" labels in the "What's inside" band with small line-art SVG glyphs that match the rest of the page's editorial visual language (1.2-stroke round, no fills, no frames — same DNA as the skeletal molecule formulas and the cd-helix diagram in §1–§2): • Intro — open book / primer • DNA Lab — short double helix with 6 base-pair rungs • Carbon Recipe — labelled flask with bubbles • Sandbox — terminal with prompt + cursor Each icon is monochrome (var(--ink) at rest, var(--green) on hover) via currentColor. The down/right arrows are now the same SVG; the first card rotates its glyph 90deg so the Intro card points down while the other three point right, giving every card identical arrow weight and geometry. Hover state preserved: arrow slides in its direction, label + icon + arrow shift to green together. Co-authored-by: Cursor <cursoragent@cursor.com>6a0d3d3
-
Intro: split hero rail/figure + new site-map band
- .tab-lede--split: sticky left rail (title + lede + figure caption) with the Pareto SVG promoted to a sibling figure on the right, so the message stays in view while the chart reads as adjacent evidence. - Pareto chart: tighter viewBox cropped to visible content, L-shape axis lines replace the full frame, 275× speedup shaft split around a centred on-axis label, italic units subtitle dropped. - Replace .intro-guide-list with .intro-sitemap: full-width banded nav of four numbered cards (Intro / DNA Lab / Carbon Recipe / Sandbox) feeding the existing #primer/#dna-lab/#recipe/#sandbox routing. Co-authored-by: Cursor <cursoragent@cursor.com>c30d8ed -
Merge branch 'main' of hf.co:spaces/HuggingFaceBio/carbon-demo
Co-authored-by: Cursor <cursoragent@cursor.com> # Conflicts: # demo.html187590e -
Footer: editorial site footer with collab credit + partner logos
Adds a multi-row site footer in demo.html (collab block with 4 partner stamps, three-column identity/resources/sections strip, legal hairline) backed by a full rewrite of assets/styles/footer.css. Drops partner artwork under img/partners/ (Hugging Face, Zhongguancun Academy, TIGEM, Federico II) plus their raw sources for traceability. Also bundles a few small fixes uncovered while wiring the footer: - demo.html banner: point Tech report to the paperswithcode landing - sandbox.js: clear the .empty placeholder when incrementalRender takes over straight from idle, so generated lines stop rendering inline - section-vep.css: allow horizontal scroll on .vep-window so the 60bp mono stack survives narrow viewports without breaking row alignment - intro/species/controls/recipe/banner CSS: footer-adjacent polish Co-authored-by: Cursor <cursoragent@cursor.com>5dfaccc -
Pareto chart: rebuild as inline SVG, add Dataset link to banner
Replaces /img/pareto.png with a self-contained SVG built from pareto/pareto_data.csv. Geometry mirrors the matplotlib reference (log-scale throughput, linear win-rate %, family badges, 275× speedup arrow, "better/faster" indicator) but the chrome is pulled back to fit the editorial blog tone: hairline frame + tick lines, JetBrains Mono tabular tick labels, mono-uppercase indicator eyebrows, and plain text data labels with a paint-order halo instead of pill boxes. Carbon points scale up + use a heavier label per the source script's HIGHLIGHT_LOGO_SCALE. Also adds a "Dataset" link (HuggingFaceBio/carbon-pretraining-corpus) to the banner resources row, between Models and Tech report so the two HF-hub resources sit together. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>0659e8b -
Demo polish: Intro visuals, §3 + §6 charts readability, code-snippet UI
Intro tab (§1–§5) - §1 Atoms: bold green base letters, two-line label (mono A/C/G/T over full name). - §2 Helix: redesign à la 3D banner — letters sit *between* the two strands (helix–base–base–helix), rungs interrupted around them, faded at crossings instead of culled so there are no bald gaps; thinner strands, 5'/3' tags symmetric on both ends, tighter top spacing, more breathing room at the bottom of the card. New base-pair legend: A=T / G≡C in big green type with H-bond meta + caption. - §3 + §4 Gene strip: horizontally centred; track-labels now have a "LEGEND" prefix and §4 gets a duplicated legend. - §5 Translate / fold / 3D viewer: codon-AA grid + caption centred, fold-arrow margins trimmed, 3Dmol viewer 340 → 280 px, three-tier protein caption (sans-serif title 19px / italic desc / mono meta with clickable PDB link). Slow editorial spin (0.4 → 0.15), wheel events on the viewer container forwarded to window scroll so the page no longer traps when the curs…5da533e
-
Intro tab + central-dogma primer + em-dash sweep
- New Intro tab as default landing: release blurb, tab-nav guide (bullet list with banner-style links), and an optional "quick primer in genetics" §1-§5 walkthrough using the existing section--two-col + .demo primitives. - Primer visuals: skeletal-formula SVGs for the four bases, static DNA helix (~10 bp/turn), gene strip (promoter / exons / introns), splice diagram with transcribe arrows, 10-column codon to amino-acid table with peptide-bond chain, and a live 3Dmol.js viewer of human hemoglobin (PDB 1A3N) bundled in assets/data/ for fast first paint. - Lazy-init the 3D viewer via MutationObserver on the panel's .active class, so visitors who deep-link to #demo / #sandbox skip the fetch. - Tabs renamed: Demo to DNA Lab, Model to Carbon Recipe (display labels only; data-tab slugs and URL hashes stay 'demo' / 'model' for backwards-compat). - Banner: add Code placeholder link to banner-links; tab buttons use min-width + nowrap so "Carbon Recipe" stays on one line. - …5ea40ce