woozle-scoreboard/res/scoreboard.css

238 lines
2.8 KiB
CSS
Raw Normal View History

2011-11-17 17:53:49 -07:00
@font-face {
2014-02-14 22:17:37 -07:00
font-family: 'Ubuntu';
src: url('Ubuntu-Medium.ttf');
font-weight: normal;
font-style: normal;
2011-11-17 17:53:49 -07:00
}
2012-07-06 21:38:52 -06:00
2012-07-06 18:30:37 -06:00
@font-face {
2014-02-14 22:17:37 -07:00
font-family: 'Ubuntu';
src: url('Ubuntu-Bold.ttf');
font-weight: bold;
font-style: normal;
2012-07-06 18:30:37 -06:00
}
2012-07-06 23:45:03 -06:00
body {
2014-02-14 22:17:37 -07:00
background: url(bg.jpg) #222;
background-size: 100% auto;
font-size: 160px;
color: #eee;
margin: 0;
2012-07-06 23:45:03 -06:00
}
2014-01-19 18:25:38 -07:00
input {
font: inherit;
}
input[readonly] {
color: inherit;
background: inherit;
border: inherit;
}
2011-12-08 13:20:30 -07:00
#scoreboard {
2014-02-14 22:17:37 -07:00
cursor: default;
font-family: Ubuntu, sans-serif;
2011-11-17 17:53:49 -07:00
}
#scoreboard p {
2014-02-14 22:17:37 -07:00
margin: 0;
2011-11-17 17:53:49 -07:00
}
2012-03-11 21:31:55 -06:00
#scoreboard *[id] {
2014-02-14 22:17:37 -07:00
cursor: pointer;
user-select: none;
2012-03-11 21:31:55 -06:00
}
2012-07-06 18:30:37 -06:00
2012-07-16 23:05:04 -06:00
.left, .right {
2014-02-14 22:17:37 -07:00
width: 2em;
height: 100%;
text-align: center;
position: absolute;
top: 0;
2011-11-17 17:53:49 -07:00
}
2012-07-16 23:05:04 -06:00
.left {
2014-02-14 22:17:37 -07:00
left: 0;
2012-07-06 18:30:37 -06:00
}
2012-07-16 23:05:04 -06:00
.right {
2014-02-14 22:17:37 -07:00
right: 0;
2011-11-17 17:53:49 -07:00
}
2012-07-16 23:05:04 -06:00
.center {
text-align: center;
}
2014-02-15 11:32:00 -07:00
.logo {
text-align: center;
}
2014-02-14 22:17:37 -07:00
.logo img {
max-width: 1.8em;
max-height: 2em;
2014-02-15 11:32:00 -07:00
display: none;
2014-02-14 22:17:37 -07:00
}
.logo input {
2014-02-15 11:32:00 -07:00
top: 30%;
2014-02-14 22:17:37 -07:00
font-size: 10pt;
2014-02-15 11:32:00 -07:00
vertical-align: top;
max-height: 15pt;
border: none;
2014-02-14 22:17:37 -07:00
}
2014-02-15 11:32:00 -07:00
.setup {
background: rgba(0, 255,0, 0.3);
2012-07-15 10:35:53 -06:00
}
2012-07-06 18:30:37 -06:00
2014-02-15 11:32:00 -07:00
2012-09-17 08:01:45 -06:00
.timeouts {
2014-02-14 22:17:37 -07:00
position: absolute;
font-size: 50%;
bottom: 1em;
color: #0f0;
2011-12-06 22:39:54 -07:00
}
2012-07-06 18:30:37 -06:00
#timeouts-a {
2014-02-14 22:17:37 -07:00
left: 0em;
2011-12-06 22:39:54 -07:00
}
2012-07-06 18:30:37 -06:00
#timeouts-b {
2014-02-14 22:17:37 -07:00
right: 0em;
2011-12-06 22:39:54 -07:00
}
2011-12-08 13:20:30 -07:00
2012-07-06 18:30:37 -06:00
/* Jammer indicators */
2012-11-10 20:23:06 -07:00
#jammer-a, #jammer-b {
2014-02-14 22:17:37 -07:00
font-family: monospace;
position: absolute;
bottom: 0em;
color: #444;
2011-12-08 13:20:30 -07:00
}
2012-07-06 18:30:37 -06:00
#jammer-a.lead, #jammer-b.lead, #jamtext, #periodtext {
2014-02-14 22:17:37 -07:00
color: yellow;
2011-12-08 13:20:30 -07:00
}
2012-07-06 18:30:37 -06:00
#jammer-a {
2014-02-14 22:17:37 -07:00
left: 0.5em;
2012-07-06 18:30:37 -06:00
}
#jammer-b {
2014-02-14 22:17:37 -07:00
right: 0.5em;
2012-07-06 18:30:37 -06:00
}
2011-12-08 13:20:30 -07:00
2011-11-17 17:53:49 -07:00
#jam, #period {
2014-02-14 22:17:37 -07:00
text-align: center;
font-weight: bold;
background: #000;
border-radius: 15px;
2012-07-06 18:30:37 -06:00
}
#period {
2014-02-14 22:17:37 -07:00
position: absolute;
top: 0;
left: 50%;
width: 3.4em;
margin-left: -1.7em;
2011-11-17 17:53:49 -07:00
}
2012-07-06 18:30:37 -06:00
#jam {
2014-02-14 22:17:37 -07:00
position: absolute;
bottom: 0em;
left: 50%;
width: 3.5em;
margin-left: -1.75em;
2011-11-17 17:53:49 -07:00
}
2012-07-06 18:30:37 -06:00
2014-01-19 18:25:38 -07:00
#jamtext, #periodtext, #preset {
2014-02-14 22:17:37 -07:00
text-align: center;
font-family: Ubuntu, sans-serif;
font-size: 75%;
2012-07-06 18:30:37 -06:00
2014-02-14 22:17:37 -07:00
padding: 0.2em;
position: absolute;
left: 50%;
width: 5em;
margin-left: -2.7em;
z-index: -1;
2011-11-17 17:53:49 -07:00
}
2012-07-06 18:30:37 -06:00
#periodtext {
2014-02-14 22:17:37 -07:00
top: 1.4em;
2011-11-17 17:53:49 -07:00
}
2012-07-06 18:30:37 -06:00
2014-01-19 18:25:38 -07:00
#preset {
top: 40%;
}
2012-07-06 18:30:37 -06:00
#jamtext {
2014-02-14 22:17:37 -07:00
bottom: 1.4em;
2011-12-12 19:36:09 -07:00
}
#advert {
2013-06-08 12:43:45 -06:00
margin-top: 2.2em;
max-height: 1em;
max-width: 5em;
}
2011-12-12 19:36:09 -07:00
2012-09-17 08:01:45 -06:00
.score {
2014-02-14 22:17:37 -07:00
position: absolute;
font-size: 1.2em;
top: 50%;
margin-top: -0.6em;
2011-12-12 19:36:09 -07:00
}
2012-07-06 18:30:37 -06:00
#score-a {
2014-02-14 22:17:37 -07:00
left: 0em;
2011-12-12 19:36:09 -07:00
}
2012-07-06 18:30:37 -06:00
#score-b {
2014-02-14 22:17:37 -07:00
right: 0em;
2011-12-12 19:36:09 -07:00
}
2012-07-06 18:30:37 -06:00
#jamno {
2014-02-14 22:17:37 -07:00
color: #0f0;
position: absolute;
font-size: 50%;
bottom: 2.2em;
right: 25%;
2011-12-12 19:36:09 -07:00
}
2012-07-06 18:30:37 -06:00
/*
2012-11-10 20:23:06 -07:00
* States timers can be in
2012-07-06 18:30:37 -06:00
*/
#jam.paused, #period.paused {
2014-02-14 22:17:37 -07:00
color: #aaf;
2011-12-12 19:36:09 -07:00
}
2012-07-06 18:30:37 -06:00
#jam.lowtime, #period.lowtime {
2014-02-14 22:17:37 -07:00
background: #f24;
2011-12-12 19:36:09 -07:00
}
2012-07-06 18:30:37 -06:00
#jam.timeout {
2014-02-14 22:17:37 -07:00
background: #044;
2011-12-12 19:36:09 -07:00
}
2012-07-06 18:30:37 -06:00
#jam.lineup {
2014-02-14 22:17:37 -07:00
background: #060;
2011-12-12 19:36:09 -07:00
}
2014-01-18 21:53:52 -07:00
#close, #prefs {
position: absolute;
top: 0;
right: 0;
height: 16px;
width: 16px;
opacity: 0.5;
}
#prefs {
top: inherit;
bottom: 0;
}
/*
* Notices
*/
2012-11-10 20:23:06 -07:00
#notice {
2014-01-19 18:25:38 -07:00
display: none;
position: absolute;
bottom: 1.3em;
left: 50%;
width: 4em;
2012-11-10 20:23:06 -07:00
height: 3em;
2014-01-19 18:25:38 -07:00
margin-left: -2em;
text-align: center;
2012-11-10 20:23:06 -07:00
}
2014-01-19 18:25:38 -07:00
#notice img {
2012-11-10 20:23:06 -07:00
height: 100%;
2014-01-19 18:25:38 -07:00
}