fix derpy header

This commit is contained in:
Tommy Parnell
2015-06-29 10:04:08 -04:00
parent 0895f461d6
commit f3c46cd700
2 changed files with 12 additions and 8 deletions

View File

@@ -63,7 +63,7 @@ textarea {
position: fixed; position: fixed;
top: 0; top: 0;
width: 100%; width: 100%;
height: 15%; height: 130px;
z-index: 10000; z-index: 10000;
border-bottom: 1px solid #778492 border-bottom: 1px solid #778492
} }
@@ -82,7 +82,7 @@ textarea {
} }
.stick ~.sections-wrapper{ .stick ~.sections-wrapper{
margin-top: 10%; margin-top: 270px;
} }
.stick > * > * > .profile-image{ .stick > * > * > .profile-image{
@@ -90,3 +90,7 @@ textarea {
} }
} }
body{
padding-top: 0px;
}

View File

@@ -85,7 +85,7 @@ jQuery(document).ready(function ($) {
var sticky = $('.header'), var sticky = $('.header'),
scroll = $(window).scrollTop(); scroll = $(window).scrollTop();
if (scroll >= 100) sticky.addClass('stick'); if (scroll >= 131) sticky.addClass('stick');
else sticky.removeClass('stick'); else sticky.removeClass('stick');
}); });