better default theme
authordanigm <dani@danigm.net>
Fri, 17 Apr 2009 17:36:31 +0000 (19:36 +0200)
committerdanigm <dani@danigm.net>
Fri, 17 Apr 2009 17:36:31 +0000 (19:36 +0200)
static/themes/default/css/style.css
static/themes/default/templates/master.html

index 71d7d4f..8758343 100644 (file)
@@ -9,16 +9,21 @@ input, textarea, button {
 
 textarea{ width: 100% }
 
-#left, #pre-body, #post-body, #body, #header, #foot {
+#left, #header, #foot, #main {
     color: black;
     background-color: white;
     margin: 0 auto 1em auto;
-    border: 1px solid #550000;
+    border: 2px solid green;
+}
+
+#left, #header, #foot, #main {
     padding: 2em;
 }
-#pre-body, #post-body, #body {
+
+#main {
     width: 70%;
     float: right;
+    min-height: 100px;
 }
 
 #left {
index 81aea99..a22c4c9 100644 (file)
@@ -16,6 +16,7 @@ $code:
     <body>
         <div id="header">
             <img src="/static/themes/$theme/images/logo.png" alt="logo"/>
+            <div id="head">$:head</div>
         </div>
         $if msgs:
             <div id="messages">
@@ -38,12 +39,13 @@ $code:
                 </ul>
             </div>
 
-        <div id="head">$:head</div>
         <div id="left">$:left</div>
 
-        <div id="pre-body">$:pre_body</div>
-        <div id="body">$:body</div>
-        <div id="post-body">$:post_body</div>
+        <div id="main">
+            <div id="pre-body">$:pre_body</div>
+            <div id="body">$:body</div>
+            <div id="post-body">$:post_body</div>
+        </div>
 
         <div id="foot">$:foot</div>