Commit 21522b91 authored by Olga Brani's avatar Olga Brani

Allow more space above fixed footer

parent d18f7b34
......@@ -2,7 +2,8 @@ function toggleFooterClass(){
var topNavH = parseInt($('.js-top-nav').height());
var mainH = parseInt($('.js-main').outerHeight());
var windowH = parseInt($(window).height());
var res = windowH - (topNavH+mainH);
var mainP = 50;
var res = windowH - (topNavH+mainH + mainP);
var footerHeight = $('.js-footer').outerHeight();
if (res>0) {
$('.js-footer').addClass('normal');
......
......@@ -5,9 +5,8 @@ a:hover { text-decoration: underline;}
h1 {
text-transform: uppercase;
text-align: center;
margin:60px 0;
padding: 60px 0;
line-height:120%;
//color: $primary-color;
}
.subnav {
......
.main { padding:0 $row-padding 50px;}
.main {
padding:0 $row-padding;
padding-bottom: 50px;
}
.homepage .row {
max-width:$wide-row-width;
......@@ -20,4 +24,4 @@
.small-hide {
display: none;
}
}
\ No newline at end of file
}
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