Penalties work

This commit is contained in:
Neale Pickett 2012-09-17 08:01:45 -06:00
parent 0a062969e6
commit 2599817b6d
3 changed files with 17 additions and 30 deletions

View File

@ -22,38 +22,23 @@
<meta charset="utf-8"> <meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="res/scoreboard.css"> <link rel="stylesheet" type="text/css" href="res/scoreboard.css">
<style type="text/css"> <style type="text/css">
#scoreboard { #jam {
font-size: 75%; bottom: auto;
top: 2em;
} }
#score-a, #score-b {
top: 2.1em;
}
#jamtext { #jamtext {
top: 2.8em; bottom: auto;
bottom: inherit; top: 1.5em;
} }
#jamno { #jamno {
top: 5em; bottom: auto;
bottom: inherit;
}
#jam, #jammer-a, #jammer-b {
top: 3em; top: 3em;
bottom: inherit;
} }
#jammer-a { .timeouts {
left: 1.2em; margin: 0em 6em;
} }
#jammer-b { .jammer {
right: 1.2em; margin: 0em 3em;
}
#timeouts-a, #timeouts-b {
top: 7em;
}
#notice div {
bottom: 0.2em;
} }
/* /*
@ -103,6 +88,9 @@
<script type="text/javascript" src="logos/logos.js"></script> <script type="text/javascript" src="logos/logos.js"></script>
<script type="text/javascript" src="res/scoreboard.js"></script> <script type="text/javascript" src="res/scoreboard.js"></script>
<script type="text/javascript" src="res/penalties.js"></script> <script type="text/javascript" src="res/penalties.js"></script>
<script type="text/javascript">
tenths = true;
</script>
</head> </head>
<body> <body>
<div id="scoreboard"> <div id="scoreboard">
@ -115,7 +103,6 @@
<p class="center"> <p class="center">
<span id="period" onclick="handle(event);">--:--</span> <span id="period" onclick="handle(event);">--:--</span>
<span id="periodtext" onclick="handle(event);"></span>
<span id="jam" onclick="handle(event);">-:--.-</span> <span id="jam" onclick="handle(event);">-:--.-</span>
<span id="jamtext" onclick="handle(event);"></span> <span id="jamtext" onclick="handle(event);"></span>
<span id="jamno" onclick="handle(event);">0</span> <span id="jamno" onclick="handle(event);">0</span>

BIN
res/Magenta.woff Normal file

Binary file not shown.

View File

@ -50,12 +50,12 @@ body {
right: 0; right: 0;
} }
#logo-a, #logo-b { .logo {
max-width: 1.8em; max-width: 1.8em;
max-height: 2em; max-height: 2em;
} }
#timeouts-a, #timeouts-b { .timeouts {
position: absolute; position: absolute;
font-size: 50%; font-size: 50%;
bottom: 1em; bottom: 1em;
@ -69,7 +69,7 @@ body {
} }
/* Jammer indicators */ /* Jammer indicators */
#jammer-a, #jammer-b { .jammer {
font-family: monospace; font-family: monospace;
position: absolute; position: absolute;
bottom: 0em; bottom: 0em;
@ -127,7 +127,7 @@ body {
} }
#score-a, #score-b { .score {
position: absolute; position: absolute;
font-size: 1.2em; font-size: 1.2em;
top: 50%; top: 50%;