voice-agent / static /styles.css
RalphThings's picture
Deploy Hugging Face Space
a8bcb70
:root {
--bg: #0d1117;
--panel: rgba(15, 23, 32, 0.86);
--panel-2: rgba(10, 16, 24, 0.92);
--ink: #e6edf3;
--muted: #94a3b8;
--line: rgba(148, 163, 184, 0.18);
--accent: #3fb950;
--accent-2: #58a6ff;
--shadow: 0 28px 90px rgba(0, 0, 0, 0.32);
}
* {
box-sizing: border-box;
}
body {
margin: 0;
min-height: 100vh;
font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
color: var(--ink);
background:
radial-gradient(circle at top left, rgba(88, 166, 255, 0.12), transparent 34%),
radial-gradient(circle at bottom right, rgba(63, 185, 80, 0.1), transparent 28%),
linear-gradient(180deg, #0b0f14 0%, #0d1117 40%, #111827 100%);
}
.shell {
width: min(960px, calc(100vw - 24px));
margin: 0 auto;
padding: 24px 0 40px;
}
.panel {
padding: 24px;
border: 1px solid var(--line);
border-radius: 28px;
background: var(--panel);
box-shadow: var(--shadow);
backdrop-filter: blur(20px);
}
.eyebrow,
.sectionTitle,
.card span {
margin: 0 0 8px;
text-transform: uppercase;
letter-spacing: 0.12em;
color: var(--muted);
font-size: 0.74rem;
}
h1 {
margin: 0;
font-family: "Space Grotesk", "Segoe UI", sans-serif;
font-size: clamp(2.4rem, 7vw, 4.6rem);
line-height: 0.95;
}
.lede {
max-width: 44rem;
color: var(--muted);
line-height: 1.55;
}
.controls,
.stats {
display: grid;
gap: 12px;
margin-top: 18px;
}
.controls {
grid-template-columns: 1fr;
}
.stats {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
.field span {
display: block;
margin-bottom: 6px;
font-size: 0.85rem;
color: var(--muted);
}
input,
button,
.log,
.card {
border-radius: 18px;
}
input,
button {
width: 100%;
border: 1px solid var(--line);
padding: 14px 16px;
font-size: 1rem;
}
input {
background: rgba(8, 13, 20, 0.82);
color: var(--ink);
}
button {
border: none;
background: linear-gradient(135deg, var(--accent), #2f8f43);
color: #04110a;
font-weight: 700;
}
.card {
padding: 14px 16px;
background: rgba(8, 13, 20, 0.76);
border: 1px solid var(--line);
}
.card strong {
display: block;
font-size: 1.3rem;
}
.logWrap {
margin-top: 16px;
}
.log {
min-height: 120px;
margin: 0;
padding: 16px;
overflow: auto;
white-space: pre-wrap;
background: var(--panel-2);
color: #dce5ee;
border: 1px solid rgba(88, 166, 255, 0.12);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}
.activityPane {
font-family: "IBM Plex Mono", "SFMono-Regular", monospace;
font-size: 0.9rem;
line-height: 1.45;
color: #cbd5e1;
word-break: break-word;
}
@media (min-width: 720px) {
.controls {
grid-template-columns: 1fr 220px;
align-items: end;
}
}
@media (max-width: 719px) {
.stats {
grid-template-columns: 1fr;
}
.panel {
padding: 18px;
border-radius: 20px;
}
}