Refined alliance station display.

This commit is contained in:
Patrick Fairbank
2014-08-08 12:39:08 -07:00
parent 35d6cc7e47
commit 6f2d3f0364
9 changed files with 247 additions and 65 deletions

View File

@@ -8,28 +8,60 @@ body {
background-color: #000;
font-family: "FuturaLTBold";
}
#match {
position: absolute;
width: 100%;
height: 100%;
}
#displayId {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
margin: auto auto;
height: 1px;
line-height: 1px;
text-align: center;
color: #ff0;
font-size: 500px;
}
#teamId {
position: absolute;
top: 7%;
left: 0;
right: 0;
margin: 0 auto;
font-size: 500px;
line-height: 500px;
text-align: center;
margin: 50px 0px;
color: #fff;
}
#teamName {
position: absolute;
bottom: 0;
left: 0;
right: 0;
margin: 0 auto;
height: 200px;
line-height: 200px;
text-align: center;
font-family: "FuturaLT";
font-size: 120px;
}
[data-alliance=R] {
color: #f00;
}
[data-alliance=B] {
color: #00f;
}
.match-info {
color: #fff;
}
#matchInfo {
position: absolute;
bottom: 0;
left: 0;
right: 0;
margin: 0 auto;
height: 200px;
line-height: 200px;
text-align: center;
font-size: 190px;
color: #fff;
}
#redScore {
color: #f00;
@@ -37,3 +69,21 @@ body {
#blueScore {
color: #00f;
}
#logo {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
width: 90%;
margin: auto auto;
}
[data-alliance=R], [data-status=R] {
background-color: #f00;
}
[data-alliance=B], [data-status=B] {
background-color: #00f;
}
[data-status=bypass] {
background-color: #999;
}