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
15
index.html
15
index.html
|
|
@ -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 & me</li>
|
<li>Lifestyle, Travel & 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')){
|
||||||
|
|
|
||||||
|
|
@ -954,7 +954,7 @@ body{
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
input, textarea{
|
input, textarea, button{
|
||||||
outline: none;
|
outline: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue