Footer with image
This commit is contained in:
parent
f06446370d
commit
74c8729f17
3 changed files with 28 additions and 2 deletions
|
|
@ -1,3 +1,5 @@
|
||||||
|
$mainPadding: 15px;
|
||||||
|
|
||||||
body {
|
body {
|
||||||
background-image: url(/img/bg.png);
|
background-image: url(/img/bg.png);
|
||||||
background-repeat: both;
|
background-repeat: both;
|
||||||
|
|
@ -7,11 +9,30 @@ a:hover, a:focus {
|
||||||
text-decoration: none;
|
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 {
|
.container {
|
||||||
background-color: $white;
|
background-color: $white;
|
||||||
@include box-shadow(0 5px 10px rgba(0,0,0,.2));
|
@include box-shadow(0 5px 10px rgba(0,0,0,.2));
|
||||||
padding-left: 15px;
|
padding-left: $mainPadding;
|
||||||
padding-right: 15px;
|
padding-right: $mainPadding;
|
||||||
}
|
}
|
||||||
|
|
||||||
.navbar-static-top .navbar-inner {
|
.navbar-static-top .navbar-inner {
|
||||||
|
|
|
||||||
|
|
@ -51,6 +51,11 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<% render("#{@item[:kind]}_body") do %><%= yield %><% end %>
|
<% render("#{@item[:kind]}_body") do %><%= yield %><% end %>
|
||||||
|
</div>
|
||||||
|
<div class="container" id="footer">
|
||||||
|
<div id="footerimage">
|
||||||
|
<img src="/img/silhouette.png">
|
||||||
|
</div>
|
||||||
<footer>
|
<footer>
|
||||||
<a href="#">Impressum</a>
|
<a href="#">Impressum</a>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
|
||||||
BIN
static/img/silhouette.png
Normal file
BIN
static/img/silhouette.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.6 KiB |
Loading…
Add table
Add a link
Reference in a new issue