changed a few colors
This commit is contained in:
+1
-1
@@ -204,7 +204,7 @@ section {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.hexagonGrid .row .hexagon:hover::before {
|
.hexagonGrid .row .hexagon:hover::before {
|
||||||
background: #3dd429;
|
background: #72acb1;
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
transition: 0s;
|
transition: 0s;
|
||||||
}
|
}
|
||||||
|
|||||||
+2
-2
@@ -59,7 +59,7 @@ class Particle {
|
|||||||
draw() {
|
draw() {
|
||||||
ctx.beginPath();
|
ctx.beginPath();
|
||||||
ctx.arc(this.x, this.y, this.size, 0, Math.PI * 2, false);
|
ctx.arc(this.x, this.y, this.size, 0, Math.PI * 2, false);
|
||||||
ctx.fillStyle = '#72C100';
|
ctx.fillStyle = '#a3f6fd';
|
||||||
ctx.fill();
|
ctx.fill();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -108,7 +108,7 @@ function init() {
|
|||||||
let y = (Math.random() * ((innerWidth - size * 2) - (size * 2)) + size * 2);
|
let y = (Math.random() * ((innerWidth - size * 2) - (size * 2)) + size * 2);
|
||||||
let directionX = (Math.random() * 5) - 2.5;
|
let directionX = (Math.random() * 5) - 2.5;
|
||||||
let directionY = (Math.random() * 5) - 2.5;
|
let directionY = (Math.random() * 5) - 2.5;
|
||||||
let color = '#72C100';
|
let color = '#a3f6fd';
|
||||||
particlesArray.push(new Particle(x, y, directionX, directionY, size, color));
|
particlesArray.push(new Particle(x, y, directionX, directionY, size, color));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user