Skip to content

Commit bea0a57

Browse files
Merge pull request #271 from dutchdronesquad/release/v1.4.1
Release v1.4.1
2 parents 87f54b5 + de33de3 commit bea0a57

File tree

12 files changed

+112
-17
lines changed

12 files changed

+112
-17
lines changed

custom_plugins/stream_overlays/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@
66
"description": "Add new designed stream overlays to RotorHazard, which can be used in OBS (Open Broadcaster Software).",
77
"documentation_uri": "https://overlays.dutchdronesquad.nl",
88
"required_rhapi_version": "1.2",
9-
"version": "1.4.0"
9+
"version": "1.4.1"
1010
}

custom_plugins/stream_overlays/static/css/apex/heat.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,7 @@
193193
background: rgba(0, 217, 255, 0.15);
194194
border-radius: 4px;
195195
border: 0;
196+
font-variant-numeric: tabular-nums;
196197
}
197198

198199
/* Pilot info */
@@ -251,6 +252,7 @@
251252
display: flex;
252253
gap: 0.5rem;
253254
align-items: baseline;
255+
font-variant-numeric: tabular-nums;
254256
}
255257

256258
.theme-apex .channel-block .ch::before,

custom_plugins/stream_overlays/static/css/apex/node.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ html.apex-theme-page .socket-warning::after {
150150
display: flex;
151151
align-items: flex-start;
152152
gap: 3px;
153+
font-variant-numeric: tabular-nums;
153154
}
154155

