From 04e3f92aa413116a0f4c62ff90901ee1cd23089b Mon Sep 17 00:00:00 2001 From: Jonathan Cremin Date: Fri, 5 Dec 2014 19:11:45 +0000 Subject: [PATCH] Add a footer. --- public/stylesheets/style.css | 22 ++++++++++++++++++++++ views/album.ejs | 2 +- views/footer.ejs | 10 ++++++++++ views/header.ejs | 1 + views/track.ejs | 2 +- 5 files changed, 35 insertions(+), 2 deletions(-) diff --git a/public/stylesheets/style.css b/public/stylesheets/style.css index f64127e..d7c3a3c 100644 --- a/public/stylesheets/style.css +++ b/public/stylesheets/style.css @@ -3,10 +3,32 @@ body { color: #445470; } +html, body { + height: 100%; +} + header { background: #FE4365; } +.page-wrap { + min-height: 100%; + margin-bottom: -180px; +} +.page-wrap:after { + content: ""; + display: block; +} +footer, .page-wrap:after { + margin-top: 80px; + height: 100px; +} +footer { + background: #eee; + line-height: 100px; + text-align: right; +} + header h1 { margin: 0; text-align: center; diff --git a/views/album.ejs b/views/album.ejs index cf92f06..31c755c 100644 --- a/views/album.ejs +++ b/views/album.ejs @@ -45,7 +45,7 @@ <% if((i+1)%4 == 0) { %>
<% } %> <% } %>
-
+
diff --git a/views/footer.ejs b/views/footer.ejs index 1972aa0..01ad8ae 100644 --- a/views/footer.ejs +++ b/views/footer.ejs @@ -1,3 +1,13 @@ + +