From 72423bd9cbe526c2d91701043498863c687f8db9 Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Wed, 11 May 2011 21:48:29 +0200 Subject: Moved menu, fixed login button. --- .gitignore | 2 ++ static/style.css | 16 +++++++++------- templates/base.tmpl | 26 +++++++++++++------------- templates/login.tmpl | 2 +- 4 files changed, 25 insertions(+), 21 deletions(-) diff --git a/.gitignore b/.gitignore index 11f02b8..71b5cc6 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,5 @@ *.pyc settings.py /files +/templates/*.py +!/templates/__init__.py diff --git a/static/style.css b/static/style.css index e16b5b7..2f6fc0a 100644 --- a/static/style.css +++ b/static/style.css @@ -1,11 +1,16 @@ * { margin: 0px; padding: 0px; font-family: sans-serif; } html, body { background-color: #fff; color: #333; height: 100%; } -div#page-header { background-color: #ccc; color: #333; padding: 1em; } -div#page-header a { color: inherit; text-decoration: none; } +div#page-header { background-color: #ccc; color: #333; } +div#page-header h1 { padding: .5em; } +div#page-header h1 a { color: inherit; text-decoration: none; } div#page { min-height: 100%; height: auto !important; height: 100%; margin: 0 auto -2em; } div#page-content { padding: 1em; } -div#page-wrapper { height: 2em; } -div#page-footer { background-color: #333; color: #666; height: 1em; padding: .5em; text-align: center; } + +div#page-menu { background-color: #333; color: #666; height: 1em; padding: .5em; } +div#page-menu ul, div#page-menu li { margin: 0; display: inline; } +div#page-menu ul { margin-left: 0; } +div#page-menu a { color: #ccc; text-decoration: none; margin: 0 .5em 0 .5em; } + ul { list-style-type: none; } li { margin-left: 1em; } p { margin-bottom: 1em; } @@ -16,6 +21,3 @@ blockquote { margin: 1em; display: block; } p.login { font-size: small; margin: .5em 0 0 1em; } form { border: 1px solid #888; display: inline-block; margin: .5em; padding: .5em; } - -div#page-footer ul, div#page-footer li { margin: 0; display: inline; } -div#page-footer a { color: #ccc; text-decoration: none; margin: 0 .5em 0 .5em; } diff --git a/templates/base.tmpl b/templates/base.tmpl index 5b710f8..b15e62f 100644 --- a/templates/base.tmpl +++ b/templates/base.tmpl @@ -12,6 +12,19 @@
- diff --git a/templates/login.tmpl b/templates/login.tmpl index 6baee6c..306b0aa 100644 --- a/templates/login.tmpl +++ b/templates/login.tmpl @@ -9,6 +9,6 @@

password

-

+

#end def -- cgit v1.2.3