style(overlay): softer font, smaller OBS tower with rounded corners (1.89.21)

This commit is contained in:
larssand committed 2026-11-13 18:41:39 +01:00
1 parent 6e45918e74
commit b4a6381f82
4 files changed
+37 -29

No files matched your search

+28 -26
View File
@@ -1,4 +1,6 @@
:root {
/* Overlays and OBS graphics: a soft sans-serif instead of the squared Orbitron used in the app. */
--overlay-font: Barlow, "Segoe UI", system-ui, sans-serif;
--bg: #090f1c;
--bg-soft: #101a2e;
--panel: #141f34;
@@ -2929,7 +2931,7 @@ select:focus {
.overlay-header h1 {
margin: 0;
font-family: Orbitron, sans-serif;
font-family: var(--overlay-font);
font-size: clamp(0.92rem, 1.35vw, 1.25rem);
line-height: 1.02;
}
@@ -2956,7 +2958,7 @@ select:focus {
}
.overlay-clock {
font-family: Orbitron, sans-serif;
font-family: var(--overlay-font);
font-size: clamp(1.12rem, 1.9vw, 1.7rem);
font-weight: 800;
}
@@ -3053,7 +3055,7 @@ select:focus {
.overlay-obs-brandline h2 {
margin: 0;
font-family: Orbitron, sans-serif;
font-family: var(--overlay-font);
font-size: clamp(1rem, 1.65vw, 1.45rem);
line-height: 1.05;
}
@@ -3078,7 +3080,7 @@ select:focus {
}
.overlay-obs-clockblock strong {
font-family: Orbitron, sans-serif;
font-family: var(--overlay-font);
font-size: clamp(1.4rem, 2.2vw, 2.15rem);
line-height: 1;
}
@@ -3191,12 +3193,12 @@ select:focus {
.overlay-obs-lowerthird-head h2 {
margin: 0;
font-family: Orbitron, sans-serif;
font-family: var(--overlay-font);
font-size: clamp(1rem, 1.6vw, 1.4rem);
}
.overlay-obs-lowerthird-clock {
font-family: Orbitron, sans-serif;
font-family: var(--overlay-font);
font-size: clamp(1.1rem, 1.8vw, 1.6rem);
}
@@ -3298,7 +3300,7 @@ select:focus {
}
.overlay-speaker-label {
font-family: Orbitron, sans-serif;
font-family: var(--overlay-font);
font-size: 1rem;
color: var(--muted);
letter-spacing: 0.1em;
@@ -3306,7 +3308,7 @@ select:focus {
.overlay-speaker-main h2 {
margin: 12px 0;
font-family: Orbitron, sans-serif;
font-family: var(--overlay-font);
font-size: clamp(2.8rem, 6vw, 5rem);
}
@@ -3345,7 +3347,7 @@ select:focus {
}
.overlay-team-card strong {
font-family: Orbitron, sans-serif;
font-family: var(--overlay-font);
font-size: clamp(0.95rem, 1.5vw, 1.25rem);
}
@@ -3406,7 +3408,7 @@ select:focus {
.overlay-fastest-banner strong {
display: block;
margin-top: 1px;
font-family: Orbitron, sans-serif;
font-family: var(--overlay-font);
font-size: clamp(0.94rem, 1.45vw, 1.26rem);
}
@@ -3507,7 +3509,7 @@ select:focus {
.overlay-stat-card strong {
display: block;
margin: 8px 0 4px;
font-family: Orbitron, sans-serif;
font-family: var(--overlay-font);
font-size: clamp(1.4rem, 2vw, 2.1rem);
}
@@ -3548,7 +3550,7 @@ select:focus {
}
.overlay-side-card .overlay-passing span {
font-family: Orbitron, sans-serif;
font-family: var(--overlay-font);
font-size: 0.58rem;
color: var(--text);
white-space: nowrap;
@@ -3688,7 +3690,7 @@ select:focus {
.overlay-race-metric strong,
.overlay-race-best strong {
font-family: Orbitron, sans-serif;
font-family: var(--overlay-font);
font-size: clamp(0.88rem, 1.2vw, 1.08rem);
}
@@ -4118,7 +4120,7 @@ select:focus {
.overlay-obs-tower-brand h2 {
margin: 0;
font-family: Orbitron, sans-serif;
font-family: var(--overlay-font);
font-size: clamp(0.88rem, 1.1vw, 1.05rem);
line-height: 1.05;
}
@@ -4127,7 +4129,7 @@ select:focus {
flex: none;
/* Equal-width digits: the box doesn't change width every second. */
font-variant-numeric: tabular-nums;
font-family: Orbitron, sans-serif;
font-family: var(--overlay-font);
font-size: clamp(0.98rem, 1.2vw, 1.15rem);
line-height: 1;
white-space: nowrap;
@@ -4195,7 +4197,7 @@ select:focus {
align-items: center;
gap: 6px;
justify-content: flex-end;
font-family: Orbitron, sans-serif;
font-family: var(--overlay-font);
font-size: 0.66rem;
white-space: nowrap;
}
@@ -4910,25 +4912,25 @@ tr:has(> td > .medal-3) { background: linear-gradient(90deg, rgba(205, 127, 60,
so the camera image shows through (chroma keeps its green). */
.overlay-shell-obs-layout-broadcast:not(.overlay-shell-obs-theme-chroma) { background: transparent; }
.overlay-shell-obs-layout-broadcast { padding: 0; }
.obs-tv { position: relative; min-height: 100vh; font-family: "Barlow Condensed", Barlow, "Arial Narrow", sans-serif; color: #fff; text-transform: uppercase; font-size: clamp(16px, 1.45vw, 30px); }
.obs-tv { position: relative; min-height: 100vh; font-family: "Barlow Condensed", Barlow, "Arial Narrow", sans-serif; color: #fff; font-size: clamp(13px, 1.1vw, 23px); }
/* Session plate in RaceCore style: the red RC mark (or the club logo), a navy panel and Orbitron. */
.obs-tv-plate { position: absolute; top: 1.1em; left: 1.1em; display: flex; align-items: stretch; max-width: 46vw; border: 1px solid rgb(255 255 255 / 12%); border-radius: 0.55em; overflow: hidden; background: linear-gradient(180deg, rgb(20 31 52 / 94%), rgb(9 15 28 / 94%)); box-shadow: 0 0.3em 1.2em rgb(0 0 0 / 45%); text-transform: none; }
.obs-tv-plate::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 0.14em; background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 40%, transparent)); }
.obs-tv-plate-mark { display: grid; place-items: center; flex: none; width: 3.3em; background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 72%, white 28%) 0%, var(--accent) 55%, color-mix(in srgb, var(--accent) 62%, black 38%) 100%); font-family: Orbitron, sans-serif; font-weight: 800; font-size: 1.1em; letter-spacing: 0.02em; color: #fff; }
.obs-tv-plate-mark { display: grid; place-items: center; flex: none; width: 3.3em; background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 72%, white 28%) 0%, var(--accent) 55%, color-mix(in srgb, var(--accent) 62%, black 38%) 100%); font-family: var(--overlay-font); font-weight: 700; font-size: 1.1em; letter-spacing: 0.02em; color: #fff; }
.obs-tv-plate-mark img { width: 2.4em; height: 2.4em; object-fit: contain; }
.obs-tv-plate-text { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: 0.4em 1.1em 0.5em 0.8em; }
.obs-tv-event { margin: 0; color: #9aa9c4; font-size: 0.85em; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.obs-tv-session { margin: 0; color: #fff; font-family: Orbitron, sans-serif; font-size: 1.7em; font-weight: 800; line-height: 1.15; letter-spacing: 0.03em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.obs-tv-tower { position: absolute; top: 1em; right: 1em; min-width: clamp(320px, 26vw, 560px); max-width: 52vw; filter: drop-shadow(0 0.15em 0.5em rgb(0 0 0 / 50%)); }
.obs-tv-session { margin: 0; color: #fff; font-family: var(--overlay-font); font-size: 1.45em; font-weight: 700; line-height: 1.15; letter-spacing: 0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.obs-tv-tower { position: absolute; top: 1em; right: 1em; min-width: clamp(300px, 22vw, 480px); max-width: 46vw; border-radius: 0.5em; overflow: hidden; filter: drop-shadow(0 0.15em 0.5em rgb(0 0 0 / 50%)); }
.obs-tv-head { display: flex; align-items: center; justify-content: space-between; gap: 0.6em; padding: 0.2em 0.5em; background: linear-gradient(90deg, rgb(12 20 36 / 96%) 55%, var(--accent)); }
.obs-tv-logo { max-height: 1.9em; max-width: 50%; object-fit: contain; }
.obs-tv-brand { font-family: Orbitron, sans-serif; font-weight: 800; font-size: 0.95em; letter-spacing: 0.04em; }
.obs-tv-clock { font-family: Orbitron, sans-serif; font-size: 1.55em; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
.obs-tv-row { display: grid; grid-template-columns: var(--obs-tv-cols); align-items: center; column-gap: 0.45em; padding: 0 0.45em 0 0; min-height: 1.6em; background: rgb(17 21 30 / 88%); border-bottom: 1px solid rgb(255 255 255 / 10%); font-weight: 700; font-variant-numeric: tabular-nums; }
.obs-tv-brand { font-family: var(--overlay-font); font-weight: 700; font-size: 0.95em; letter-spacing: 0.02em; }
.obs-tv-clock { font-family: var(--overlay-font); font-size: 1.4em; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
.obs-tv-row { display: grid; grid-template-columns: var(--obs-tv-cols); align-items: center; column-gap: 0.45em; padding: 0 0.45em 0 0; min-height: 1.65em; background: rgb(17 21 30 / 88%); border-bottom: 1px solid rgb(255 255 255 / 8%); font-weight: 600; font-variant-numeric: tabular-nums; }
.obs-tv-row:nth-child(even of .obs-tv-row:not(.obs-tv-labels)) { background: rgb(27 33 45 / 88%); }
.obs-tv-labels { min-height: 1.15em; background: rgb(10 12 18 / 92%); color: rgb(255 255 255 / 60%); font-size: 0.62em; letter-spacing: 0.08em; }
.obs-tv-labels { min-height: 1.15em; background: rgb(10 12 18 / 92%); color: rgb(255 255 255 / 60%); font-size: 0.62em; letter-spacing: 0.08em; text-transform: uppercase; }
.obs-tv-cell { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; text-align: right; }
.obs-tv-pos { align-self: stretch; display: grid; place-items: center; text-align: center; background: rgb(255 255 255 / 14%); font-weight: 800; }
.obs-tv-pos { align-self: stretch; display: grid; place-items: center; text-align: center; background: rgb(255 255 255 / 14%); font-weight: 700; }
.obs-tv-labels .obs-tv-pos { background: none; }
.obs-tv-start { text-align: left; color: #9fd3ff; }
.obs-tv-slash { margin-right: 0.12em; opacity: 0.55; }
@@ -4940,7 +4942,7 @@ tr:has(> td > .medal-3) { background: linear-gradient(90deg, rgba(205, 127, 60,
.obs-tv-row.is-p2 .obs-tv-pos { background: linear-gradient(180deg, #f1f3f6, #a9b1bc); color: #22262d; }
.obs-tv-row.is-p3 .obs-tv-pos { background: linear-gradient(180deg, #f0b27a, #a8642c); color: #2e1606; }
.obs-tv-row.is-fastest .obs-tv-best { color: #d39bff; }
.obs-tv-foot { padding: 0.15em 0.5em; background: rgb(10 12 18 / 92%); font-size: 0.7em; font-weight: 600; letter-spacing: 0.04em; }
.obs-tv-foot { padding: 0.2em 0.5em; background: rgb(10 12 18 / 92%); font-size: 0.7em; font-weight: 600; letter-spacing: 0.04em; }
.obs-tv-foot strong { color: #d39bff; }
.obs-tv-empty { margin: 0; padding: 0.4em 0.6em; background: rgb(17 21 30 / 88%); }