Files
training-software/frontend/public/styles.css
Paperclip CTO 4a46c14857
All checks were successful
CI / lint (push) Successful in 10s
CI / test (push) Successful in 23s
CI / build-container (push) Successful in 8s
feat(frontend): add theming, branding sync, and improved frontend error UX
2026-05-19 09:09:04 +02:00

85 lines
1.4 KiB
CSS

:root {
--bg: #f1f6fb;
--card: #ffffff;
--text: #1a2633;
--accent: #0f6aa8;
--subtle: #f8fbfe;
--border: #d7e3ef;
}
:root[data-theme="dark"] {
--bg: #0f1724;
--card: #1a2433;
--text: #e6edf6;
--accent: #5bb8ff;
--subtle: #243248;
--border: #334765;
}
* { box-sizing: border-box; }
body {
margin: 0;
min-height: 100vh;
display: grid;
place-items: center;
background: radial-gradient(circle at top right, #d9ecfb, var(--bg));
color: var(--text);
font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}
:root[data-theme="dark"] body {
background: radial-gradient(circle at top right, #1d3148, var(--bg));
}
.card {
width: min(92vw, 640px);
padding: 2rem;
border-radius: 14px;
background: var(--card);
box-shadow: 0 12px 30px rgba(15, 41, 73, 0.12);
border: 1px solid var(--border);
}
.logo {
max-height: 48px;
margin-bottom: 0.75rem;
}
button {
border: 0;
border-radius: 8px;
padding: 0.7rem 1rem;
background: var(--accent);
color: #fff;
cursor: pointer;
}
pre {
margin-top: 1rem;
padding: 0.75rem;
background: var(--subtle);
border-radius: 8px;
overflow: auto;
border: 1px solid var(--border);
}
.btn-ghost,
.theme-toggle {
border: 1px solid var(--border);
border-radius: 8px;
background: transparent;
color: var(--text);
cursor: pointer;
}
header {
display: flex;
align-items: center;
gap: 0.75rem;
}
header h1 {
margin-right: auto;
}