saving progress

This commit is contained in:
bolade
2025-08-11 14:46:35 +01:00
commit ca7df9d598
12 changed files with 1498 additions and 0 deletions
+114
View File
@@ -0,0 +1,114 @@
:root {
--bg: #0b1020;
--panel: #11162a;
--panel-soft: #151b30;
--text: #e6e8ef;
--muted: #a6adc8;
--brand: #4f8cff;
--brand-weak: rgba(79, 140, 255, 0.15);
--success: #22c55e;
--warn: #f59e0b;
--danger: #ef4444;
--border: #23304f;
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial;
color: var(--text);
background: radial-gradient(1200px 800px at 20% -10%, #1a2140 0%, var(--bg) 45%), var(--bg);
margin: 0;
}
header {
position: sticky; top: 0; z-index: 10;
background: rgba(10, 14, 28, 0.7);
backdrop-filter: blur(8px);
border-bottom: 1px solid var(--border);
}
header .inner {
display: flex; align-items: center; justify-content: space-between;
gap: 1rem; padding: 0.75rem 1rem; max-width: 1100px; margin: 0 auto;
}
header h1 { font-size: 1.05rem; margin: 0; letter-spacing: 0.4px; }
nav a { text-decoration: none; color: var(--muted); margin-left: 0.75rem; }
nav a:hover { color: var(--text); }
.container { max-width: 1100px; margin: 1.25rem auto; padding: 0 1rem; }
h2 { margin: 0.25rem 0 0.75rem; font-size: 1.2rem; }
h3 { margin: 0.5rem 0 0.5rem; font-size: 1.05rem; color: var(--muted); }
.muted { color: var(--muted); }
.card {
background: linear-gradient(180deg, var(--panel) 0%, var(--panel-soft) 100%);
border: 1px solid var(--border);
border-radius: 10px; padding: 1rem; box-shadow: 0 6px 24px rgba(0,0,0,0.25);
}
.card + .card { margin-top: 1rem; }
.badge { display: inline-block; padding: 0.2rem 0.5rem; border-radius: 999px; font-size: 0.75rem; border: 1px solid var(--border); background: #0e1425; color: var(--muted); }
.badge.success { color: #0f2f1d; background: #d1fae5; border-color: #86efac; }
.badge.warn { color: #3b2a07; background: #fef3c7; border-color: #fcd34d; }
.badge.danger { color: #4b0a0a; background: #fee2e2; border-color: #fca5a5; }
.badge.brand { color: #0a2a62; background: #dbe8ff; border-color: #9fc0ff; }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
th, td { border: 1px solid var(--border); padding: 10px; vertical-align: top; }
th { background: #0f152a; color: var(--muted); text-align: left; position: sticky; top: 0; }
tbody tr:hover { background: #0e1426; }
pre, code { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; }
pre { background: #0b1121; padding: 0.75rem; border-radius: 8px; white-space: pre-wrap; border: 1px solid var(--border); }
/* Chat-style messages */
.messages { display: flex; flex-direction: column; gap: 0.75rem; }
.msg-item { display: flex; }
.msg-item.incoming { justify-content: flex-start; }
.msg-item.outgoing { justify-content: flex-end; }
.msg-bubble {
max-width: 800px; width: fit-content;
background: #0f152a; border: 1px solid var(--border); border-radius: 12px;
padding: 0.75rem 0.9rem; box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.incoming .msg-bubble { background: #0f152a; }
.outgoing .msg-bubble { background: var(--brand-weak); border-color: #345fb0; }
.msg-meta { font-size: 0.78rem; color: var(--muted); margin-bottom: 0.35rem; }
.msg-subject { font-size: 0.9rem; margin-bottom: 0.25rem; color: var(--text); }
.msg-body { font-size: 0.92rem; }
.row { display: flex; gap: 1rem; flex-wrap: wrap; }
.col { flex: 1 1 360px; }
/* Links */
a { color: var(--brand); }
a:hover { text-decoration: underline; }
/* Small helpers */
.pill { padding: 0.15rem 0.5rem; border-radius: 999px; border: 1px solid var(--border); }
.right { text-align: right; }
.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; }
.mb-1 { margin-bottom: 0.5rem; } .mb-2 { margin-bottom: 1rem; }
/* Forms */
label { display: block; font-size: 0.9rem; color: var(--muted); }
input[type="text"], input[type="email"], input[type="number"], input[type="password"], textarea, select {
width: 100%;
background: #0b1121;
color: var(--text);
border: 1px solid var(--border);
border-radius: 8px;
padding: 0.5rem 0.6rem;
outline: none;
}
input:focus, textarea:focus, select:focus { border-color: #3c64b1; box-shadow: 0 0 0 3px rgba(79, 140, 255, 0.2); }
button {
appearance: none; border: 0; cursor: pointer;
background: linear-gradient(180deg, #5a8dff 0%, #3c64b1 100%);
color: white; padding: 0.55rem 0.9rem; border-radius: 8px;
box-shadow: 0 6px 18px rgba(63, 99, 183, 0.35);
}
button:hover { filter: brightness(1.05); }