mirror of https://github.com/dirtbags/moth.git
tweak scoreboard
This commit is contained in:
parent
b718971b0d
commit
2b33b218e9
|
@ -2,7 +2,7 @@
|
||||||
*#
|
*#
|
||||||
*.pyc
|
*.pyc
|
||||||
*.o
|
*.o
|
||||||
bin/
|
./bin/
|
||||||
build/
|
build/
|
||||||
cache/
|
cache/
|
||||||
target/
|
target/
|
||||||
|
|
|
@ -134,7 +134,7 @@ BEGIN {
|
||||||
|
|
||||||
# Now we can start writing the document
|
# Now we can start writing the document
|
||||||
print "<!DOCTYPE html>"
|
print "<!DOCTYPE html>"
|
||||||
print "<html>"
|
print "<html class=\"scoreboard\">"
|
||||||
print " <head>"
|
print " <head>"
|
||||||
print " <title>Scoreboard</title>"
|
print " <title>Scoreboard</title>"
|
||||||
print " <link rel=\"stylesheet\" href=\"ctf.css\" type=\"text/css\">"
|
print " <link rel=\"stylesheet\" href=\"ctf.css\" type=\"text/css\">"
|
||||||
|
@ -242,8 +242,7 @@ BEGIN {
|
||||||
print " </tr>"
|
print " </tr>"
|
||||||
|
|
||||||
print " </table>"
|
print " </table>"
|
||||||
print " <canvas id=\"chart\" width=\"800\" height=\"300\"></canvas>"
|
print " <canvas id=\"chart\" width=\"1024\" height=\"240\"></canvas>"
|
||||||
print " <p><a href=\"scoring.html\">About scoring</a></p>"
|
|
||||||
print " </body>"
|
print " </body>"
|
||||||
print "</html>"
|
print "</html>"
|
||||||
}
|
}
|
||||||
|
|
|
@ -46,7 +46,7 @@ h1:first-child {
|
||||||
|
|
||||||
h1:first-child:before {
|
h1:first-child:before {
|
||||||
letter-spacing: -0.1em;
|
letter-spacing: -0.1em;
|
||||||
content: "NSM FIRE: ";
|
content: "Tracer FIRE: ";
|
||||||
}
|
}
|
||||||
|
|
||||||
/**** body ****/
|
/**** body ****/
|
||||||
|
@ -134,10 +134,31 @@ nav li + li:before {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
#scoreboard td {
|
/* Scoreboard stuff */
|
||||||
height: 300px;
|
|
||||||
|
.scoreboard, .scoreboard body {
|
||||||
|
height: 100%;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
max-width: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#scoreboard {
|
||||||
|
height: 60%;
|
||||||
|
font-size: 75%;
|
||||||
|
}
|
||||||
|
|
||||||
|
#scoreboard td {
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
#chart {
|
||||||
|
height: 30%;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Tanks stuff */
|
||||||
|
|
||||||
#battlefield {
|
#battlefield {
|
||||||
border: 2px solid green;
|
border: 2px solid green;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue