Commit 37352b1b authored by Steffen van Bergerem's avatar Steffen van Bergerem

Sticky footer

parent 2ae1d021
html {
min-height: 100%;
position: relative;
}
body { margin-bottom: 150px; }
footer {
width: 100%;
left: 0;
background-color: $background-grey;
border-top: 1px solid $border-grey;
bottom: 0;
color: $text-grey;
.container {
width: 95%;
margin: 4em auto 0 auto;
padding: 0.5em 0 1em 0;
border-top: 1px solid $border-grey;
}
max-height: 130px;
padding-top: 15px;
padding-bottom: 15px;
position: absolute;
width: 100%;
.logos-powered_by_diaspora {
display: inline-block;
margin-top: 3px;
height: 11px;
width: 145px;
.powered-by-diaspora {
color: $link-grey;
font-weight: bold;
}
ul#footer_nav {
margin: 0;
padding: 0;
display: inline-block;
float: right;
> li {
display: inline;
......
......@@ -6,7 +6,7 @@
@import 'entypo';
@import 'icons';
@import "header";
@import "mobile/header";
@import "mobile/tags";
@import "mobile/conversations";
@import "mobile/settings";
......
html,
body {
/* hack to ensure fixed elements at height: 100%; are in relation to the window */
max-height : 100%;
}
body {
margin-top: 50px;
padding : none;
......
%footer
.container
.logos-powered_by_diaspora
%ul#footer_nav
.pull-left
.powered-by-diaspora
powered by diaspora*
%ul#footer_nav.pull-right
= render :partial =>'shared/links'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment