Commits

Juha Komulainen committed 5d9044e

Added stylesheet.

  • Participants
  • Parent commits f4cd94f

Comments (0)

Files changed (3)

 api_version: 1
 
 handlers:
+- url: /stylesheets
+  static_dir: stylesheets
+
 - url: .*
   script: main.py
+<!HTML>
 <html>
+  <head>
+    <title>sgfproc</title>
+    <link rel="stylesheet" type="text/css" href="/stylesheets/default.css">
+  </head>
   <body>
-    <h1>sgf processor</h1>
+    <h1>sgfproc</h1>
     
     <p>Upload SGF-file to get back a version with comments stripped.</p>
 
       <input type="submit" value="Strip comments">
     </form>
     
-    <p>Found bugs or have suggestions? <a href="http://bitbucket.org/komu/sgfproc/issues/new/">Report them!</a></p>
+    <p class="bugs">Found bugs or have suggestions? <a href="http://bitbucket.org/komu/sgfproc/issues/new/">Report them!</a></p>
   </body>
 </html>

stylesheets/default.css

+body {
+  color: black;
+  background: white;
+  margin: 2em 8em;
+}
+
+form {
+  margin: 2em;
+}
+
+p.bugs {
+  margin-top: 2em;
+  color: #444;
+}