From: Matthijs Kooijman Date: Sun, 27 Jan 2008 13:50:02 +0000 (+0100) Subject: * Add a base css file. X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fprojects%2Fxerxes.git;a=commitdiff_plain;h=b70a84da8183aeb5a92e3322dca370d2486b868f * Add a base css file. * Add some stuff in the base template, there is now a menu and a footer. --- diff --git a/static/base/css/.base.css.swp b/static/base/css/.base.css.swp new file mode 100644 index 0000000..80efe5c Binary files /dev/null and b/static/base/css/.base.css.swp differ diff --git a/static/base/css/base.css b/static/base/css/base.css new file mode 100644 index 0000000..d16f883 --- /dev/null +++ b/static/base/css/base.css @@ -0,0 +1,23 @@ +.LeftBar { + border:solid black; + float:left; + width:200px; + margin-right: 10px; +} + +.Content { + float:left; + border: solid black; + width: 900px; + padding: 10px; +} + +.Clear { + clear: both; +} + +.Footer { + border: solid black; + padding-left: 10px; + margin-top:10px; +} diff --git a/templates/base/base.html b/templates/base/base.html index ab807ba..4a35e87 100644 --- a/templates/base/base.html +++ b/templates/base/base.html @@ -1,8 +1,29 @@ +{% load i18n %} + +
+
+ +
+
{% block content %} {% endblock %} +
+
+ +
+ +