fix error
This commit is contained in:
parent
ee1f3d44e5
commit
ee474b01c3
|
@ -836,16 +836,16 @@ function transdate(){
|
||||||
$('.layout-content').css('margin-top',$('.kenjohn').height()-$('#orbit-bar').height());
|
$('.layout-content').css('margin-top',$('.kenjohn').height()-$('#orbit-bar').height());
|
||||||
}
|
}
|
||||||
if (parseInt($('.layout-content').css('margin-top')==0)){
|
if (parseInt($('.layout-content').css('margin-top')==0)){
|
||||||
theTop = $('.layout-content-inner.container').offset().top-$(".kenjohn").position().top+10;
|
theTop = $('.layout-content-inner.container').offset().top-$(".kenjohn").position().top+5;
|
||||||
}else{
|
}else{
|
||||||
theTop = $('.layout-content-inner.container').offset().top-$(".kenjohn").position().top-$(".kenjohn").height()+10;
|
theTop = $('.layout-content-inner.container').offset().top-$(".kenjohn").position().top-$(".kenjohn").height()+5;
|
||||||
}
|
}
|
||||||
}else{
|
}else{
|
||||||
theTop = 10;
|
theTop = 5;
|
||||||
}
|
}
|
||||||
console.log(theTop);
|
console.log(theTop);
|
||||||
$("html, body").animate({
|
$("html, body").animate({
|
||||||
scrollTop: theTop }, {duration: 500,easing: "swing",complete: function(){
|
scrollTop: theTop }, {duration: 400,easing: "swing",complete: function(){
|
||||||
console.log('finish');
|
console.log('finish');
|
||||||
if(!stop){
|
if(!stop){
|
||||||
move_to_target(true);
|
move_to_target(true);
|
||||||
|
|
|
@ -17,10 +17,7 @@ body{
|
||||||
.downIcon{
|
.downIcon{
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 50%;
|
left: 50%;
|
||||||
top: 775px;
|
bottom: 15%;
|
||||||
@media (min-width:1026px) and (max-width:1280px){
|
|
||||||
top: 735px;
|
|
||||||
}
|
|
||||||
//bottom: 10%;
|
//bottom: 10%;
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
|
|
|
@ -98,7 +98,7 @@ a#content{
|
||||||
padding: 0.5em;
|
padding: 0.5em;
|
||||||
&:hover{
|
&:hover{
|
||||||
span {
|
span {
|
||||||
color:#0d5151!important;
|
color:#288e8e!important;
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -144,9 +144,9 @@ a#content{
|
||||||
position: absolute;
|
position: absolute;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@media screen and (min-width:991px) and (max-width:1025px){
|
@media screen and (min-width:$screen-xs) and (max-width:1025px){
|
||||||
.ad-overlay{
|
.ad-overlay{
|
||||||
bottom: 31%;
|
bottom: 50%;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -159,7 +159,10 @@ a#content{
|
||||||
@media screen and (min-width: 769px){
|
@media screen and (min-width: 769px){
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
}
|
}
|
||||||
@media screen and (max-width: 768px){
|
@media screen and(min-width:$screen-xs) and (max-width:768px){
|
||||||
|
height: 1000px;
|
||||||
|
}
|
||||||
|
@media screen and (max-width: $screen-xs){
|
||||||
height: 720px;
|
height: 720px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue