octane-website/public/css/style.css
Nathan FONTEYNE 244cdbedd7 first commit
2026-07-08 11:05:21 +02:00

254 lines
4.1 KiB
CSS

:root {
--bg: #f7f7f9;
--surface: #ffffff;
--text: #1c1c1e;
--muted: #6b6b70;
--border: #e2e2e6;
--accent: #3457d5;
--accent-contrast: #ffffff;
--danger: #c0392b;
--success: #1e8e3e;
font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
:root {
--bg: #121214;
--surface: #1c1c1f;
--text: #ececef;
--muted: #9a9aa2;
--border: #2e2e33;
--accent: #7189e8;
--accent-contrast: #0d0d0f;
}
}
* { box-sizing: border-box; }
body {
margin: 0;
background: var(--bg);
color: var(--text);
}
header.app-header {
background: var(--surface);
border-bottom: 1px solid var(--border);
padding: 0.75rem 1.5rem;
}
nav#main-nav {
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
gap: 0.5rem;
}
.nav-links a {
margin-right: 1rem;
color: var(--muted);
text-decoration: none;
font-weight: 500;
}
.nav-links a.active, .nav-links a:hover {
color: var(--accent);
}
.nav-user {
display: flex;
align-items: center;
gap: 1rem;
color: var(--muted);
font-size: 0.9rem;
}
.nav-user a {
color: var(--accent);
text-decoration: none;
}
.badge {
background: var(--accent);
color: var(--accent-contrast);
border-radius: 999px;
padding: 0.1rem 0.5rem;
font-size: 0.75rem;
}
main {
max-width: 900px;
margin: 0 auto;
padding: 1.5rem;
}
h1 { font-size: 1.5rem; }
h2 { font-size: 1.15rem; margin-top: 2rem; }
.card {
background: var(--surface);
border: 1px solid var(--border);
border-radius: 10px;
padding: 1rem 1.25rem;
margin-bottom: 0.75rem;
}
.card-header {
display: flex;
justify-content: space-between;
align-items: baseline;
gap: 1rem;
}
.card-title { font-weight: 600; }
.card-subtitle { color: var(--muted); font-size: 0.9rem; }
.tag-list {
display: flex;
flex-wrap: wrap;
gap: 0.4rem;
margin-top: 0.5rem;
}
.tag {
background: var(--bg);
border: 1px solid var(--border);
border-radius: 6px;
padding: 0.15rem 0.5rem;
font-size: 0.8rem;
}
.tag a { color: var(--accent); text-decoration: none; }
.empty {
color: var(--muted);
font-style: italic;
}
form.inline-form {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
margin-top: 0.75rem;
align-items: flex-end;
}
form.inline-form label {
display: flex;
flex-direction: column;
font-size: 0.8rem;
color: var(--muted);
gap: 0.25rem;
}
input, select, textarea {
font: inherit;
padding: 0.4rem 0.5rem;
border: 1px solid var(--border);
border-radius: 6px;
background: var(--surface);
color: var(--text);
}
button {
font: inherit;
padding: 0.45rem 0.9rem;
border: none;
border-radius: 6px;
background: var(--accent);
color: var(--accent-contrast);
cursor: pointer;
}
button.secondary {
background: transparent;
border: 1px solid var(--border);
color: var(--text);
}
button.danger {
background: var(--danger);
color: #fff;
}
button:disabled {
opacity: 0.5;
cursor: not-allowed;
}
.vote-tally {
display: flex;
gap: 1rem;
font-size: 0.9rem;
margin-top: 0.5rem;
}
.vote-tally .approve { color: var(--success); }
.vote-tally .reject { color: var(--danger); }
.vote-list {
margin-top: 0.5rem;
border-top: 1px solid var(--border);
padding-top: 0.5rem;
}
.vote-item {
font-size: 0.85rem;
margin-bottom: 0.35rem;
}
.vote-item .voter { font-weight: 600; }
.youtube-embed {
margin-top: 0.75rem;
aspect-ratio: 16 / 9;
width: 100%;
max-width: 480px;
}
.youtube-embed iframe {
width: 100%;
height: 100%;
border: 0;
border-radius: 8px;
}
.setlist-section h3 {
margin-bottom: 0.4rem;
}
ol.setlist {
padding-left: 1.25rem;
}
ol.setlist li {
margin-bottom: 0.5rem;
}
.note {
color: var(--muted);
font-size: 0.85rem;
display: block;
}
.error-banner {
background: #fdecea;
color: var(--danger);
border: 1px solid var(--danger);
border-radius: 8px;
padding: 0.6rem 0.9rem;
margin-bottom: 1rem;
}
@media (prefers-color-scheme: dark) {
.error-banner {
background: #3a1f1c;
}
}
a.back-link {
color: var(--muted);
text-decoration: none;
font-size: 0.9rem;
}