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>
<h3>Instagram @michivonah</h3>
<ul>
<li>200+ Followers</li>
<li>220+ Followers</li>
<li>10+ Posts</li>
<li>Lifestyle, Travel &amp; me</li>
</ul>
@ -402,21 +402,8 @@
});
function scrollToTop(){
if(navigator.userAgent.includes('iPhone') || navigator.userAgent.includes('iPad') || navigator.userAgent.includes('Mac')){
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(){
if(navigator.userAgent.includes('iPhone') || navigator.userAgent.includes('iPad') || navigator.userAgent.includes('Mac')){

View file

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