Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

made the background image randomly loop

  • Loading branch information...
commit f3077e20dac5242133c00e1643591ea7b3e41a10 1 parent f1b7b0d
@peterbe authored
Showing with 10 additions and 9 deletions.
  1. +9 −8 static/css/style.css
  2. +1 −1  templates/base.html
View
17 static/css/style.css
@@ -1,13 +1,14 @@
body {
-font-family: sans-serif;
-background-attachment: fixed;
-/*background-image: url("/static/images/rock.jpg");*/
-background-repeat: no-repeat;
-background-position: bottom right;
-margin-left: 40px;
+ font-family: sans-serif;
+ background-attachment: fixed;
+ background-repeat: no-repeat;
+ background-position: bottom right;
+ margin-left: 40px;
}
-h1,h2,h3,h4 { font-family: Helvetica, sans-serif; }
-h3 {font-size:20px}
+h1,h2,h3,h4 {
+ font-family: Helvetica, sans-serif;
+}
+h3 { font-size:20px; }
h1 a { color:black; text-decoration:none; }
h1 a:hover { color:black; text-decoration:underline; }
header h1 { font-family: 'Permanent Marker',cursive;margin-top:10px;
View
2  templates/base.html
@@ -8,7 +8,7 @@
<link href='http://fonts.googleapis.com/css?family=Permanent+Marker' rel='stylesheet' type='text/css'>
<style>
{% block body_style %}
- body{ background-image: url("/static/images/chuck.jpg"); }
+ body{ background-image: url("{{ background_image }}"); }
{% end %}
</style>
<link href="/static/css/style.css" rel="stylesheet" type="text/css">

0 comments on commit f3077e2

Please sign in to comment.
Something went wrong with that request. Please try again.