mirror of
https://github.com/michivonah/website-v2.git
synced 2025-12-22 20:46:29 +01:00
general fixes
This commit is contained in:
parent
2fd2f65df1
commit
ab5e32115b
2 changed files with 3 additions and 16 deletions
17
index.html
17
index.html
|
|
@ -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 & me</li>
|
||||
</ul>
|
||||
|
|
@ -402,20 +402,7 @@
|
|||
});
|
||||
|
||||
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);
|
||||
}
|
||||
window.scroll(0, 0);
|
||||
}
|
||||
|
||||
function scrollDown(){
|
||||
|
|
|
|||
|
|
@ -954,7 +954,7 @@ body{
|
|||
font-style: normal;
|
||||
}
|
||||
|
||||
input, textarea{
|
||||
input, textarea, button{
|
||||
outline: none;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue