From 6c74cc1f8386b57ba7d228455bb15ea99daa6c6e Mon Sep 17 00:00:00 2001 From: Neale Pickett Date: Thu, 2 Feb 2012 16:51:19 -0700 Subject: [PATCH] tweak scoreboard --- .gitignore | 2 +- packages/mcp/bin/scoreboard | 5 ++--- packages/mcp/www/ctf.css | 27 ++++++++++++++++++++++++--- 3 files changed, 27 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index b5feeb5..91424b0 100644 --- a/.gitignore +++ b/.gitignore @@ -2,7 +2,7 @@ *# *.pyc *.o -bin/ +./bin/ build/ cache/ target/ diff --git a/packages/mcp/bin/scoreboard b/packages/mcp/bin/scoreboard index 1f2dac3..ff62e5a 100755 --- a/packages/mcp/bin/scoreboard +++ b/packages/mcp/bin/scoreboard @@ -134,7 +134,7 @@ BEGIN { # Now we can start writing the document print "" - print "" + print "" print " " print " Scoreboard" print " " @@ -242,8 +242,7 @@ BEGIN { print " " print " " - print " " - print "

About scoring

" + print " " print " " print "" } diff --git a/packages/mcp/www/ctf.css b/packages/mcp/www/ctf.css index 0082719..8cfd3db 100644 --- a/packages/mcp/www/ctf.css +++ b/packages/mcp/www/ctf.css @@ -46,7 +46,7 @@ h1:first-child { h1:first-child:before { letter-spacing: -0.1em; - content: "NSM FIRE: "; + content: "Tracer FIRE: "; } /**** body ****/ @@ -134,10 +134,31 @@ nav li + li:before { text-align: center; } -#scoreboard td { - height: 300px; +/* Scoreboard stuff */ + +.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 { border: 2px solid green; }