cowsay-blog

commit 1a5f223a652cbe32cfafa2d2172397d3a9b0b77c

tree

parent:
dab0a6a81ca3f771e41e2caa0cee029eb90bb60a

Nick Mykins <nick.mykins@gmail.com>

2014-11-08T17:02:16-05:00

center individual posts

diff --git a/cowposttemplate.html b/cowposttemplate.html
index eb5fed3e148b3a0b4be2c86606d8bb887ea1bd00..14e13b282646e5a86f09500caa060e515e23c606 100644
--- a/cowposttemplate.html
+++ b/cowposttemplate.html
@@ -3,11 +3,13 @@   <head>
     <title>nick's tilde.farm page</title>
   </head>
   <body>
+  <div class="body_narrow">
     <link rel="stylesheet" type="text/css" href="../style.css">
     <h1>~ nick at tilde dot farm ~</h1>
     <pre>
     <p class=cowdate>{{cowpost.date}}</p>{{cowpost.cowtext}}
     </pre>
     <a href="../index.html">~ home</a>
+  </div>
   </body>
 </html>
diff --git a/public_html/style.css b/public_html/style.css
index 2402e401505155129e5f37229c1cef62a01efc75..ee027fd457fa4aa5dde791ea9f3c21096fbf49f8 100644
--- a/public_html/style.css
+++ b/public_html/style.css
@@ -8,8 +8,17 @@                      DejaVu Sans Mono,
                      Droid Sans Mono,
                      Liberation Mono,
                      Monospace;}
+  .body_narrow {background-color: black;
+                color: rgb(255,225,148);
+                width: 400;
+                margin: 0 auto;
+                font-family: Ubuntu Mono,
+                             DejaVu Sans Mono,
+                             Droid Sans Mono,
+                             Liberation Mono,
+                             Monospace;}
   a { color: rgb(0,255,0); }
-  a:visited { color: rgb(0,192,0) }
+  a:visited { color: rgb(0,192,0); }
   a:hover { color: white; }
   h1 { font-size: 18pt;
        color: rgb(246,96,171);