summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNico von Geyso <Nico.Geyso@FU-Berlin.de>2012-09-21 11:11:56 +0200
committerNico von Geyso <Nico.Geyso@FU-Berlin.de>2012-09-21 11:11:56 +0200
commitc89a73370e51e0218a6a8b9dbfe34527c002fb22 (patch)
tree8587863dbdeb907c0dfeddfbb0f10119d79fea57
parent7e35cb17f23908b3f36e48621b17970bfb3a98ce (diff)
downloadweb-c89a73370e51e0218a6a8b9dbfe34527c002fb22.tar.gz
web-c89a73370e51e0218a6a8b9dbfe34527c002fb22.tar.bz2
web-c89a73370e51e0218a6a8b9dbfe34527c002fb22.zip
use img instead of background-image
-rw-r--r--static/layout.css6
-rw-r--r--templates/base.html2
2 files changed, 2 insertions, 6 deletions
diff --git a/static/layout.css b/static/layout.css
index 4c64b5b..730d79f 100644
--- a/static/layout.css
+++ b/static/layout.css
@@ -8,10 +8,6 @@ body {
}
#header {
- text-indent: -10000px;
- background-image: url(/static/logo.png);
- background-image: no-repeat;
margin: 0 auto;
- width: 450px;
- height: 131px;
+ text-align: center;
}
diff --git a/templates/base.html b/templates/base.html
index c28c8f4..22c16f0 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -13,7 +13,7 @@
</head>
<body>
- <h1 id="header">Spline</h1>
+ <h1 id="header"><img src="{{url_for('static', filename='logo.png')}}" alt="Spline" /></h1>
{% if title %}
<h2>{{ title }}</h2>