Commits

Ernesto Menéndez  committed 99d1471

footer style

  • Participants
  • Parent commits bcced47

Comments (0)

Files changed (2)

File app/web/static/css/style.css

 body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td { margin: 0; padding: 0; }
-/*table { border-collapse: collapse; border-spacing: 0; }
-fieldset,img { border: 0; }
-address,caption,cite,code,dfn,em,strong,th,var { font-style: normal; font-weight: normal; }
-caption,th { text-align: left; }
-h1,h2,h3,h4,h5,h6 { font-size: 100%; font-weight: normal; }
-abbr,acronym { border: 0; font-variant: normal; }
-input,textarea,select { font-family: inherit; font-size: inherit; font-weight: inherit; }
-a { text-decoration: none; color: inherit; }*/
 
 html {
     font-size: 75%;
     background: black;
     border-radius: 20px;
     margin-left: 5px;
+    text-decoration: none;
 }
 
 a.no-deco:hover, a.no-deco:active {
     left: 83%;
 }
 
-#bottom-area {
-    padding-top: 6em;
-}
-
 #container3 {
     float: left;
     width: 100%;
     right: 60%;
 }
 
-footer {
-    padding: 1em 0;
-    border-top: .1em dashed #ccc;
-}
+#bottom-area {
+    background: #222;
+    color: #fff;
+    line-height: 3em;
+}

File app/web/templates/base.html

                 <li class="menu-item"><a class="no-deco" href="{{ url_for('home.index') }}">Home</a></li>
             </ul>
         </nav>
-        <header>
-            <div id="logo">
+        <div id="logo">
+            <header>
                 <a id="logo-link" href="{{ url_for('home.index') }}">Ernesto Menéndez</a>
-            </div>
-        </header>
+            </header>
+        </div>
     </div>
     <div id="container3">
     <div id="container2">
         <div id="left-area">
         </div>
         <div id="center-area">
-            <section id="content">
-                {% block content %}{% endblock %}
-            </section>
-            <div id="bottom-area">
-                <footer>
-                    {% block footer %}
-                        <p>
-                            &copy;2010-2011 Ernesto Menéndez. All rights reserved.
-                        </p>
-                    {% endblock %}
-                </footer>
-            </div>
+            {% block content %}{% endblock %}
         </div>
         <div id="right-area">
             {% block right %}{% endblock %} <!-- for per-page sidebar-->
     </div>
     </div>
     </div>
+    <div id="bottom-area">
+        <footer>
+            {% block footer %}
+                <p align="center">
+                    &copy;2010-2011 Ernesto Menéndez. All rights reserved.
+                </p>
+            {% endblock %}
+        </footer>
+    </div>
     {% block bottom %}{% endblock %} <!-- for per-page scripts  -->
 </body>
 </html>