Skip to content

Commit e6ef4fb

Browse files
committed
Tweak graphics to fit five-digit team numbers.
1 parent 833e5c8 commit e6ef4fb

7 files changed

+25
-22
lines changed

static/css/alliance_station_display.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ body[data-position=right] #inMatch #blueScore {
121121
left: 0;
122122
right: 0;
123123
margin: 0 auto;
124-
font-size: 35vw;
124+
font-size: 28vw;
125125
line-height: 450px;
126126
text-align: center;
127127
}

static/css/audience_display.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ html {
6262
border-left: none;
6363
}
6464
.teams {
65-
width: 60px;
65+
width: 70px;
6666
height: 100%;
6767
display: none;
6868
flex-direction: column;

static/css/field_monitor_display.css

+3-3
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ body {
5555
display: none;
5656
}
5757
.left-position, .right-position {
58-
width: 8%;
58+
width: 6%;
5959
height: 100%;
6060
font-size: 6vw;
6161
}
@@ -69,7 +69,7 @@ body {
6969
display: none;
7070
}
7171
.team {
72-
width: 42%;
72+
width: 44%;
7373
height: 100%;
7474
background-color: #333;
7575
display: flex;
@@ -78,7 +78,7 @@ body {
7878
.team-id {
7979
width: 100%;
8080
height: 80%;
81-
font-size: 13vw;
81+
font-size: 12vw;
8282
}
8383
.team-id[data-fta="true"] {
8484
height: 40%;

static/css/queueing_display.css

+4-1
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,13 @@ body {
6262
}
6363
.alliance-container {
6464
display: flex;
65-
height: 192px;
65+
height: 144px;
6666
justify-content: space-between;
6767
align-items: center;
6868
}
69+
.alliance-tall {
70+
height: 192px;
71+
}
6972
.alliance-number {
7073
width: 40px;
7174
height: 40px;

static/css/wall_display.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ html {
6262
border-left: none;
6363
}
6464
.teams {
65-
width: 60px;
65+
width: 70px;
6666
height: 100%;
6767
display: none;
6868
flex-direction: column;

templates/bracket.svg

+9-9
Loading

templates/queueing_display_match_load.html

+6-6
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,15 @@ <h1 class="mt-2">{{$match.Time.Local.Format "3:04 PM"}}</h1>
4242
<div class="col-lg-2 red-teams">
4343
{{if $match.Red1}}
4444
<div class="row">
45-
<div class="col-lg-7">
45+
<div class="col-lg-8">
4646
{{$match.Red1}}<br />{{$match.Red2}}<br />{{$match.Red3}}
4747
{{range $team := (index $.RedOffFieldTeams $i) }}
4848
<br />{{$team}}
4949
{{end}}
5050
</div>
51-
<div class="col-lg-5">
51+
<div class="col-lg-4">
5252
{{if $match.PlayoffRedAlliance}}
53-
<div class="alliance-container">
53+
<div class="alliance-container{{if (index $.RedOffFieldTeams $i)}} alliance-tall{{end}}">
5454
<div class="alliance-number">{{$match.PlayoffRedAlliance}}</div>
5555
</div>
5656
{{end}}
@@ -61,15 +61,15 @@ <h1 class="mt-2">{{$match.Time.Local.Format "3:04 PM"}}</h1>
6161
<div class="col-lg-2 blue-teams text-end">
6262
{{if $match.Blue1}}
6363
<div class="row">
64-
<div class="col-lg-5">
64+
<div class="col-lg-4">
6565
{{if $match.PlayoffBlueAlliance}}
66-
<div class="alliance-container">
66+
<div class="alliance-container{{if (index $.BlueOffFieldTeams $i)}} alliance-tall{{end}}">
6767
<div></div>
6868
<div class="alliance-number">{{$match.PlayoffBlueAlliance}}</div>
6969
</div>
7070
{{end}}
7171
</div>
72-
<div class="col-lg-7">
72+
<div class="col-lg-8">
7373
{{$match.Blue1}}<br />{{$match.Blue2}}<br />{{$match.Blue3}}
7474
{{range $team := (index $.BlueOffFieldTeams $i) }}
7575
<br />{{$team}}

0 commit comments

Comments
 (0)