mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-07-04 07:26:14 +02:00
Updated Readme from master
This commit is contained in:
parent
0ba2e496f2
commit
46b67dccc3
5 changed files with 86 additions and 80 deletions
|
@ -7,12 +7,9 @@ $(window).scroll(function(){
|
|||
var w = $(window).width();
|
||||
if (w > 768) {
|
||||
$('.leftlogo').show();
|
||||
var lt = -300 + $(window).scrollTop()*2
|
||||
lt = - $("#navbar").position().top - $("#navbar").height() - $('.leftlogo').height() + $(window).scrollTop()
|
||||
if (lt > 30) lt = 30;
|
||||
$('.leftlogo').css('top', lt);
|
||||
if ($(window).scrollTop() > 30) {
|
||||
$('#navbar').css('margin-top', $(window).scrollTop()-30)
|
||||
}
|
||||
} else {
|
||||
$('.leftlogo').hide();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue