From 811c916548403a54cea0d921d50e3892efb84627 Mon Sep 17 00:00:00 2001 From: multipleof4 Date: Mon, 10 Aug 2026 15:51:58 -0700 Subject: [PATCH] Feat: Style artwork generator page Co-authored-by: Opus 5 --- styles.css | 93 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 93 insertions(+) create mode 100644 styles.css diff --git a/styles.css b/styles.css new file mode 100644 index 0000000..45cb09e --- /dev/null +++ b/styles.css @@ -0,0 +1,93 @@ +:root { + --paper: #fcfcfa; + --ink: #15151b; + --accent: #4f46e5; + --line: #e4e4e7; + --mute: #71717a; +} + +* { box-sizing: border-box; } + +body { + margin: 0; + background: var(--paper); + color: var(--ink); + font-family: "Space Grotesk", ui-sans-serif, system-ui, sans-serif; + background-image: + radial-gradient(circle at 20% 10%, rgba(79, 70, 229, .08), transparent 30%), + radial-gradient(circle at 90% 5%, rgba(14, 165, 233, .08), transparent 30%); +} + +.shell { max-width: 1040px; margin: 0 auto; padding: 0 20px; } + +header { border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .8); backdrop-filter: blur(8px); } +.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 16px; } +h1 { font-size: 20px; margin: 0; letter-spacing: -.02em; } +h2 { font-size: 18px; margin: 0; letter-spacing: -.01em; } + +a { color: var(--accent); text-decoration: none; font-size: 14px; } +a:hover { text-decoration: underline; } + +main { padding-block: 28px 48px; display: grid; gap: 20px; } + +.panel { + background: #fff; + border: 1px solid var(--line); + border-radius: 18px; + padding: 20px; + box-shadow: 0 10px 30px rgba(0, 0, 0, .05); +} + +.controls { display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-end; } +.controls label { display: grid; gap: 6px; font-size: 13px; color: var(--mute); } +.controls label.check { flex-direction: row; display: flex; align-items: center; gap: 8px; } + +select { + font: inherit; + font-size: 14px; + color: var(--ink); + padding: 9px 12px; + border: 1px solid var(--line); + border-radius: 10px; + background: #fff; +} + +.status { margin: 0 0 0 auto; font-size: 13px; color: var(--mute); } +.status.err { color: #be123c; } +.status.ok { color: #047857; } + +.head { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 16px; } +.meta { margin: 4px 0 0; font-size: 13px; color: var(--mute); } +.actions { display: flex; gap: 8px; } + +button { + font: inherit; + font-size: 14px; + font-weight: 500; + color: #fff; + background: var(--accent); + border: 0; + border-radius: 10px; + padding: 10px 16px; + cursor: pointer; + transition: opacity .15s, background .15s; +} +button:hover { background: #4338ca; } +button:disabled { opacity: .5; cursor: progress; } +button.ghost { background: transparent; color: var(--accent); border: 1px solid var(--line); } +button.ghost:hover { background: #eef2ff; } + +.stage { + border-radius: 14px; + padding: 24px; + display: grid; + place-items: center; + transition: background .2s; +} +.stage[data-bg="dark"] { background: #101014; } +.stage[data-bg="light"] { background: #ededed; } +.stage svg { width: 100%; height: auto; max-width: 100%; } + +.specs ul { margin: 14px 0 0; padding-left: 20px; display: grid; gap: 8px; font-size: 14px; line-height: 1.5; } + +footer { border-top: 1px solid var(--line); padding-block: 20px; font-size: 13px; color: var(--mute); }