mirror of https://github.com/dirtbags/moth.git
add p2 static html
This commit is contained in:
parent
46a0d03cc2
commit
9d815cc10b
|
@ -0,0 +1,51 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>The Credits</title>
|
||||||
|
<link rel="stylesheet" href="ctf.css" type="text/css">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<h1>Credits</h1>
|
||||||
|
|
||||||
|
<p>Dirtbags Capture the Flag is brought to you by:</p>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>The number C</li>
|
||||||
|
<li>The letters ع and ֆ</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<p>And by:</p>
|
||||||
|
<ul>
|
||||||
|
<li>Alex Brugh</li>
|
||||||
|
<li>Paul Ferrell</li>
|
||||||
|
<li>Jeremy Scott</li>
|
||||||
|
<li>Danny Quist</li>
|
||||||
|
<li>Adam Glasgall</li>
|
||||||
|
<li>Curtis Hash</li>
|
||||||
|
<li>Aaron McPhall</li>
|
||||||
|
<li>Patrick Avery</li>
|
||||||
|
<li>Erin Ochoa</li>
|
||||||
|
<li>William Phillips</li>
|
||||||
|
<li>Should your name be here? Please remind me!</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<p>Parts of this contest were inspired by:</p>
|
||||||
|
<ul>
|
||||||
|
<li>DC949</li>
|
||||||
|
<li>Tube Warriors</li>
|
||||||
|
<li>Bad people from around the world (screw you guys, seriously)</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<p>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:</p>
|
||||||
|
<ul>
|
||||||
|
<li>Busybox and Buildroot</li>
|
||||||
|
<li>the Linux kernel</li>
|
||||||
|
<li>dnsmasq</li>
|
||||||
|
<li>fnord httpd</li>
|
||||||
|
<li>ngircd</li>
|
||||||
|
<li>lua</li>
|
||||||
|
</ul>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -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;
|
||||||
|
}
|
|
@ -0,0 +1,31 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>Welcome</title>
|
||||||
|
<link rel="stylesheet" href="ctf.css" type="text/css">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<h1>Welcome</h1>
|
||||||
|
|
||||||
|
<h2>Important Links</h2>
|
||||||
|
<ul>
|
||||||
|
<li>
|
||||||
|
<a href="scoreboard.html">Scoreboard</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="puzzles.html">Puzzles</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="news.html">News</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="scoring.html">About scoring</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
This event would not be possible without the help of many people.
|
||||||
|
<a href="credits.html">Thank you, people</a>.
|
||||||
|
</p>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,46 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>About scoring</title>
|
||||||
|
<link rel="stylesheet" href="ctf.css" type="text/css">
|
||||||
|
<meta charset="utf-8">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<h1>About scoring</h1>
|
||||||
|
<p>
|
||||||
|
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.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
Categories are in the form of
|
||||||
|
multiple <em>puzzles</em>: 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.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
|
||||||
|
<h2>About time</h2>
|
||||||
|
<p>
|
||||||
|
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.
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
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.
|
||||||
|
</p>
|
||||||
|
</body>
|
||||||
|
</html>
|
Loading…
Reference in New Issue