woozle-scoreboard/scoreboard.css

198 lines
3.2 KiB
CSS
Raw Normal View History

/* IE can't handle key events anyway, so screw it,
we're just keeping one copy around. */
2011-11-17 17:53:49 -07:00
@font-face {
2012-07-06 21:38:52 -06:00
font-family: 'ComunicacionDigitalMedium';
src: url('comunicacion-webfont.ttf') format('truetype');
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-07-06 21:38:52 -06:00
font-family: 'MostWaztedRegular';
src: url('mostwasted-webfont.eot');
src: url('mostwasted-webfont.eot?#iefix') format('embedded-opentype'),
url('mostwasted-webfont.woff') format('woff'),
url('mostwasted-webfont.ttf') format('truetype'),
url('mostwasted-webfont.svg#MostWaztedRegular') format('svg');
font-weight: normal;
font-style: normal;
2012-07-06 18:30:37 -06:00
}
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
#name-a, #name-b {
display: none;
2011-11-17 17:53:49 -07:00
}
2012-07-06 18:30:37 -06:00
#logo-a, #logo-b {
position: absolute;
top: 0;
max-width: 1.8em;
2011-11-17 17:53:49 -07:00
max-height: 2em;
}
2012-07-06 18:30:37 -06:00
#logo-a {
left: 0;
}
#logo-b {
right: 0;
2011-11-17 17:53:49 -07:00
}
2012-07-06 18:30:37 -06:00
2011-12-06 22:39:54 -07:00
#timeouts-a, #timeouts-b {
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 */
2011-12-08 13:20:30 -07:00
#jammer-a, #jammer-b {
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%;
width: 4em;
margin-left: -2em;
2011-11-17 17:53:49 -07:00
}
2012-07-06 18:30:37 -06:00
#jamtext, #periodtext {
text-align: center;
2012-07-06 21:38:52 -06:00
font-family: MostWaztedRegular, sans-serif;
2012-07-06 18:30:37 -06:00
font-weight: normal;
font-size: 75%;
position: absolute;
left: 50%;
width: 4em;
margin-left: -2em;
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
#jamtext {
bottom: 1.4em;
2011-12-12 19:36:09 -07:00
}
2012-07-06 18:30:37 -06:00
#score-a, #score-b {
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;
left: 50%;
margin-left: 3em;
2011-12-12 19:36:09 -07:00
}
2012-07-06 18:30:37 -06:00
/*
* States timers can be in
*/
#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
}
/*
* Notices
*/
#notice div {
display: none;
2012-07-06 18:30:37 -06:00
2012-07-06 21:38:52 -06:00
font-family: ComunicacionDigitalMedium, sans-serif;
2012-07-06 18:30:37 -06:00
font-weight: normal;
text-align: center;
line-height: 1.1em;
opacity: 0.9;
position: absolute;
bottom: 1.8em;
left: 50%;
width: 3em;
margin-left: -1.5em;
}
#notice .active {
2012-07-06 18:30:37 -06:00
display: inherit;
-moz-animation-duration: 0.5s;
-moz-animation-name: grow;
-moz-animation-iteration-count: infinite;
-moz-animation-direction: alternate;
}
@-moz-keyframes grow {
0% {color: red;}
50% {color: yellow;}
75% {color: blue;}
100% {color: magenta;}
}
2012-07-06 18:30:37 -06:00