diff options
-rw-r--r-- | static/layout.css | 14 | ||||
-rw-r--r-- | static/logo.png | bin | 0 -> 8447 bytes | |||
-rw-r--r-- | templates/base.html | 6 |
3 files changed, 19 insertions, 1 deletions
diff --git a/static/layout.css b/static/layout.css index d649f78..d9a533f 100644 --- a/static/layout.css +++ b/static/layout.css @@ -1,3 +1,17 @@ form .errors { color: #D00; } + +body { + margin: 0 auto; + width: 640px; +} + +#header { + text-indent: -10000px; + background-image: url(/static/images/logo.png); + background-image: no-repeat; + margin: 0 auto; + width: 450px; + height: 131px; +} diff --git a/static/logo.png b/static/logo.png Binary files differnew file mode 100644 index 0000000..2ddbb50 --- /dev/null +++ b/static/logo.png diff --git a/templates/base.html b/templates/base.html index decff78..c28c8f4 100644 --- a/templates/base.html +++ b/templates/base.html @@ -13,7 +13,11 @@ </head> <body> - <h1>{% if title %}{{ title }}{% else %}spline accounts{% endif %}</h1> + <h1 id="header">Spline</h1> + + {% if title %} + <h2>{{ title }}</h2> + {% endif %} {%- if session.username %} <p>Logged in as {{ session.username }}. <a href="{{ url_for('logout') }}">Log out</a></p> |