diff --git a/pep2html.py b/pep2html.py index aaf7c6510..24b21cf59 100755 --- a/pep2html.py +++ b/pep2html.py @@ -59,19 +59,24 @@ def fixfile(infile, outfile): if pep: title = "PEP " + pep + " -- " + title if title: - fo.write(" %s\n" % cgi.escape(title)) + fo.write(" %s\n" + ' \n' + % cgi.escape(title)) fo.write("\n") # body - fo.write('\n') - fo.write('[home]\n') + fo.write('\n' + '\n
\n" + "
")
     while 1:
         line = fi.readline()
         if not line:
@@ -110,7 +115,7 @@ def main():
         raise "Syntax: "+sys.argv[0]+" [-n] [sf_username]"
 
     if update:
-        os.system("scp pep-*.html " + username + HOST + ":" + HDIR)
+        os.system("scp pep-*.html style.css " + username + HOST + ":" + HDIR)
         os.system("ssh " + username + HOST + " chmod 664 " + HDIR + "/*")
 
 
diff --git a/style.css b/style.css
new file mode 100644
index 000000000..c2c8beaf8
--- /dev/null
+++ b/style.css
@@ -0,0 +1,7 @@
+.navigation { background: #99ccff;
+              border: thin solid #ffffff;
+              width: 100%;
+              padding: 4pt;
+              }
+
+.header th:after { content: "  " }