From 9d815cc10b11f1378c3dfedb0486e51103d06a09 Mon Sep 17 00:00:00 2001 From: Neale Pickett Date: Thu, 24 May 2012 16:27:24 -0600 Subject: [PATCH] add p2 static html --- packages/p2/www/credits.html | 51 ++++++++++ packages/p2/www/ctf.css | 174 +++++++++++++++++++++++++++++++++++ packages/p2/www/index.html | 31 +++++++ packages/p2/www/scoring.html | 46 +++++++++ 4 files changed, 302 insertions(+) create mode 100644 packages/p2/www/credits.html create mode 100644 packages/p2/www/ctf.css create mode 100644 packages/p2/www/index.html create mode 100644 packages/p2/www/scoring.html diff --git a/packages/p2/www/credits.html b/packages/p2/www/credits.html new file mode 100644 index 0000000..280f2ff --- /dev/null +++ b/packages/p2/www/credits.html @@ -0,0 +1,51 @@ + + + + The Credits + + + +

Credits

+ +

Dirtbags Capture the Flag is brought to you by:

+ + + +

And by:

+ + +

Parts of this contest were inspired by:

+ + +

Lastly, this contest would not exist were it not for hundreds of + thousands of lines of code from free software authors around the + world, including:

+ + + diff --git a/packages/p2/www/ctf.css b/packages/p2/www/ctf.css new file mode 100644 index 0000000..08e8ec1 --- /dev/null +++ b/packages/p2/www/ctf.css @@ -0,0 +1,174 @@ +/* green phosphor: #2a4 */ + +/**** Color Scheme ****/ +html { + background: #112 url(smoke.jpg) no-repeat; + background-size: contain; +} + +body, h1:first-child:before { + color: #ddc; +} + +h1, h2, h3 { + color: #1dd; +} + +a { + color: #f80; +} + +a:hover { + color: #112; + background-color: #f80; +} + +.readme, pre { + background-color: #333; +} + +/**** document ****/ + +body { + font-family: sans-serif; + padding: 10px; + max-width: 700px; +} + +/**** heading ****/ + +h1:first-child { + text-transform: lowercase; + font-size: 1.6em; + padding: 3px; + margin: 0 0 1em 70px; +} + +h1:first-child:before { + letter-spacing: -0.1em; + content: "P2: "; +} + +/**** body ****/ + +a img { + border: 0px; +} + +a { + text-decoration: underline; +} + +h1, h2, h3 { + letter-spacing: -0.05em; +} + +.readme { + margin: 1em; +} + +pre { + border: solid #ddc 2px; + padding: 0.25em; +} + + +th { + vertical-align: top; + text-align: center; +} +td { + vertical-align: top; + text-align: left; +} + +dt { + font-weight: bold; +} + +p { + line-height: 1.4em; + margin-bottom: 20px; +} + +hr { + border: 1px solid #ddc; +} + + + +/*** navigation bar ***/ + +nav h2 { + display: none; +} + +nav ul { + list-style: none; + text-align: center; +} + +nav li { + display: inline; +} + +nav li a { + text-transform: lowercase; + font-size: 0.9em; +} + +nav li + li:before { + content: " | "; +} + +/**** special cases ****/ + +.wide { + max-width: inherit; +} + +.figure { + margin: 0.5em 1em; + float: right; + font-size: small; + text-align: center; +} + +/* P2 stuff */ +#puzzler { + /* The puzzler form is not used in Project 2 */ + display: none; +} + +/* 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; +} + +.solved { + text-decoration: line-through; +} diff --git a/packages/p2/www/index.html b/packages/p2/www/index.html new file mode 100644 index 0000000..9785442 --- /dev/null +++ b/packages/p2/www/index.html @@ -0,0 +1,31 @@ + + + + Welcome + + + +

Welcome

+ +

Important Links

+ + +

+ This event would not be possible without the help of many people. + Thank you, people. +

+ + diff --git a/packages/p2/www/scoring.html b/packages/p2/www/scoring.html new file mode 100644 index 0000000..e1bfbae --- /dev/null +++ b/packages/p2/www/scoring.html @@ -0,0 +1,46 @@ + + + + About scoring + + + + +

About scoring

+

+ The contest is made up of multiple categories. Each category is + worth one point toward the total score; the percentage of the + total points held by your team is the percentage of one point your + team has for that category. +

+ +

+ Categories are in the form of + multiple puzzles: for each puzzle presented, a + case-sensitive answer must be found to receive the amount of + points that puzzle is worth. Any team may answer any puzzle + question at any time. A new puzzle is revealed when a team + correctly answers the highest-valued puzzle in that category. +

+ + +

About time

+

+ Many Capture The Flag contests attempt to reward teams who answer + quickly, by adding a "quick answer" bonus or by decaying point + values over time. Our contest doesn't work this way. +

+

+ We want to focus on rewarding technical proficiency, allowing + skilled contestants to prove their worth independent of their + ability to hit F5 quickly. It is our hope that by providing + enough things to work on, quick-moving teams will emerge with more + points by solving lots of puzzles, while novice teams get a solid + benchmark against which to judge their technical skill level: you + don't have to make allowances for reaction time in comparing + scores. In addition, when the game infrastructure goes down—which + seems to happen a lot in anybody's CTF—there's no losing points + while the organizers struggle to get things back up. +

+ +