|
16 | 16 | font-family: 'Inter', sans-serif; |
17 | 17 | } |
18 | 18 |
|
19 | | - body, html { |
20 | | - height: 100%; |
21 | | - width: 100%; |
22 | | - overflow-x: hidden; |
| 19 | + body { |
23 | 20 | background-color: #0a0a0a; |
| 21 | + color: #fff; |
24 | 22 | position: relative; |
25 | 23 | z-index: 1; |
26 | 24 | } |
|
29 | 27 | position: fixed; |
30 | 28 | width: 100%; |
31 | 29 | height: 100%; |
32 | | - background: #0a0a0a; |
| 30 | + background-color: #0a0a0a; |
33 | 31 | z-index: 0; |
34 | | - top: 0; |
35 | | - left: 0; |
36 | 32 | } |
37 | 33 |
|
38 | 34 | main { |
39 | 35 | position: relative; |
40 | 36 | z-index: 1; |
41 | 37 | } |
42 | 38 |
|
| 39 | + .circle-favicon { border-radius: 50%; } |
| 40 | + |
43 | 41 | header { |
44 | 42 | text-align: center; |
45 | 43 | padding: 2rem 1rem 1rem; |
46 | | - background-color: rgba(17, 17, 17, 0.85); |
| 44 | + background-color: rgba(17, 17, 17, 0.8); |
47 | 45 | } |
48 | 46 |
|
49 | 47 | header img { |
|
58 | 56 | header p { font-size: 1.1rem; color: #ccc; margin-top: 0.5rem; } |
59 | 57 |
|
60 | 58 | .marquee { |
61 | | - background-color: rgba(17, 17, 17, 0.85); |
| 59 | + background-color: rgba(17, 17, 17, 0.8); |
62 | 60 | padding: 1rem 0; |
63 | 61 | overflow: hidden; |
| 62 | + position: relative; |
64 | 63 | } |
65 | 64 |
|
66 | 65 | .marquee-content { |
|
98 | 97 | margin: auto; |
99 | 98 | background-color: rgba(0, 0, 0, 0.5); |
100 | 99 | border-radius: 10px; |
101 | | - margin-top: 1rem; |
102 | 100 | } |
103 | 101 |
|
104 | 102 | section h2 { |
|
145 | 143 | .register-button:hover { background-color: #00FFD1; } |
146 | 144 |
|
147 | 145 | footer { |
148 | | - background-color: rgba(17, 17, 17, 0.85); |
| 146 | + background-color: rgba(17, 17, 17, 0.8); |
149 | 147 | text-align: center; |
150 | 148 | padding: 1.5rem; |
151 | 149 | color: #999; |
@@ -255,46 +253,31 @@ <h2>Work With Us</h2> |
255 | 253 | </footer> |
256 | 254 | </main> |
257 | 255 |
|
258 | | - <!-- Load particles.js --> |
| 256 | + <!-- Particles.js library --> |
259 | 257 | <script src="https://cdn.jsdelivr.net/particles.js/2.0.0/particles.min.js"></script> |
260 | 258 | <script> |
261 | 259 | 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 } |
287 | 268 | }, |
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" } |
292 | 274 | }, |
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 } |
295 | 278 | } |
296 | 279 | }, |
297 | | - retina_detect: true |
| 280 | + "retina_detect": true |
298 | 281 | }); |
299 | 282 | </script> |
300 | 283 | </body> |
|
0 commit comments