238 lines
2.8 KiB
CSS
238 lines
2.8 KiB
CSS
@font-face {
|
|
font-family: 'Ubuntu';
|
|
src: url('Ubuntu-Medium.ttf');
|
|
font-weight: normal;
|
|
font-style: normal;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'Ubuntu';
|
|
src: url('Ubuntu-Bold.ttf');
|
|
font-weight: bold;
|
|
font-style: normal;
|
|
}
|
|
|
|
body {
|
|
background: url(bg.jpg) #222;
|
|
background-size: 100% auto;
|
|
font-size: 160px;
|
|
color: #eee;
|
|
margin: 0;
|
|
}
|
|
|
|
input {
|
|
font: inherit;
|
|
}
|
|
|
|
input[readonly] {
|
|
color: inherit;
|
|
background: inherit;
|
|
border: inherit;
|
|
}
|
|
|
|
#scoreboard {
|
|
cursor: default;
|
|
font-family: Ubuntu, sans-serif;
|
|
}
|
|
#scoreboard p {
|
|
margin: 0;
|
|
}
|
|
#scoreboard *[id] {
|
|
cursor: pointer;
|
|
user-select: none;
|
|
}
|
|
|
|
.team {
|
|
width: 2em;
|
|
height: 100%;
|
|
text-align: center;
|
|
position: absolute;
|
|
top: 0;
|
|
}
|
|
|
|
#team-a {
|
|
left: 0;
|
|
}
|
|
#team-b {
|
|
right: 0;
|
|
}
|
|
|
|
#clocks {
|
|
text-align: center;
|
|
}
|
|
|
|
.logo {
|
|
text-align: center;
|
|
}
|
|
|
|
.logo img {
|
|
max-width: 1.8em;
|
|
max-height: 2em;
|
|
display: none;
|
|
}
|
|
|
|
.logo input {
|
|
top: 30%;
|
|
font-size: 10pt;
|
|
vertical-align: top;
|
|
max-height: 15pt;
|
|
border: none;
|
|
}
|
|
|
|
.setup {
|
|
background: rgba(0, 255,0, 0.3);
|
|
}
|
|
|
|
|
|
.timeouts {
|
|
position: absolute;
|
|
font-size: 50%;
|
|
bottom: 1em;
|
|
color: #0f0;
|
|
}
|
|
#timeouts-a {
|
|
left: 0em;
|
|
}
|
|
#timeouts-b {
|
|
right: 0em;
|
|
}
|
|
|
|
/* Jammer indicators */
|
|
#jammer-a, #jammer-b {
|
|
font-family: monospace;
|
|
position: absolute;
|
|
bottom: 0em;
|
|
color: #444;
|
|
}
|
|
#jammer-a.lead, #jammer-b.lead, #jamtext, #periodtext {
|
|
color: yellow;
|
|
}
|
|
#jammer-a {
|
|
left: 0.5em;
|
|
}
|
|
#jammer-b {
|
|
right: 0.5em;
|
|
}
|
|
|
|
#jam, #period {
|
|
text-align: center;
|
|
font-weight: bold;
|
|
background: #000;
|
|
border-radius: 15px;
|
|
}
|
|
#period {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 50%;
|
|
width: 3.4em;
|
|
margin-left: -1.7em;
|
|
}
|
|
|
|
#jam {
|
|
position: absolute;
|
|
bottom: 0em;
|
|
left: 50%;
|
|
width: 3.5em;
|
|
margin-left: -1.75em;
|
|
}
|
|
|
|
#jamtext, #periodtext, #preset {
|
|
text-align: center;
|
|
font-family: Ubuntu, sans-serif;
|
|
font-size: 75%;
|
|
|
|
padding: 0.2em;
|
|
position: absolute;
|
|
left: 50%;
|
|
width: 5em;
|
|
margin-left: -2.7em;
|
|
z-index: -1;
|
|
}
|
|
|
|
#periodtext {
|
|
top: 1.4em;
|
|
}
|
|
|
|
#preset {
|
|
top: 40%;
|
|
}
|
|
|
|
#jamtext {
|
|
bottom: 1.4em;
|
|
}
|
|
|
|
#advert {
|
|
margin-top: 2.2em;
|
|
max-height: 1em;
|
|
max-width: 5em;
|
|
}
|
|
|
|
.score {
|
|
position: absolute;
|
|
font-size: 1.2em;
|
|
top: 50%;
|
|
margin-top: -0.6em;
|
|
}
|
|
#score-a {
|
|
left: 0em;
|
|
}
|
|
#score-b {
|
|
right: 0em;
|
|
}
|
|
|
|
#jamno {
|
|
color: #0f0;
|
|
position: absolute;
|
|
font-size: 50%;
|
|
bottom: 2.2em;
|
|
right: 25%;
|
|
}
|
|
|
|
|
|
/*
|
|
* States timers can be in
|
|
*/
|
|
#jam.paused, #period.paused {
|
|
color: #aaf;
|
|
}
|
|
#jam.lowtime, #period.lowtime {
|
|
background: #f24;
|
|
}
|
|
#jam.timeout {
|
|
background: #044;
|
|
}
|
|
#jam.lineup {
|
|
background: #060;
|
|
}
|
|
|
|
#close, #prefs {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
height: 16px;
|
|
width: 16px;
|
|
opacity: 0.5;
|
|
}
|
|
|
|
#prefs {
|
|
top: inherit;
|
|
bottom: 0;
|
|
}
|
|
|
|
/*
|
|
* Notices
|
|
*/
|
|
#notice {
|
|
display: none;
|
|
position: absolute;
|
|
bottom: 1.3em;
|
|
left: 50%;
|
|
width: 4em;
|
|
height: 3em;
|
|
margin-left: -2em;
|
|
text-align: center;
|
|
}
|
|
|
|
#notice img {
|
|
height: 100%;
|
|
} |