diff --git a/budget/static/gradient.png b/budget/static/gradient.png new file mode 100644 index 0000000..ad148bf Binary files /dev/null and b/budget/static/gradient.png differ diff --git a/budget/static/main.css b/budget/static/main.css index f39a840..e5d70f0 100644 --- a/budget/static/main.css +++ b/budget/static/main.css @@ -1,5 +1,5 @@ @import url(http://twitter.github.com/bootstrap/assets/css/bootstrap-1.0.0.min.css); -@import url(http://fonts.googleapis.com/css?family=Lobster); +@import url(http://fonts.googleapis.com/css?family=Lobster|Comfortaa); .topbar h3{ margin-left: 75px; } .topbar ul{ padding-left: 75px; } @@ -14,3 +14,33 @@ div.topbar ul.secondary-nav { padding-right: 75px; } .right h3 { float: right; } #bills { color: black; } + +#header{ background-color: #ABE128; height: 180px; padding: 50px 0 0 0;} +#header .slide { + font-family: 'Comfortaa', arial, serif; + height: 140px; + padding: 40px 0 0 0; + margin-top: -40px; + background-image: url("gradient.png"); + background-position: center top; + background-repeat: no-repeat; +} + +#header .slide { + width: 750px; + margin: 0 auto; +} + +.about_link:hover { + color: #ABE128; +} + +#header .slide .about_link { + margin-left: 180px; + padding: 7px 15px; + background-color: #222; + border-radius: 10px; + -moz-border-radius: 10px; + color: white; + text-decoration: none; +} diff --git a/budget/templates/home.html b/budget/templates/home.html index 7cead45..f29ae30 100644 --- a/budget/templates/home.html +++ b/budget/templates/home.html @@ -1,26 +1,37 @@ {% extends "layout.html" %} -{% block sidebar %} -{% include "recent_projects.html" %} -{% endblock %} -{% block content %} +{% block sidebar_wrapper %}{% endblock %} -

Welcome on your budget manager

-

You're sharing a house? are going on holidays with friends? are simply sharing money with others? We can help!

-
-
-
-

Log to an existing project...

- {{ forms.authenticate(auth_form) }} -
-
-
-
-

...or create a new one

- {{ forms.create_project(project_form) }}
- +{% block header %} + +{% endblock %} + +{% block container %} +
+
+ +

Welcome on your budget manager

+

You're sharing a house? are going on holidays with friends? are simply sharing money with others? We can help!

+
+
+
+

Log to an existing project...

+ {{ forms.authenticate(auth_form) }} +
+
+
+
+

...or create a new one

+ {{ forms.create_project(project_form) }}
+ +
+
- {% endblock %} diff --git a/budget/templates/layout.html b/budget/templates/layout.html index d1b63a9..328b392 100644 --- a/budget/templates/layout.html +++ b/budget/templates/layout.html @@ -67,6 +67,8 @@ {% endif %} +{% block header %}{% endblock %} +{% block container %}
@@ -77,6 +79,7 @@ {% endblock %}
+{% endblock %}