diff options
| author | Michael Williamson <mike@zwobble.org> | 2013-03-31 16:20:40 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2013-03-31 16:20:40 +0100 |
| commit | 4b7bc9a5c2c7ca41c0c1f947092bccf8b2f84c26 (patch) | |
| tree | e9f0a02a9f4447d9f683cee2403fc0b33ddd5f27 | |
| parent | 558ab83e55f5288c22f0bb7ed94a1585a2e1c0e8 (diff) | |
Add banner to pages
| -rw-r--r-- | static/style.css | 17 | ||||
| -rw-r--r-- | templates/base.html | 7 |
2 files changed, 23 insertions, 1 deletions
diff --git a/static/style.css b/static/style.css new file mode 100644 index 0000000..fd5174c --- /dev/null +++ b/static/style.css @@ -0,0 +1,17 @@ +html { + overflow-y: scroll; +} + +.banner { + background-color: #555; + color: #fff; + margin-bottom: 20px; +} + +.banner a { + color: #fff; +} + +.banner h1 { + font-size: 20px; +} diff --git a/templates/base.html b/templates/base.html index 39698c2..16f432d 100644 --- a/templates/base.html +++ b/templates/base.html @@ -3,10 +3,15 @@ <head> <title>Mammoth</title> <link rel="stylesheet" type="text/css" href="/static/bootstrap/css/bootstrap.min.css"> + <link rel="stylesheet" type="text/css" href="/static/style.css"> </head> <body> + <div class="banner"> + <div class="container"> + <h1><a href="/">Mammoth</a></h1> + </div> + </div> <div class="container"> - <h1>Mammoth</h1> {+body}{/body} </div> </body> |
