Initial static site (no framework, no build) for the 12 Hobbies Studio maker studio, featuring OpenScribe as the flagship project. What changed: - index.html: studio home - hero, featured OpenScribe block with sync diagram, projects grid, about. British spelling, dark warm theme. - projects/openscribe.html: OpenScribe product page. Leads with the "bring your own AI" differentiator, an interactive provider picker, the feature set, a four-step build guide, and licensing. - assets/styles.css: all styling (palette, cards, featured layout, picker, code blocks). - assets/app.js: dependency-free provider picker that swaps a sample server .env snippet across Ollama / OpenAI / Anthropic / Groq / LM Studio - on message with OpenScribe's any-AI design. - README, LICENSE (MIT for site code), .gitignore. Why: - The user asked to develop a site on 12 Hobbies Studio; this is the first cut, showcasing OpenScribe and the connect-to-any-AI capability. Branding uses sensible defaults and is trivially editable (noted in README). Notes: - Pure static files; deploy to any static host or Forgejo Pages. Validated: app.js passes node --check; HTML section tags balanced. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
128 lines
5.3 KiB
CSS
128 lines
5.3 KiB
CSS
/* SPDX-License-Identifier: MIT
|
|
12 Hobbies Studio - site styles. No framework, no build step. */
|
|
|
|
:root {
|
|
--ink: #10131a;
|
|
--ink-2: #171b24;
|
|
--panel: #1e2330;
|
|
--line: #2c3444;
|
|
--text: #e7ecf3;
|
|
--muted: #9aa6b8;
|
|
--accent: #f0a35e; /* warm amber */
|
|
--accent-2: #6ec7c0; /* teal */
|
|
--radius: 14px;
|
|
--wrap: 1080px;
|
|
--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:
|
|
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;
|
|
}
|
|
|
|
a { color: var(--accent); text-decoration: none; }
|
|
a:hover { text-decoration: underline; }
|
|
|
|
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
|
|
|
|
/* Header */
|
|
.site-header {
|
|
position: sticky; top: 0; z-index: 10;
|
|
backdrop-filter: blur(8px);
|
|
background: rgba(16,19,26,0.72);
|
|
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; }
|
|
.nav a:hover { color: var(--text); text-decoration: none; }
|
|
|
|
/* 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 .accent { color: var(--accent); }
|
|
|
|
/* 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);
|
|
}
|
|
.btn:hover { text-decoration: none; border-color: var(--accent); }
|
|
.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; }
|
|
|
|
/* Sections */
|
|
section { padding: 46px 0; }
|
|
h2 { font-size: 1.7rem; margin: 0 0 6px; }
|
|
.section-sub { color: var(--muted); margin: 0 0 26px; }
|
|
|
|
/* 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;
|
|
}
|
|
.card:hover { border-color: var(--accent); transform: translateY(-2px); }
|
|
.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; }
|
|
|
|
/* Featured */
|
|
.featured {
|
|
display: grid; grid-template-columns: 1.2fr 1fr; gap: 26px; align-items: center;
|
|
background: linear-gradient(180deg, var(--ink-2), var(--panel));
|
|
border: 1px solid var(--line); border-radius: 18px; padding: 28px;
|
|
}
|
|
.featured h2 { font-size: 1.9rem; }
|
|
.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); }
|
|
.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;
|
|
}
|
|
@media (max-width: 780px) { .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;
|
|
}
|
|
.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;
|
|
}
|
|
pre.code .c { color: var(--muted); }
|
|
pre.code .k { color: var(--accent-2); }
|
|
|
|
/* Feature list */
|
|
.features { display: grid; gap: 14px; 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; }
|
|
|
|
/* 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); }
|