Skip to content

Commit 1d8e27c

Browse files
Update index.html
1 parent 1197777 commit 1d8e27c

1 file changed

Lines changed: 27 additions & 44 deletions

File tree

index.html

Lines changed: 27 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,9 @@
1616
font-family: 'Inter', sans-serif;
1717
}
1818

19-
body, html {
20-
height: 100%;
21-
width: 100%;
22-
overflow-x: hidden;
19+
body {
2320
background-color: #0a0a0a;
21+
color: #fff;
2422
position: relative;
2523
z-index: 1;
2624
}
@@ -29,21 +27,21 @@
2927
position: fixed;
3028
width: 100%;
3129
height: 100%;
32-
background: #0a0a0a;
30+
background-color: #0a0a0a;
3331
z-index: 0;
34-
top: 0;
35-
left: 0;
3632
}
3733

3834
main {
3935
position: relative;
4036
z-index: 1;
4137
}
4238

39+
.circle-favicon { border-radius: 50%; }
40+
4341
header {
4442
text-align: center;
4543
padding: 2rem 1rem 1rem;
46-
background-color: rgba(17, 17, 17, 0.85);
44+
background-color: rgba(17, 17, 17, 0.8);
4745
}
4846

4947
header img {
@@ -58,9 +56,10 @@
5856
header p { font-size: 1.1rem; color: #ccc; margin-top: 0.5rem; }
5957

6058
.marquee {
61-
background-color: rgba(17, 17, 17, 0.85);
59+
background-color: rgba(17, 17, 17, 0.8);
6260
padding: 1rem 0;
6361
overflow: hidden;
62+
position: relative;
6463
}
6564

6665
.marquee-content {
@@ -98,7 +97,6 @@
9897
margin: auto;
9998
background-color: rgba(0, 0, 0, 0.5);
10099
border-radius: 10px;
101-
margin-top: 1rem;
102100
}
103101

104102
section h2 {
@@ -145,7 +143,7 @@
145143
.register-button:hover { background-color: #00FFD1; }
146144

147145
footer {
148-
background-color: rgba(17, 17, 17, 0.85);
146+
background-color: rgba(17, 17, 17, 0.8);
149147
text-align: center;
150148
padding: 1.5rem;
151149
color: #999;
@@ -255,46 +253,31 @@ <h2>Work With Us</h2>
255253
</footer>
256254
</main>
257255

258-
<!-- Load particles.js -->
256+
<!-- Particles.js library -->
259257
<script src="https://cdn.jsdelivr.net/particles.js/2.0.0/particles.min.js"></script>
260258
<script>
261259
particlesJS("particles-js", {
262-
particles: {
263-
number: { value: 65, density: { enable: true, value_area: 800 } },
264-
color: { value: "#aaffff" },
265-
opacity: {
266-
value: 0.15,
267-
random: false,
268-
anim: { enable: false }
269-
},
270-
size: {
271-
value: 3,
272-
random: true
273-
},
274-
line_linked: {
275-
enable: true,
276-
distance: 120,
277-
color: "#aaffff",
278-
opacity: 0.08,
279-
width: 1
280-
},
281-
move: {
282-
enable: true,
283-
speed: 1,
284-
direction: "none",
285-
out_mode: "out"
286-
}
260+
"particles": {
261+
"number": { "value": 80, "density": { "enable": true, "value_area": 800 } },
262+
"color": { "value": "#00FFD1" },
263+
"shape": { "type": "circle" },
264+
"opacity": { "value": 0.5 },
265+
"size": { "value": 3 },
266+
"line_linked": { "enable": true, "distance": 150, "color": "#00FFD1", "opacity": 0.4, "width": 1 },
267+
"move": { "enable": true, "speed": 2 }
287268
},
288-
interactivity: {
289-
events: {
290-
onhover: { enable: true, mode: "repulse" },
291-
onclick: { enable: false }
269+
"interactivity": {
270+
"detect_on": "canvas",
271+
"events": {
272+
"onhover": { "enable": true, "mode": "grab" },
273+
"onclick": { "enable": true, "mode": "push" }
292274
},
293-
modes: {
294-
repulse: { distance: 100, duration: 0.4 }
275+
"modes": {
276+
"grab": { "distance": 140, "line_linked": { "opacity": 0.8 } },
277+
"push": { "particles_nb": 4 }
295278
}
296279
},
297-
retina_detect: true
280+
"retina_detect": true
298281
});
299282
</script>
300283
</body>

0 commit comments

Comments
 (0)