2026-06-11 15:59:39 +01:00
|
|
|
/* Why is the DLR shut today?
|
|
|
|
|
Two colour schemes selected via the [data-theme] attribute on <body>:
|
|
|
|
|
- modern: current DLR turquoise/teal branding
|
|
|
|
|
- original: 1987 DLR red-and-blue livery */
|
|
|
|
|
|
|
|
|
|
:root {
|
|
|
|
|
--font-stack: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Modern DLR — turquoise/teal */
|
|
|
|
|
[data-theme="modern"] {
|
|
|
|
|
--bg: #00afaa;
|
|
|
|
|
--surface: #ffffff;
|
|
|
|
|
--text: #ffffff;
|
|
|
|
|
--message: #ffffff;
|
|
|
|
|
--button-bg: #ffffff;
|
|
|
|
|
--button-text: #007e7a;
|
|
|
|
|
--button-active-bg: #00302e;
|
|
|
|
|
--button-active-text: #ffffff;
|
|
|
|
|
}
|
|
|
|
|
|
2026-06-12 13:05:37 +01:00
|
|
|
/* Original DLR — 1987 P86/P89 livery: blue body and skirt, red band and
|
|
|
|
|
doors, white stripes. Blue is the dominant field, red the accent.
|
|
|
|
|
1987 branding used the Rockwell slab serif; Rokkitt is a free fallback for
|
|
|
|
|
systems without Rockwell installed. */
|
2026-06-11 15:59:39 +01:00
|
|
|
[data-theme="original"] {
|
2026-06-12 13:05:37 +01:00
|
|
|
--font-stack: Rockwell, "Rockwell Nova", Rokkitt, Georgia, serif;
|
|
|
|
|
--bg: #1f3a93;
|
|
|
|
|
--surface: #c8102e;
|
|
|
|
|
--text: #ffffff;
|
|
|
|
|
--message: #ffffff;
|
|
|
|
|
--button-bg: #c8102e;
|
|
|
|
|
--button-text: #ffffff;
|
|
|
|
|
--button-active-bg: #ffffff;
|
|
|
|
|
--button-active-text: #1f3a93;
|
2026-06-11 15:59:39 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
* {
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
body {
|
|
|
|
|
margin: 0;
|
|
|
|
|
min-height: 100vh;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
font-family: var(--font-stack);
|
|
|
|
|
color: var(--text);
|
2026-06-11 17:36:47 +01:00
|
|
|
background: var(--bg);
|
2026-06-11 15:59:39 +01:00
|
|
|
transition: background 0.4s ease, color 0.4s ease;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.sr-only {
|
|
|
|
|
position: absolute;
|
|
|
|
|
width: 1px;
|
|
|
|
|
height: 1px;
|
|
|
|
|
padding: 0;
|
|
|
|
|
margin: -1px;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
clip: rect(0, 0, 0, 0);
|
|
|
|
|
border: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.controls {
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: flex-end;
|
|
|
|
|
padding: 1.5rem;
|
|
|
|
|
}
|
|
|
|
|
|
2026-06-12 11:34:32 +01:00
|
|
|
/* Segmented control: both options joined in one rounded container,
|
|
|
|
|
with the active segment filled. */
|
2026-06-11 15:59:39 +01:00
|
|
|
.theme-toggle {
|
2026-06-12 11:34:32 +01:00
|
|
|
display: inline-flex;
|
|
|
|
|
border: 2px solid var(--button-bg);
|
|
|
|
|
border-radius: 999px;
|
|
|
|
|
overflow: hidden;
|
2026-06-11 15:59:39 +01:00
|
|
|
margin: 0;
|
|
|
|
|
padding: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.theme-button {
|
|
|
|
|
font-family: inherit;
|
|
|
|
|
font-size: 0.9rem;
|
|
|
|
|
font-weight: 600;
|
2026-06-12 11:34:32 +01:00
|
|
|
padding: 0.5rem 1.1rem;
|
|
|
|
|
border: none;
|
2026-06-11 15:59:39 +01:00
|
|
|
background: transparent;
|
|
|
|
|
color: var(--text);
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
transition: background 0.2s ease, color 0.2s ease;
|
|
|
|
|
}
|
|
|
|
|
|
2026-06-12 11:34:32 +01:00
|
|
|
/* Divider between the two segments. */
|
|
|
|
|
.theme-button + .theme-button {
|
|
|
|
|
border-left: 2px solid var(--button-bg);
|
|
|
|
|
}
|
|
|
|
|
|
2026-06-11 15:59:39 +01:00
|
|
|
.theme-button[aria-pressed="true"] {
|
|
|
|
|
background: var(--button-active-bg);
|
|
|
|
|
color: var(--button-active-text);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.stage {
|
|
|
|
|
flex: 1;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
text-align: center;
|
|
|
|
|
padding: 2rem;
|
|
|
|
|
gap: 2rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.title {
|
|
|
|
|
font-size: clamp(1.5rem, 4vw, 2.5rem);
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
margin: 0;
|
|
|
|
|
letter-spacing: 0.02em;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.message {
|
|
|
|
|
font-size: clamp(1.75rem, 6vw, 4rem);
|
|
|
|
|
font-weight: 800;
|
|
|
|
|
line-height: 1.2;
|
|
|
|
|
margin: 0;
|
|
|
|
|
max-width: 22ch;
|
|
|
|
|
color: var(--message);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.refresh-button {
|
|
|
|
|
font-family: inherit;
|
|
|
|
|
font-size: 1rem;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
padding: 0.75rem 1.75rem;
|
|
|
|
|
border: 2px solid var(--button-bg);
|
|
|
|
|
border-radius: 999px;
|
|
|
|
|
background: var(--button-bg);
|
|
|
|
|
color: var(--button-text);
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
transition: transform 0.1s ease, opacity 0.2s ease;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.refresh-button:hover {
|
|
|
|
|
opacity: 0.9;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.refresh-button:active {
|
|
|
|
|
transform: scale(0.97);
|
|
|
|
|
}
|