155156
@keyframes slideInLeft {
@@ -255,6 +256,7 @@ html.apex-theme-page .socket-warning::after {
255256
color: var(--pilot_color, var(--apex-accent));
256257
min-width: 24px;
257258
text-align: right;
259+
font-variant-numeric: tabular-nums;
258260
}
259261

260262
/* Time display - prominent */
@@ -274,6 +276,7 @@ html.apex-theme-page .socket-warning::after {
274276
text-align: center;
275277
letter-spacing: 2px;
276278
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
279+
font-variant-numeric: tabular-nums;
277280
}
278281

279282
/* Recent laps section */
@@ -334,6 +337,7 @@ html.apex-theme-page .socket-warning::after {
334337
flex-shrink: 0;
335338
transition: all 0.2s ease;
336339
border: 1px solid rgba(255, 255, 255, 0.1);
340+
font-variant-numeric: tabular-nums;
337341
}
338342

339343
.apex-theme .lap-time-box {
@@ -350,6 +354,7 @@ html.apex-theme-page .socket-warning::after {
350354
border: 1px solid rgba(255, 255, 255, 0.1);
351355
height: 52px;
352356
letter-spacing: 0.5px;
357+
font-variant-numeric: tabular-nums;
353358
}
354359

355360
.apex-theme .laps-list li:hover .lap-num-box {
@@ -496,6 +501,7 @@ html.apex-theme-page .socket-warning::after {
496501
font-weight: 900;
497502
margin-left: 8px;
498503
text-shadow: 0 0 20px var(--pilot_color, var(--apex-accent-glow));
504+
font-variant-numeric: tabular-nums;
499505
}
500506

501507
.apex-theme .popup-time {
@@ -511,6 +517,7 @@ html.apex-theme-page .socket-warning::after {
511517
position: relative;
512518
z-index: 1;
513519
animation: pulseGlow 2s ease-in-out infinite;
520+
font-variant-numeric: tabular-nums;
514521
}
515522

516523
@keyframes pulseGlow {

custom_plugins/stream_overlays/static/css/apex/topbar.css

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@import url("https://fonts.googleapis.com/css2?family=Rajdhani:wght@300;400;500;600;700&family=Orbitron:wght@400;500;600;700;800;900&display=swap");
1+
@import url("https://fonts.googleapis.com/css2?family=Rajdhani:wght@300;400;500;600;700&family=Orbitron:wght@400;500;600;700;800;900&family=Oxanium:wght@600;700&display=swap");
22

33
/* CSS Variables for Apex topbar theme */
44
:root {
@@ -92,12 +92,21 @@ body {
9292
}
9393

9494
.time-display {
95-
font-family: "Orbitron", sans-serif;
95+
display: inline-flex;
96+
align-items: center;
97+
justify-content: center;
98+
font-family: "Oxanium", "Orbitron", sans-serif;
9699
font-size: 3.2rem;
97-
font-weight: 900;
100+
font-weight: 700;
98101
color: var(--apex-text-primary);
99-
letter-spacing: 2px;
102+
letter-spacing: 0.015em;
100103
line-height: 1;
104+
min-width: 8ch;
105+
text-align: center;
106+
font-variant-numeric: tabular-nums;
107+
font-feature-settings: "tnum" 1, "lnum" 1;
108+
font-kerning: none;
109+
font-variant-ligatures: none;
101110
}
102111

103112
/* Heat info section - center */
@@ -201,6 +210,7 @@ body {
201210

202211
.time-display {
203212
font-size: 2.8rem;
213+
font-variant-numeric: tabular-nums;
204214
}
205215

206216
.heat-section {
@@ -225,6 +235,7 @@ body {
225235

226236
.time-display {
227237
font-size: 2.4rem;
238+
font-variant-numeric: tabular-nums;
228239
}
229240

230241
.heat-section {

custom_plugins/stream_overlays/static/css/dds/heat.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,7 @@
269269
color: var(--dds-text);
270270
border: 1px solid rgba(255, 122, 24, 0.4);
271271
width: fit-content;
272+
font-variant-numeric: tabular-nums;
272273
}
273274

274275
.theme-dds .card-body {
@@ -323,6 +324,7 @@
323324
display: flex;
324325
align-items: baseline;
325326
gap: 0.4rem;
327+
font-variant-numeric: tabular-nums;
326328
}
327329

328330
.theme-dds .channel-block .ch::before,

custom_plugins/stream_overlays/static/css/dds/leaderboard/class.css

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
11
@import url("https://fonts.googleapis.com/css2?family=Teko:wght@300;400;500;600;700&display=swap");
22

3+
:root {
4+
--dds-numeric-features: "tnum" 1, "lnum" 1;
5+
}
6+
37
/* General styling */
48
.container {
59
margin: 120px 120px 0 120px;
610
width: 100%;
11+
font-variant-numeric: tabular-nums;
12+
font-feature-settings: var(--dds-numeric-features);
713
}
814

915
/* Center the container in the screen */
@@ -105,6 +111,9 @@
105111
background-color: darkorange;
106112
z-index: 2;
107113
border-radius: 15px 0 15px 0;
114+
display: flex;
115+
align-items: center;
116+
justify-content: center;
108117
}
109118

110119
/* Font styling for the entry */
@@ -113,7 +122,13 @@
113122
font-family: "Teko", sans-serif;
114123
margin: auto;
115124
font-size: 2.4rem;
116-
line-height: 1.7;
125+
line-height: 1.2;
126+
display: flex;
127+
align-items: center;
128+
justify-content: center;
129+
height: 100%;
130+
font-variant-numeric: tabular-nums;
131+
font-feature-settings: var(--dds-numeric-features);
117132
}
118133

119134
/* Styling for the info container */
@@ -144,7 +159,11 @@
144159
margin: 0;
145160
font-family: "Teko", sans-serif;
146161
font-size: 1.8rem;
147-
line-height: 2.2;
162+
line-height: 1.2;
163+
display: flex;
164+
align-items: center;
165+
font-variant-numeric: tabular-nums;
166+
font-feature-settings: var(--dds-numeric-features);
148167
}
149168

150169
#pilot_name {
@@ -162,11 +181,15 @@
162181
font-family: "Teko", sans-serif;
163182
font-size: 1.2rem;
164183
color: white;
184+
font-variant-numeric: tabular-nums;
185+
font-feature-settings: var(--dds-numeric-features);
165186
}
166187

167188
@media (min-height: 1080px) {
168189
#currentIndexIndicator {
169190
font-size: 1.8rem;
170191
padding: 7px 15px;
192+
font-variant-numeric: tabular-nums;
193+
font-feature-settings: var(--dds-numeric-features);
171194
}
172195
}

custom_plugins/stream_overlays/static/css/dds/leaderboard/overall.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
11
@import url("https://fonts.googleapis.com/css2?family=Teko:wght@300;400;500;600;700&display=swap");
22

3+
:root {
4+
--dds-numeric-features: "tnum" 1, "lnum" 1;
5+
}
6+
37
/* General styling */
48
.container {
59
margin: 120px 120px 0 120px;
610
width: 100%;
11+
font-variant-numeric: tabular-nums;
12+
font-feature-settings: var(--dds-numeric-features);
713
}
814

915
/* Center the container in the screen */
@@ -97,6 +103,8 @@
97103
margin: auto;
98104
font-size: 2.4rem;
99105
line-height: 1.7;
106+
font-variant-numeric: tabular-nums;
107+
font-feature-settings: var(--dds-numeric-features);
100108
}
101109

102110
#pilot_name {

custom_plugins/stream_overlays/static/css/dds/node.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ html.dds-theme-page .socket-warning::after {
114114

115115
#pilot_position {
116116
font-size: 6.5rem;
117+
font-variant-numeric: tabular-nums;
117118
}
118119

119120
#pos_ordinal {
@@ -164,6 +165,7 @@ html.dds-theme-page .socket-warning::after {
164165
font-family: "Teko", sans-serif;
165166
font-size: 2.1rem;
166167
line-height: 1.7;
168+
font-variant-numeric: tabular-nums;
167169
}
168170

169171
/* Triangle styling */
@@ -287,6 +289,7 @@ html.dds-theme-page .socket-warning::after {
287289
margin: auto;
288290
font-size: 2.4rem;
289291
line-height: 2.3;
292+
font-variant-numeric: tabular-nums;
290293
}
291294

292295
#last_laptime {

custom_plugins/stream_overlays/static/css/dds/topbar.css

Lines changed: 22 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@import url("https://fonts.googleapis.com/css2?family=Teko:wght@300;400;500;600;700&display=swap");
1+
@import url("https://fonts.googleapis.com/css2?family=Teko:wght@300;400;500;600;700&family=Rajdhani:wght@600;700&family=Oxanium:wght@600;700&display=swap");
22

33
:root {
44
--topbar-height: 100px;
@@ -53,16 +53,33 @@ body {
5353
.timing-clock {
5454
background-color: white;
5555
color: black;
56+
display: flex;
57+
align-items: center;
58+
justify-content: center;
59+
font-family: "Oxanium", "Teko", sans-serif;
60+
font-variant-numeric: tabular-nums;
61+
font-feature-settings: "tnum" 1, "lnum" 1;
62+
font-kerning: none;
63+
font-variant-ligatures: none;
5664
}
5765

5866
.time-display {
67+
display: inline-flex;
68+
align-items: center;
69+
justify-content: center;
5970
text-align: center;
60-
font-size: 3.2rem;
71+
font-size: 3.3rem;
6172
margin: 0;
62-
margin-top: 5px;
73+
margin-top: 4px;
74+
width: 8ch;
6375

64-
font-family: "Teko", sans-serif;
65-
font-weight: bold;
76+
font-family: "Oxanium", "Teko", sans-serif;
77+
font-weight: 700;
78+
letter-spacing: 0.015em;
79+
font-variant-numeric: tabular-nums;
80+
font-feature-settings: "tnum" 1, "lnum" 1;
81+
font-kerning: none;
82+
font-variant-ligatures: none;
6683
}
6784

6885
.race-running .timing-clock {

custom_plugins/stream_overlays/static/css/lcdr/heat.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,7 @@
289289
color: var(--lcdr-text);
290290
border-right: 1px solid rgba(56, 208, 255, 0.32);
291291
border-radius: 10px 0 0 10px;
292+
font-variant-numeric: tabular-nums;
292293
}
293294

294295
.theme-lcdr .card-body {
@@ -350,6 +351,7 @@
350351
display: flex;
351352
align-items: baseline;
352353
gap: 0.4rem;
354+
font-variant-numeric: tabular-nums;
353355
}
354356

355357
.theme-lcdr .channel-block .ch::before,

0 commit comments

Comments
 (0)