Tim Chen
Add 'Structures v1' tab (parallel structure-generator run, fuchsia accent)
98d4d35
Raw
History Blame Contribute Delete
3.52 kB
@tailwind base;
@tailwind components;
@tailwind utilities;
html, body, #root {
height: 100%;
margin: 0;
padding: 0;
background: #030712;
color: #f3f4f6;
font-family: ui-sans-serif, system-ui, sans-serif;
}
/* Markdown rendered into the Structures view. Tailwind's preflight strips
* default browser styling from h*, p, ul/ol, code, etc., so we restore just
* enough here to make the LLM-generated structure readable on the dark theme.
* Amber accents match the structure-card hue used in the qampari/monaco viewers. */
.structure-md {
color: #e5e7eb;
font-size: 0.875rem;
line-height: 1.55;
}
.structure-md > :first-child { margin-top: 0; }
.structure-md > :last-child { margin-bottom: 0; }
.structure-md h1,
.structure-md h2,
.structure-md h3,
.structure-md h4 {
color: #fbbf24;
font-weight: 600;
margin-top: 1.1em;
margin-bottom: 0.4em;
line-height: 1.25;
}
.structure-md h1 { font-size: 1.15rem; }
.structure-md h2 { font-size: 1.05rem; }
.structure-md h3 { font-size: 0.98rem; }
.structure-md h4 { font-size: 0.92rem; }
.structure-md p { margin: 0.55em 0; }
.structure-md ul,
.structure-md ol {
margin: 0.4em 0;
padding-left: 1.4em;
}
.structure-md ul { list-style: disc; }
.structure-md ol { list-style: decimal; }
.structure-md li { margin: 0.18em 0; }
.structure-md li > p { margin: 0.2em 0; }
.structure-md a {
color: #93c5fd;
text-decoration: underline;
text-underline-offset: 2px;
}
.structure-md code {
background: rgba(251, 191, 36, 0.10);
color: #fde68a;
padding: 0.05em 0.35em;
border-radius: 3px;
font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
font-size: 0.85em;
}
.structure-md pre {
background: #111827;
border: 1px solid #1f2937;
border-radius: 4px;
padding: 0.65em 0.85em;
overflow-x: auto;
margin: 0.7em 0;
}
.structure-md pre code {
background: transparent;
color: #e5e7eb;
padding: 0;
font-size: 0.8em;
}
.structure-md blockquote {
border-left: 3px solid #fbbf24;
padding-left: 0.85em;
margin: 0.7em 0;
color: #d1d5db;
font-style: italic;
}
.structure-md table {
border-collapse: collapse;
margin: 0.7em 0;
font-size: 0.82em;
}
.structure-md th,
.structure-md td {
border: 1px solid #374151;
padding: 0.3em 0.6em;
text-align: left;
vertical-align: top;
}
.structure-md th {
background: rgba(251, 191, 36, 0.08);
color: #fde68a;
}
.structure-md hr {
border: 0;
border-top: 1px solid #1f2937;
margin: 1em 0;
}
.structure-md strong { color: #f9fafb; }
.structure-md em { color: #fcd34d; }
/* v2 variant: swap the amber accents for cyan so the two structure
* generations read distinctly at a glance. */
.structure-md-v2 h1,
.structure-md-v2 h2,
.structure-md-v2 h3,
.structure-md-v2 h4 {
color: #22d3ee;
}
.structure-md-v2 code {
background: rgba(34, 211, 238, 0.10);
color: #a5f3fc;
}
.structure-md-v2 blockquote {
border-left-color: #22d3ee;
}
.structure-md-v2 th {
background: rgba(34, 211, 238, 0.08);
color: #a5f3fc;
}
.structure-md-v2 em { color: #67e8f9; }
/* v1 variant: fuchsia accent so v0/v1/v2 form a distinct amber/fuchsia/cyan
* triad in the structure-markdown body. */
.structure-md-v1 h1,
.structure-md-v1 h2,
.structure-md-v1 h3,
.structure-md-v1 h4 {
color: #e879f9;
}
.structure-md-v1 code {
background: rgba(232, 121, 249, 0.10);
color: #f5d0fe;
}
.structure-md-v1 blockquote {
border-left-color: #e879f9;
}
.structure-md-v1 th {
background: rgba(232, 121, 249, 0.08);
color: #f5d0fe;
}
.structure-md-v1 em { color: #f0abfc; }