diff options
-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> |