From 74c8729f17dfe3b19dd840ad9722a121788b252b Mon Sep 17 00:00:00 2001 From: Stefan Schlott Date: Thu, 22 Aug 2013 19:39:32 +0200 Subject: [PATCH] Footer with image --- content/styles/_customstyles.scss | 25 +++++++++++++++++++++++-- layouts/default.html | 5 +++++ static/img/silhouette.png | Bin 0 -> 5741 bytes 3 files changed, 28 insertions(+), 2 deletions(-) create mode 100644 static/img/silhouette.png diff --git a/content/styles/_customstyles.scss b/content/styles/_customstyles.scss index 4c21c736..e5ac1b4c 100644 --- a/content/styles/_customstyles.scss +++ b/content/styles/_customstyles.scss @@ -1,3 +1,5 @@ +$mainPadding: 15px; + body { background-image: url(/img/bg.png); background-repeat: both; @@ -7,11 +9,30 @@ a:hover, a:focus { text-decoration: none; } +#footer { + #footerimage { + text-align: right; + border-bottom: 3px; + border-bottom-color: $cccsGreen; + border-bottom-style: solid; + } + footer { + margin-left: -$mainPadding; + margin-right: -$mainPadding; + padding-left: $mainPadding; + padding-right: $mainPadding; + padding-top: 5px; + padding-bottom: 5px; + color: $grayLight; + background-color: $cccsBlue; + } +} + .container { background-color: $white; @include box-shadow(0 5px 10px rgba(0,0,0,.2)); - padding-left: 15px; - padding-right: 15px; + padding-left: $mainPadding; + padding-right: $mainPadding; } .navbar-static-top .navbar-inner { diff --git a/layouts/default.html b/layouts/default.html index 5f057f95..85cd7f1a 100644 --- a/layouts/default.html +++ b/layouts/default.html @@ -51,6 +51,11 @@
<% render("#{@item[:kind]}_body") do %><%= yield %><% end %> +
+