fix derpy header
This commit is contained in:
@@ -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;
|
||||||
|
}
|
||||||
|
|||||||
@@ -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');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user