/* http_demo's stylesheet: a dark glassmorphism UI with a terminal accent. Served from disk by the `/static/` route (std/file, ADR 0049). */ :root { --bg: #0a0e13; --panel: rgba(255, 255, 255, 0.045); --panel-strong: rgba(255, 255, 255, 0.07); --border: rgba(255, 255, 255, 0.09); --text: #e6edf3; --dim: #9aa7b2; --muted: #6e7a86; --accent: #58e6a4; --accent-soft: rgba(88, 230, 164, 0.14); --danger: #ff7b8a; --danger-soft: rgba(255, 123, 138, 0.09); --mono: ui-monospace, "SF Mono", "Cascadia Code", "JetBrains Mono", Menlo, monospace; } * { box-sizing: border-box; } ::selection { background: var(--accent-soft); } body { margin: 0; min-height: 100vh; color: var(--text); background: var(--bg); font-family: Inter, system-ui, -apple-system, sans-serif; font-size: 15px; line-height: 1.55; /* aurora glow behind the glass */ background-image: radial-gradient(42rem 30rem at 12% -10%, rgba(88, 230, 164, 0.09), transparent 60%), radial-gradient(38rem 30rem at 105% 110%, rgba(88, 166, 255, 0.08), transparent 60%); } /* a faint terminal grid, behind everything */ body::before { content: ""; position: fixed; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px); background-size: 44px 44px; } .shell { width: 100%; max-width: 24.5rem; margin: 0 auto; padding: 4.5rem 1.25rem 3rem; } /* the brand line: `~/louise ▌` in mono */ .brand { font-family: var(--mono); font-size: 0.95rem; letter-spacing: 0.04em; margin-bottom: 0.4rem; } .brand .accent { color: var(--accent); } .brand .dim { color: var(--muted); } .cursor { color: var(--accent); animation: blink 1.1s steps(1) infinite; } @keyframes blink { 50% { opacity: 0; } } @media (prefers-reduced-motion: reduce) { .cursor { animation: none; } } h1 { font-family: var(--mono); font-size: 1.35rem; font-weight: 600; margin: 0 0 1.4rem; letter-spacing: 0.01em; } h1::before { content: "// "; color: var(--muted); } h2 { font-family: var(--mono); font-size: 0.85rem; font-weight: 500; color: var(--dim); text-transform: uppercase; letter-spacing: 0.14em; margin: 2rem 0 0.7rem; } /* the glass panel */ .card { background: var(--panel); border: 1px solid var(--border); border-radius: 14px; padding: 1.15rem 1.25rem; backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 18px 40px rgba(0, 0, 0, 0.45); } .card + .card { margin-top: 1rem; } input { display: block; width: 100%; margin: 0.6rem 0; padding: 0.55rem 0.7rem; color: var(--text); background: rgba(0, 0, 0, 0.28); border: 1px solid var(--border); border-radius: 9px; font-family: var(--mono); font-size: 0.9rem; transition: border-color 0.15s ease, box-shadow 0.15s ease; } input::placeholder { color: var(--muted); } input:focus { outline: none; border-color: rgba(88, 230, 164, 0.55); box-shadow: 0 0 0 3px var(--accent-soft); } button { width: 100%; margin-top: 0.9rem; padding: 0.55rem 0.7rem; border-radius: 9px; border: 1px solid transparent; font-family: var(--mono); font-size: 0.9rem; font-weight: 600; cursor: pointer; transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease; } button:active { transform: translateY(1px); } button.primary { color: #06281a; background: linear-gradient(180deg, #6ff0b2, #45d695); box-shadow: 0 8px 22px rgba(88, 230, 164, 0.22); } button.primary:hover { box-shadow: 0 10px 26px rgba(88, 230, 164, 0.32); } button.ghost { color: var(--accent); background: transparent; border-color: rgba(88, 230, 164, 0.4); } button.ghost:hover { background: var(--accent-soft); } /* the error note: a red-tinted glass chip */ .error { margin: 0 0 1rem; padding: 0.55rem 0.8rem; color: var(--danger); background: var(--danger-soft); border: 1px solid rgba(255, 123, 138, 0.32); border-radius: 9px; font-family: var(--mono); font-size: 0.85rem; } a { color: var(--accent); text-decoration: none; } a:hover { text-decoration: underline; } .muted { color: var(--dim); } .dim { color: var(--muted); }