mirror of https://github.com/dirtbags/moth.git
Setup mkpuzzles to ignore summary.txt puzzle files.
This commit is contained in:
parent
f6a28a3a95
commit
98f50c3633
|
@ -21,6 +21,9 @@ for cat in os.listdir(opts.puzzles):
|
||||||
dirname = os.path.join(opts.puzzles, cat)
|
dirname = os.path.join(opts.puzzles, cat)
|
||||||
for points in os.listdir(dirname):
|
for points in os.listdir(dirname):
|
||||||
pointsdir = os.path.join(dirname, points)
|
pointsdir = os.path.join(dirname, points)
|
||||||
|
if not os.path.isdir(pointsdir):
|
||||||
|
continue
|
||||||
|
|
||||||
outdir = os.path.join(opts.htmldir, cat, points)
|
outdir = os.path.join(opts.htmldir, cat, points)
|
||||||
try:
|
try:
|
||||||
os.makedirs(outdir)
|
os.makedirs(outdir)
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
../1/,binary.png
|
|
Before Width: | Height: | Size: 16 B After Width: | Height: | Size: 626 B |
Binary file not shown.
Before Width: | Height: | Size: 16 B After Width: | Height: | Size: 626 B |
|
@ -1 +0,0 @@
|
||||||
../1/,ctf.css
|
|
|
@ -0,0 +1,54 @@
|
||||||
|
html,body {
|
||||||
|
height: 100%;
|
||||||
|
min-height: 100%;
|
||||||
|
background-color: #000000;
|
||||||
|
background-image: url(",binary.png");
|
||||||
|
background-repeat: repeat-x repeat-y;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#wrapper {
|
||||||
|
min-height: 100%;
|
||||||
|
height: 100%;
|
||||||
|
width: 800px;
|
||||||
|
margin: 0 auto;
|
||||||
|
border-left: 2px solid #009900;
|
||||||
|
border-right: 2px solid #009900;
|
||||||
|
font: .9em monospace;
|
||||||
|
color: #009900;
|
||||||
|
padding: 0;
|
||||||
|
background: #000;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content {
|
||||||
|
padding: 2em 1.5em 2em 1.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
#footer {
|
||||||
|
padding: 0;
|
||||||
|
margin: 0;
|
||||||
|
height: 2em;
|
||||||
|
line-height: 2em;
|
||||||
|
width: 800px;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
input {
|
||||||
|
background-color: #222;
|
||||||
|
color: #fff;
|
||||||
|
border: 1px solid #009900;
|
||||||
|
padding: 1px 2px 1px 2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1,h2,h3,h4 {
|
||||||
|
padding-bottom: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.vertsep {
|
||||||
|
width: 100%;
|
||||||
|
height: 1px;
|
||||||
|
padding: 0;
|
||||||
|
margin: 2em auto 2em auto;
|
||||||
|
border-bottom: 1px dotted #222;
|
||||||
|
}
|
Loading…
Reference in New Issue