Farbsystem von llm-arena übernommen: satteres Orange, Glow-Hintergrund, Radien/Schatten, Light-Mode via Systemeinstellung

This commit is contained in:
2026-11-09 11:25:01 +01:00
parent 30d6da141b
commit 8e95f66ca9

View File

@ -1,20 +1,47 @@
:root { :root {
color-scheme: dark; color-scheme: dark;
--bg: #16181d; /* Farbsystem angelehnt an llm-arena */
--bg-card: #1e2127; --bg: #0f1115;
--fg: #e8e6e3; --bg-glow: rgba(255, 155, 69, 0.10);
--fg-muted: #9aa0a8; --bg-card: #181b21;
--accent: #c2762f; --bg-card-2: #222630;
--error: #d4645c; --fg: #eceff4;
--ok: #6fa06b; --fg-muted: #9099a8;
--border: #2a2e36; --accent: #ff9b45;
--accent-soft: rgba(255, 155, 69, 0.14);
--accent-text: #1a1005;
--error: #ff7b72;
--ok: #6fd18a;
--radius: 12px;
--shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
--border: #2b303a;
}
@media (prefers-color-scheme: light) {
:root {
color-scheme: light;
--bg: #f6f3ef;
--bg-glow: rgba(255, 155, 69, 0.16);
--bg-card: #ffffff;
--bg-card-2: #f0ebe4;
--fg: #1d1a17;
--fg-muted: #6b645c;
--accent: #f08a2c;
--accent-soft: rgba(240, 138, 44, 0.14);
--accent-text: #ffffff;
--error: #c0392b;
--ok: #2e8b57;
--border: #e2dbd2;
--shadow: 0 6px 20px rgba(60, 40, 20, 0.10);
}
} }
body { body {
margin: 0; margin: 0;
background: var(--bg); min-height: 100vh;
background: radial-gradient(ellipse 70rem 28rem at 50% -8rem, var(--bg-glow), transparent), var(--bg);
color: var(--fg); color: var(--fg);
font-family: system-ui, sans-serif; font-family: Inter, "Segoe UI", system-ui, sans-serif;
font-size: 14px; font-size: 14px;
} }
@ -120,7 +147,7 @@ button.primary,
.overlay { .overlay {
position: absolute; position: absolute;
inset: 0; inset: 0;
background: rgba(10, 12, 15, 0.62); background: rgba(8, 9, 12, 0.6);
display: flex; display: flex;
align-items: flex-end; align-items: flex-end;
justify-content: flex-end; justify-content: flex-end;
@ -131,7 +158,7 @@ button.primary,
color: #fff; color: #fff;
font-size: 0.85rem; font-size: 0.85rem;
font-weight: 600; font-weight: 600;
background: rgba(10, 12, 15, 0.5); background: rgba(8, 9, 12, 0.45);
border-radius: 4px; border-radius: 4px;
padding: 0.05rem 0.4rem; padding: 0.05rem 0.4rem;
} }
@ -198,11 +225,11 @@ button.activechip {
.card { .card {
background: var(--bg-card); background: var(--bg-card);
border: 1px solid var(--border); border: 1px solid var(--border);
border-radius: 8px; border-radius: var(--radius);
overflow: hidden; overflow: hidden;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
} box-shadow: var(--shadow);
.cover { .cover {
aspect-ratio: 1 / 1; aspect-ratio: 1 / 1;
@ -406,7 +433,7 @@ code {
z-index: 6; z-index: 6;
max-height: 12rem; max-height: 12rem;
overflow: auto; overflow: auto;
box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4); box-shadow: var(--shadow);
} }
.bmrow { .bmrow {
@ -522,7 +549,7 @@ code {
overflow: auto; overflow: auto;
background: var(--bg-card); background: var(--bg-card);
border: 1px solid var(--border); border: 1px solid var(--border);
border-radius: 10px; border-radius: var(--radius);
padding: 1.2rem 1.4rem; padding: 1.2rem 1.4rem;
z-index: 9; z-index: 9;
} }