woozle-scoreboard/res/scoreboard.css

223 lines
2.9 KiB
CSS
Raw Normal View History

2011-11-17 17:53:49 -07:00
@font-face {
2012-09-16 22:32:45 -06:00
font-family: 'Magenta';
src: url('Magenta.woff') format('woff');
2012-07-06 21:38:52 -06:00
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 {
2012-09-16 22:32:45 -06:00
font-family: 'PermanentMarker';
src: url('PermanentMarker.woff') format('woff');
2012-07-06 21:38:52 -06:00
font-weight: normal;
font-style: normal;
2012-07-06 18:30:37 -06:00
}
2012-07-06 23:45:03 -06:00
body {
background: url(bg.jpg) #222;
background-size: 100% auto;
font-size: 160px;
color: #eee;
margin: 0;
}
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 {
2012-03-11 20:47:39 -06:00
cursor: default;
2012-07-06 18:30:37 -06:00
font-family: sans-serif;
font-weight: bold;
2011-11-17 17:53:49 -07:00
}
#scoreboard p {
margin: 0;
}
2012-03-11 21:31:55 -06:00
#scoreboard *[id] {
cursor: pointer;
2012-07-06 18:30:37 -06:00
-moz-user-select: none;
-khtml-user-select: none;
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 {
2012-07-15 10:35:53 -06:00
width: 2em;
2012-07-16 23:05:04 -06:00
height: 100%;
2012-07-15 10:35:53 -06:00
text-align: center;
2012-07-16 23:05:04 -06:00
position: absolute;
top: 0;
2011-11-17 17:53:49 -07:00
}
2012-07-16 23:05:04 -06:00
.left {
2012-07-06 18:30:37 -06:00
left: 0;
}
2012-07-16 23:05:04 -06:00
.right {
2012-07-06 18:30:37 -06:00
right: 0;
2011-11-17 17:53:49 -07:00
}
2012-07-16 23:05:04 -06:00
.center {
text-align: center;
}
2012-09-17 08:01:45 -06:00
.logo {
2012-07-15 10:35:53 -06:00
max-width: 1.8em;
max-height: 2em;
}
2012-07-06 18:30:37 -06:00
2012-09-17 08:01:45 -06:00
.timeouts {
2012-07-06 18:30:37 -06:00
position: absolute;
2011-12-06 22:39:54 -07:00
font-size: 50%;
2012-07-06 18:30:37 -06:00
bottom: 1em;
color: #0f0;
2011-12-06 22:39:54 -07:00
}
2012-07-06 18:30:37 -06:00
#timeouts-a {
left: 0em;
2011-12-06 22:39:54 -07:00
}
2012-07-06 18:30:37 -06:00
#timeouts-b {
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 {
2012-07-16 22:51:42 -06:00
font-family: monospace;
2012-07-06 18:30:37 -06:00
position: absolute;
bottom: 0em;
2011-12-08 13:20:30 -07:00
color: #444;
}
2012-07-06 18:30:37 -06:00
#jammer-a.lead, #jammer-b.lead, #jamtext, #periodtext {
2011-12-08 13:20:30 -07:00
color: yellow;
}
2012-07-06 18:30:37 -06:00
#jammer-a {
left: 0.5em;
}
#jammer-b {
right: 0.5em;
}
2011-12-08 13:20:30 -07:00
2011-11-17 17:53:49 -07:00
#jam, #period {
2012-07-06 18:30:37 -06:00
text-align: center;
2011-11-17 17:53:49 -07:00
background: #000;
border-radius: 15px;
2012-07-06 18:30:37 -06:00
}
#period {
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 {
position: absolute;
bottom: 0em;
left: 50%;
2014-01-19 18:25:38 -07:00
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 {
2012-07-06 18:30:37 -06:00
text-align: center;
2012-09-16 22:32:45 -06:00
font-family: PermanentMarker, sans-serif;
2012-07-06 18:30:37 -06:00
font-weight: normal;
font-size: 75%;
position: absolute;
left: 50%;
2012-09-16 22:32:45 -06:00
width: 5em;
margin-left: -2.5em;
2014-01-19 22:12:16 -07:00
z-index: -1;
2011-11-17 17:53:49 -07:00
}
2012-07-06 18:30:37 -06:00
#periodtext {
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%;
color: cyan;
}
2012-07-06 18:30:37 -06:00
#jamtext {
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 {
2012-07-06 18:30:37 -06: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 {
left: 0em;
2011-12-12 19:36:09 -07:00
}
2012-07-06 18:30:37 -06:00
#score-b {
right: 0em;
2011-12-12 19:36:09 -07:00
}
2012-07-06 18:30:37 -06:00
#jamno {
color: #0f0;
position: absolute;
font-size: 50%;
bottom: 2.2em;
2012-09-16 22:32:45 -06:00
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 {
color: #aaf;
2011-12-12 19:36:09 -07:00
}
2012-07-06 18:30:37 -06:00
#jam.lowtime, #period.lowtime {
background: #f24;
2011-12-12 19:36:09 -07:00
}
2012-07-06 18:30:37 -06:00
#jam.timeout {
background: #044;
2011-12-12 19:36:09 -07:00
}
2012-07-06 18:30:37 -06:00
#jam.lineup {
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
}