:root { --colour-scheme: light; --background-color: #ffffff; --text-color: #333333; --subtitle-color: #444444; --border-color: #eeeeee; --button-background-color: #007bff; --button-hover-background-color: #0069d9; --button-disabled-background-color: #cccccc; --star-color: #ffcc00; --message-background-color: #f8f9fa; /* Skeletons */ --skeleton-base: #f0f0f0; --skeleton-highlight: #e0e0e0; /* Timetable component variables */ --text-primary: var(--text-color); --text-secondary: #666666; --surface-future: var(--background-color); --surface-next: #eef6ff; /* slightly accented surface for next card */ --surface-past: hsl(0 0% 90% / 1); --accent-next: #1e88e5; /* accent color for next card left border */ --card-border: var(--border-color); --card-background: #f8f9fa; --service-background: #f0f0f0; --service-background-past: #e8e8e8; color-scheme: light; font-family: "Roboto Variable", Roboto, Arial, sans-serif; } [data-theme="dark"] { --colour-scheme: dark; --background-color: #121212; --text-color: #ffffff; --subtitle-color: #bbbbbb; --border-color: #444444; --button-background-color: #1e88e5; --button-hover-background-color: #1565c0; --button-disabled-background-color: #555555; --star-color: #ffcc00; --message-background-color: #333333; /* Skeletons (dark) */ --skeleton-base: #2a2a2a; --skeleton-highlight: #3a3a3a; /* Timetable component dark overrides */ --text-primary: var(--text-color); --text-secondary: #bbbbbb; --surface-future: #1e1e1e; --surface-next: #17212b; --surface-past: #1a1a1a; --accent-next: #64b5f6; --card-border: var(--border-color); --card-background: #1e1e1e; --service-background: #222222; --service-background-past: #1f1f1f; color-scheme: dark; } body { color-scheme: var(--colour-scheme, light); margin: 0; padding: 0; box-sizing: border-box; background-color: var(--background-color); display: flex; flex-direction: column; height: 100dvh; width: 100%; overflow: hidden; /* Disable browser's native pull-to-refresh on mobile */ overscroll-behavior-y: contain; } .main-content { flex: 1; overflow: auto; overflow-x: hidden; } .navigation-bar { display: flex; justify-content: space-around; align-items: center; padding: 0.5rem 0; background-color: var(--background-color); border-top: 1px solid var(--border-color); } .navigation-bar__link { flex: 1 0; display: flex; flex-direction: column; align-items: center; text-decoration: none; color: var(--text-color); padding: 0.25rem 0; border-radius: 0.5rem; } .navigation-bar__link svg { width: 1.75rem; height: 1.75rem; margin-bottom: 5px; fill: none; stroke-width: 2; } .navigation-bar__link span { font-size: 14px; line-height: 1; } .navigation-bar__link.active { color: var(--button-background-color); } .theme-toggle { background: none; border: none; cursor: pointer; color: inherit; display: flex; align-items: center; justify-content: center; padding: 8px; } .theme-toggle:hover { color: var(--button-hover-background-color); } .page-container { max-width: 100%; padding: 0 16px; background-color: var(--background-color); color: var(--text-color); } @media (min-width: 768px) { .page-container { width: 90%; max-width: 768px; margin: 0 auto; } .page-title { font-size: 2.2rem; } } @media (min-width: 1024px) { .page-container { max-width: 1024px; } } .maplibregl-ctrl-attrib-inner { font-size: 0.9em; }