diff --git a/index.css b/index.css index 1abbdcc..5a8ac89 100644 --- a/index.css +++ b/index.css @@ -507,10 +507,7 @@ color: white; } -.fa-instagram { -background: #1565c0; -color: white; -} + .fa-github { @@ -519,7 +516,8 @@ color: white; } .fa-mail{ - background: #1565c0; + +background: #1565c0; color: white; } @@ -533,4 +531,4 @@ color: white; display: flex; justify-content: space-between; -} \ No newline at end of file +} diff --git a/index.html b/index.html index 7d12a10..1173af9 100644 --- a/index.html +++ b/index.html @@ -170,7 +170,7 @@

ABOUT

- + diff --git a/index.js b/index.js index 8a6adbd..f11d50b 100644 --- a/index.js +++ b/index.js @@ -154,9 +154,9 @@ this.y+=this.dy; //interactivity //when mouse close -if (trueX - this.x < 50 && trueX - this.x > -50 - && trueY - this.y < 50 && trueY - this.y > -50 - ) { +if (trueX - this.x <8 && trueX - this.x > -8 + && trueY - this.y <8 && trueY - this.y > -8) +{ if (this.radius < maxRadius) { this.radius += 4; }