style: dark sidebar + Racing Sans One YARIS wordmark logo

- Sidebar bg: navy (#1a1a2e) → dark gray (#1c1c1e)
- Logo: replaced fa-car icon + text with styled YARIS wordmark
  using Racing Sans One (free Google Font, OFL licensed)
- Red accent underline (#e63946) on logo
- Applied to both server (server/templates/base.html) and
  Pi (templates/base.html) + mobile topbar
This commit is contained in:
Mathieu Moran
2026-08-12 04:15:51 -04:00
parent 67dc9b897e
commit d613252155
3 changed files with 48 additions and 15 deletions
+38 -7
View File
@@ -4,10 +4,11 @@
--sidebar-width: 14rem;
--sidebar-collapsed-width: 4rem;
--topbar-height: 3.5rem;
--sidebar-bg: #1a1a2e;
--sidebar-bg: #1c1c1e;
--sidebar-hover: rgba(255,255,255,.08);
--sidebar-active: rgba(255,255,255,.15);
--primary: #4e73df;
--accent: #e63946;
}
body {
@@ -38,7 +39,7 @@ body {
.sidebar-brand {
display: flex;
align-items: center;
gap: .75rem;
gap: 0;
padding: 1.25rem 1rem;
color: #fff;
text-decoration: none;
@@ -48,13 +49,43 @@ body {
.sidebar-brand:hover { color: rgba(255,255,255,.85); }
.sidebar-brand-icon {
font-size: 1.25rem;
flex-shrink: 0;
width: 2rem;
text-align: center;
/* ── YARIS logo wordmark ──────────────────────────────────────────────── */
.sidebar-brand-logo {
font-family: 'Racing Sans One', 'Arial Black', sans-serif;
font-size: 1.55rem;
font-weight: 400;
font-style: italic;
letter-spacing: .06em;
color: #fff;
line-height: 1;
position: relative;
display: inline-block;
}
.sidebar-brand-logo::after {
content: '';
position: absolute;
bottom: -2px;
left: 0;
width: 100%;
height: 3px;
background: var(--accent);
border-radius: 2px;
}
.app-sidebar.collapsed .sidebar-brand-logo {
font-size: 1.3rem;
letter-spacing: 0;
/* Show only first letter when collapsed */
visibility: visible;
}
.app-sidebar.collapsed .sidebar-brand-logo::after {
display: none;
}
/* Old — kept for compatibility, not used by new logo */
.sidebar-brand-text {
font-weight: 700;
font-size: .95rem;