diff options
author | Hardik Ghaghada | 2012-01-31 18:18:26 +0530 |
---|---|---|
committer | Hardik Ghaghada | 2012-01-31 18:18:26 +0530 |
commit | 4f4e9346ff5eda64baedb6197ca52cba22cb77a8 (patch) | |
tree | 97521b272e3a58c3bf420f0b516bb24831d0ff90 /testapp | |
parent | 95e9ea0f60b21595fa0f6ffea12da13b33821018 (diff) | |
download | online_test-4f4e9346ff5eda64baedb6197ca52cba22cb77a8.tar.gz online_test-4f4e9346ff5eda64baedb6197ca52cba22cb77a8.tar.bz2 online_test-4f4e9346ff5eda64baedb6197ca52cba22cb77a8.zip |
updated base.html (for new look)
Diffstat (limited to 'testapp')
-rw-r--r-- | testapp/templates/base.html | 64 |
1 files changed, 62 insertions, 2 deletions
diff --git a/testapp/templates/base.html b/testapp/templates/base.html index c2bbabb..54a2035 100644 --- a/testapp/templates/base.html +++ b/testapp/templates/base.html @@ -1,17 +1,76 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> + <title> {% block title %} {% endblock %} </title> + {% block meta %} +<meta charset="utf-8"> + <meta name="description" content=""> + <meta name="author" content=""> {% endblock %} + <link rel="stylesheet" href="{{ URL_ROOT }}/static/exam/css/base.css" type="text/css" /> + {% block css %} +<style type="text/css"> + + html, body { + background-color: #eee; + } + body { + padding-top: 9px; + } + .container > footer p { + text-align: center; + } + .container { + width: 820px; + } + + + .container > .content { + background-color: #fff; + padding: 20px; + margin: 0 -20px; + -webkit-border-radius: 0 0 6px 6px; + -moz-border-radius: 0 0 6px 6px; + border-radius: 0 0 6px 6px; + -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.15); + -moz-box-shadow: 0 1px 2px rgba(0,0,0,.15); + box-shadow: 0 1px 2px rgba(0,0,0,.15); + } + + + .page-header { + background-color: #f5f5f5; + padding: 20px 20px 10px; + margin: -20px -20px 20px; + } + + .content .span10, + .content .span14 { + min-height: 500px; + } + + .content .span4 { + margin-left: 0; + padding-left: 19px; + border-left: 1px solid #eee; + } + + .topbar .btn { + border: 0; + } + + </style> {% endblock %} + {% block script %} {% endblock %} </head> @@ -21,5 +80,6 @@ {% block content %} {% endblock %} </div> + </body> </html> |