feat(site): original device art + amazing polish pass
Adds original OpenScribe illustrations and elevates the whole site from a plain
scaffold to a polished, animated product site.
What changed:
- assets/img/: original SVG artwork (CC-BY-SA, no third-party photos):
- openscribe-wearable.svg - the wearable recorder with a breathing status LED (SMIL
animation that plays even when embedded via <img>).
- openscribe-kit.svg - the dev/kit build: ESP32-S3 board + I2S mic + microSD + LiPo,
with amber trace connectors.
- favicon.svg - the "12" studio mark; wired as the site icon and header logo.
- index.html: two-column hero with the floating device, a trust strip, a featured
showcase (device image + sync diagram), project cards with device thumbnails, and a
new "why open beats a locked box" comparison table (our own words, no competitor art).
- projects/openscribe.html: device hero, the AI picker in a proper panel, and a new
"two ways to build it" section with product figures (wearable + kit) and descriptions.
- assets/styles.css: full theme refresh - atmospheric background, gradient headings,
hero float, hover lift + shadows, product/figure styles, comparison table, and
scroll-reveal transitions (honours prefers-reduced-motion).
- assets/app.js: IntersectionObserver scroll reveals alongside the provider picker.
- README: documents the artwork and that it is original/publishable.
Why:
- The user asked for product images with descriptions, then to "make it amazing" - this
delivers IP-safe original device imagery and a genuinely polished, animated site.
Notes:
- Still zero dependencies and no build step. Validated: app.js passes node --check, all
SVGs are valid XML, HTML section tags balanced, every local link/asset resolves.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
parent
e1bf5a2d7a
commit
71217ce3e1
8 changed files with 448 additions and 107 deletions
|
|
@ -2,127 +2,217 @@
|
|||
12 Hobbies Studio - site styles. No framework, no build step. */
|
||||
|
||||
:root {
|
||||
--ink: #10131a;
|
||||
--ink: #0d0f15;
|
||||
--ink-2: #171b24;
|
||||
--panel: #1e2330;
|
||||
--line: #2c3444;
|
||||
--text: #e7ecf3;
|
||||
--muted: #9aa6b8;
|
||||
--panel: #1a1f2b;
|
||||
--panel-2: #1e2431;
|
||||
--line: #2a3140;
|
||||
--text: #e9eef5;
|
||||
--muted: #97a3b6;
|
||||
--accent: #f0a35e; /* warm amber */
|
||||
--accent-2: #6ec7c0; /* teal */
|
||||
--radius: 14px;
|
||||
--wrap: 1080px;
|
||||
--radius: 16px;
|
||||
--wrap: 1120px;
|
||||
--sans: ui-sans-serif, system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
|
||||
--mono: ui-monospace, "SF Mono", "Cascadia Code", "Fira Code", Consolas, monospace;
|
||||
}
|
||||
|
||||
* { box-sizing: border-box; }
|
||||
|
||||
html { scroll-behavior: smooth; }
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
font-family: var(--sans);
|
||||
color: var(--text);
|
||||
background: var(--ink);
|
||||
line-height: 1.62;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
/* layered atmospheric background */
|
||||
body::before {
|
||||
content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
|
||||
background:
|
||||
radial-gradient(1200px 600px at 80% -10%, rgba(240,163,94,0.10), transparent 60%),
|
||||
radial-gradient(1000px 500px at -10% 10%, rgba(110,199,192,0.08), transparent 55%),
|
||||
var(--ink);
|
||||
line-height: 1.6;
|
||||
radial-gradient(1100px 620px at 82% -8%, rgba(240,163,94,0.14), transparent 60%),
|
||||
radial-gradient(1000px 560px at -8% 4%, rgba(110,199,192,0.10), transparent 58%),
|
||||
radial-gradient(800px 800px at 50% 120%, rgba(110,199,192,0.06), transparent 60%);
|
||||
}
|
||||
|
||||
a { color: var(--accent); text-decoration: none; }
|
||||
a:hover { text-decoration: underline; }
|
||||
|
||||
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
|
||||
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
|
||||
|
||||
/* Header */
|
||||
.site-header {
|
||||
position: sticky; top: 0; z-index: 10;
|
||||
backdrop-filter: blur(8px);
|
||||
background: rgba(16,19,26,0.72);
|
||||
position: sticky; top: 0; z-index: 20;
|
||||
backdrop-filter: blur(10px);
|
||||
background: rgba(13,15,21,0.7);
|
||||
border-bottom: 1px solid var(--line);
|
||||
}
|
||||
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 62px; }
|
||||
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: 0.2px; color: var(--text); }
|
||||
.brand .mark {
|
||||
display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px;
|
||||
background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #0c0e13; font-weight: 800;
|
||||
}
|
||||
.nav a { color: var(--muted); margin-left: 22px; font-weight: 500; }
|
||||
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
|
||||
.brand { display: flex; align-items: center; gap: 11px; font-weight: 700; letter-spacing: 0.2px; color: var(--text); font-size: 1.02rem; }
|
||||
.brand:hover { text-decoration: none; }
|
||||
.brand img { width: 30px; height: 30px; display: block; }
|
||||
.nav a { color: var(--muted); margin-left: 24px; font-weight: 500; font-size: 0.96rem; }
|
||||
.nav a:hover { color: var(--text); text-decoration: none; }
|
||||
@media (max-width: 560px) { .nav a:first-child { display: none; } }
|
||||
|
||||
/* Gradient text util */
|
||||
.grad {
|
||||
background: linear-gradient(100deg, var(--accent), var(--accent-2));
|
||||
-webkit-background-clip: text; background-clip: text; color: transparent;
|
||||
}
|
||||
|
||||
/* Hero */
|
||||
.hero { padding: 84px 0 40px; }
|
||||
.eyebrow { color: var(--accent-2); font-family: var(--mono); font-size: 0.82rem; letter-spacing: 2px; text-transform: uppercase; }
|
||||
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.08; margin: 12px 0 14px; }
|
||||
.hero p.lead { font-size: 1.18rem; color: var(--muted); max-width: 640px; }
|
||||
.hero { padding: 72px 0 34px; }
|
||||
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 34px; align-items: center; }
|
||||
.eyebrow { color: var(--accent-2); font-family: var(--mono); font-size: 0.8rem; letter-spacing: 2.5px; text-transform: uppercase; }
|
||||
.hero h1 { font-size: clamp(2.2rem, 5.4vw, 3.6rem); line-height: 1.06; margin: 14px 0 16px; letter-spacing: -0.02em; }
|
||||
.hero p.lead { font-size: 1.16rem; color: var(--muted); max-width: 560px; }
|
||||
.hero .accent { color: var(--accent); }
|
||||
|
||||
/* floating hero device */
|
||||
.hero-device { display: grid; place-items: center; }
|
||||
.hero-device .frame {
|
||||
position: relative; width: 100%; max-width: 340px; padding: 24px;
|
||||
border: 1px solid var(--line); border-radius: 26px;
|
||||
background: radial-gradient(320px 260px at 50% 18%, rgba(240,163,94,0.12), transparent 72%), var(--panel);
|
||||
box-shadow: 0 30px 70px rgba(0,0,0,0.45);
|
||||
}
|
||||
.hero-device img { width: 100%; max-width: 190px; height: auto; display: block; margin: 0 auto;
|
||||
animation: float 6s ease-in-out infinite; }
|
||||
.hero-device .chip {
|
||||
position: absolute; font-family: var(--mono); font-size: 0.72rem; color: var(--accent-2);
|
||||
border: 1px solid var(--line); background: rgba(13,15,21,0.85); border-radius: 999px; padding: 4px 11px;
|
||||
}
|
||||
.hero-device .chip.a { top: 16px; right: -8px; }
|
||||
.hero-device .chip.b { bottom: 22px; left: -10px; color: var(--accent); }
|
||||
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
|
||||
@media (max-width: 820px) { .hero-grid { grid-template-columns: 1fr; } .hero-device { order: -1; } }
|
||||
|
||||
/* Buttons */
|
||||
.btn {
|
||||
display: inline-block; padding: 11px 18px; border-radius: 10px; font-weight: 600;
|
||||
border: 1px solid var(--line); color: var(--text); background: var(--panel);
|
||||
display: inline-flex; align-items: center; gap: 8px; padding: 12px 19px; border-radius: 11px; font-weight: 600;
|
||||
border: 1px solid var(--line); color: var(--text); background: var(--panel); transition: .15s;
|
||||
}
|
||||
.btn:hover { text-decoration: none; border-color: var(--accent); }
|
||||
.btn:hover { text-decoration: none; border-color: var(--accent); transform: translateY(-1px); }
|
||||
.btn.primary { background: linear-gradient(135deg, var(--accent), #e8925a); color: #14100a; border: none; }
|
||||
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
|
||||
.btn.primary:hover { box-shadow: 0 10px 26px rgba(240,163,94,0.32); }
|
||||
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
|
||||
|
||||
/* Trust strip */
|
||||
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
|
||||
.trust .wrap { display: flex; flex-wrap: wrap; gap: 10px 26px; padding: 16px 22px; color: var(--muted); font-size: 0.92rem; }
|
||||
.trust b { color: var(--text); font-weight: 600; }
|
||||
.trust .dot { color: var(--accent-2); }
|
||||
|
||||
/* Sections */
|
||||
section { padding: 46px 0; }
|
||||
h2 { font-size: 1.7rem; margin: 0 0 6px; }
|
||||
.section-sub { color: var(--muted); margin: 0 0 26px; }
|
||||
section { padding: 52px 0; }
|
||||
h2 { font-size: 1.85rem; margin: 0 0 6px; letter-spacing: -0.01em; }
|
||||
.section-sub { color: var(--muted); margin: 0 0 26px; max-width: 680px; }
|
||||
|
||||
/* Cards / grid */
|
||||
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
|
||||
.card {
|
||||
background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
|
||||
padding: 20px; transition: border-color .15s, transform .15s;
|
||||
padding: 20px; transition: border-color .16s, transform .16s, box-shadow .16s;
|
||||
}
|
||||
.card:hover { border-color: var(--accent); transform: translateY(-2px); }
|
||||
.card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0,0,0,0.35); }
|
||||
.card h3 { margin: 0 0 6px; font-size: 1.12rem; }
|
||||
.card p { color: var(--muted); margin: 0; }
|
||||
.card .tag { display: inline-block; font-family: var(--mono); font-size: 0.72rem; color: var(--accent-2);
|
||||
border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; margin-bottom: 10px; }
|
||||
.card.soon { opacity: 0.72; }
|
||||
.card .thumb {
|
||||
display: grid; place-items: center; margin: -20px -20px 14px; padding: 20px;
|
||||
background: radial-gradient(320px 180px at 50% 6%, rgba(110,199,192,0.12), transparent 70%), #0c1017;
|
||||
border-bottom: 1px solid var(--line); border-radius: var(--radius) var(--radius) 0 0;
|
||||
}
|
||||
.card .thumb img { width: 100%; max-width: 128px; height: auto; }
|
||||
|
||||
/* Featured */
|
||||
.featured {
|
||||
display: grid; grid-template-columns: 1.2fr 1fr; gap: 26px; align-items: center;
|
||||
display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 28px; align-items: center;
|
||||
background: linear-gradient(180deg, var(--ink-2), var(--panel));
|
||||
border: 1px solid var(--line); border-radius: 18px; padding: 28px;
|
||||
border: 1px solid var(--line); border-radius: 20px; padding: 30px;
|
||||
}
|
||||
.featured h2 { font-size: 1.9rem; }
|
||||
.featured h2 { font-size: 2rem; }
|
||||
.featured .kicker { color: var(--accent); font-family: var(--mono); font-size: .8rem; letter-spacing: 1.5px; text-transform: uppercase; }
|
||||
.featured ul { margin: 14px 0 0; padding-left: 18px; color: var(--muted); }
|
||||
.featured ul li { margin: 4px 0; }
|
||||
.showcase { display: grid; gap: 14px; }
|
||||
.device-shot { display: grid; place-items: center; padding: 8px 0; }
|
||||
.device-shot img { width: 100%; max-width: 168px; height: auto; }
|
||||
.diagram {
|
||||
font-family: var(--mono); font-size: 0.8rem; color: var(--muted);
|
||||
background: #0c0f16; border: 1px solid var(--line); border-radius: 12px; padding: 16px; white-space: pre; overflow-x: auto;
|
||||
font-family: var(--mono); font-size: 0.78rem; color: var(--muted);
|
||||
background: #0b0e14; border: 1px solid var(--line); border-radius: 12px; padding: 15px; white-space: pre; overflow-x: auto;
|
||||
}
|
||||
@media (max-width: 780px) { .featured { grid-template-columns: 1fr; } }
|
||||
@media (max-width: 820px) { .featured { grid-template-columns: 1fr; } }
|
||||
|
||||
/* Provider picker (openscribe page) */
|
||||
.picker { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 16px; }
|
||||
.picker button {
|
||||
font-family: var(--sans); font-size: .92rem; cursor: pointer;
|
||||
background: var(--panel); color: var(--text); border: 1px solid var(--line);
|
||||
border-radius: 999px; padding: 8px 15px;
|
||||
/* Product figures */
|
||||
.product-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
|
||||
figure.product {
|
||||
margin: 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
|
||||
overflow: hidden; transition: border-color .16s, transform .16s, box-shadow .16s;
|
||||
}
|
||||
.picker button[aria-pressed="true"] { border-color: var(--accent); background: rgba(240,163,94,0.14); color: var(--text); }
|
||||
pre.code {
|
||||
font-family: var(--mono); font-size: 0.86rem; color: #d7e2f0;
|
||||
background: #0c0f16; border: 1px solid var(--line); border-radius: 12px; padding: 16px; overflow-x: auto;
|
||||
figure.product:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0,0,0,0.35); }
|
||||
figure.product .shot {
|
||||
display: grid; place-items: center; padding: 26px;
|
||||
background: radial-gradient(440px 240px at 50% 16%, rgba(240,163,94,0.12), transparent 70%), #0c1017;
|
||||
border-bottom: 1px solid var(--line);
|
||||
}
|
||||
pre.code .c { color: var(--muted); }
|
||||
pre.code .k { color: var(--accent-2); }
|
||||
figure.product .shot img { width: 100%; max-width: 210px; height: auto; }
|
||||
figure.product figcaption { padding: 16px 18px; }
|
||||
figure.product h3 { margin: 0 0 4px; }
|
||||
figure.product p { margin: 0; color: var(--muted); }
|
||||
figure.product .tag { display:inline-block; font-family: var(--mono); font-size: .72rem; color: var(--accent-2);
|
||||
border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; margin-bottom: 8px; }
|
||||
|
||||
/* Comparison */
|
||||
.compare { width: 100%; border-collapse: collapse; font-size: 0.96rem; }
|
||||
.compare th, .compare td { text-align: left; padding: 13px 14px; border-bottom: 1px solid var(--line); }
|
||||
.compare thead th { color: var(--muted); font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; }
|
||||
.compare tbody th { font-weight: 600; color: var(--text); }
|
||||
.compare .ours { color: var(--accent-2); }
|
||||
.compare .theirs { color: var(--muted); }
|
||||
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
|
||||
|
||||
/* Feature list */
|
||||
.features { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); }
|
||||
.features { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); }
|
||||
.feature { border-left: 2px solid var(--accent); padding-left: 14px; }
|
||||
.feature h4 { margin: 0 0 3px; }
|
||||
.feature p { margin: 0; color: var(--muted); font-size: 0.96rem; }
|
||||
|
||||
/* Provider picker */
|
||||
.panel {
|
||||
background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
|
||||
}
|
||||
.picker { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 16px; }
|
||||
.picker button {
|
||||
font-family: var(--sans); font-size: .92rem; cursor: pointer; transition: .14s;
|
||||
background: var(--panel-2); color: var(--text); border: 1px solid var(--line);
|
||||
border-radius: 999px; padding: 8px 15px;
|
||||
}
|
||||
.picker button:hover { border-color: var(--accent); }
|
||||
.picker button[aria-pressed="true"] { border-color: var(--accent); background: rgba(240,163,94,0.16); }
|
||||
pre.code {
|
||||
font-family: var(--mono); font-size: 0.86rem; color: #d7e2f0; margin: 0;
|
||||
background: #0b0e14; border: 1px solid var(--line); border-radius: 12px; padding: 16px; overflow-x: auto;
|
||||
}
|
||||
pre.code .c { color: var(--muted); }
|
||||
pre.code .k { color: var(--accent-2); }
|
||||
|
||||
/* Scroll reveal */
|
||||
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
|
||||
.reveal.in { opacity: 1; transform: none; }
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.reveal { opacity: 1; transform: none; transition: none; }
|
||||
.hero-device img { animation: none; }
|
||||
}
|
||||
|
||||
/* Footer */
|
||||
.site-footer { border-top: 1px solid var(--line); padding: 30px 0; color: var(--muted); }
|
||||
.site-footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
|
||||
.pill { font-family: var(--mono); font-size: .75rem; color: var(--accent-2); }
|
||||
.site-footer { border-top: 1px solid var(--line); padding: 34px 0; color: var(--muted); margin-top: 20px; }
|
||||
.site-footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; align-items: center; }
|
||||
.pill { font-family: var(--mono); font-size: .75rem; color: var(--accent-2); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue