general fixes

This commit is contained in:
Michi 2022-10-03 15:09:57 +02:00
parent 2fd2f65df1
commit ab5e32115b
2 changed files with 3 additions and 16 deletions

View file

@ -137,7 +137,7 @@
<div> <div>
<h3>Instagram @michivonah</h3> <h3>Instagram @michivonah</h3>
<ul> <ul>
<li>200+ Followers</li> <li>220+ Followers</li>
<li>10+ Posts</li> <li>10+ Posts</li>
<li>Lifestyle, Travel &amp; me</li> <li>Lifestyle, Travel &amp; me</li>
</ul> </ul>
@ -402,21 +402,8 @@
}); });
function scrollToTop(){ function scrollToTop(){
if(navigator.userAgent.includes('iPhone') || navigator.userAgent.includes('iPad') || navigator.userAgent.includes('Mac')){
window.scroll(0, 0); window.scroll(0, 0);
} }
else{
var speed = 500;
var time = 15;
var step = (window.scrollY * -1) / (speed / time),
scroll = setInterval(function(){
if (window.scrollY != 0){
window.scrollBy(0, step);
}
else clearInterval(scroll);
},time);
}
}
function scrollDown(){ function scrollDown(){
if(navigator.userAgent.includes('iPhone') || navigator.userAgent.includes('iPad') || navigator.userAgent.includes('Mac')){ if(navigator.userAgent.includes('iPhone') || navigator.userAgent.includes('iPad') || navigator.userAgent.includes('Mac')){

View file

@ -954,7 +954,7 @@ body{
font-style: normal; font-style: normal;
} }
input, textarea{ input, textarea, button{
outline: none; outline: none;
} }