Testing347 commited on
Commit
4052fb3
Β·
verified Β·
1 Parent(s): 431476c

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +33 -12
index.html CHANGED
@@ -27,25 +27,46 @@
27
  -------------------------------------------------------------
28
  */
29
 
30
- /* Pulse animation: fade in/out with a more dramatic range (0.4 β†’ 1 β†’ 0.4) */
 
 
31
  @keyframes pulse {
32
- 0% { opacity: 0.4; }
33
- 50% { opacity: 1; }
34
- 100% { opacity: 0.4; }
35
  }
36
 
37
- /* Float animation: move element up and down by 40px (double of 20px) */
 
 
 
38
  @keyframes float {
39
- 0% { transform: translateY(0px); }
40
- 50% { transform: translateY(-40px); }
41
- 100% { transform: translateY(0px); }
42
  }
43
 
44
- /* Glow animation: increase box-shadow spread to 40px ⇄ 80px (double of 20px ⇄ 40px) */
 
 
 
45
  @keyframes glow {
46
- 0% { box-shadow: 0 0 40px rgba(99, 102, 241, 0.5); }
47
- 50% { box-shadow: 0 0 80px rgba(99, 102, 241, 0.8); }
48
- 100% { box-shadow: 0 0 40px rgba(99, 102, 241, 0.5); }
 
 
 
 
 
 
 
 
 
 
 
 
 
49
  }
50
 
51
  /* Apply float and glow to the β€œconscious orb” icon */
 
27
  -------------------------------------------------------------
28
  */
29
 
30
+ /* β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”
31
+ 1) Pulse: fade between 0.2 ↔ 1 opacity (very dramatic)
32
+ β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€” */
33
  @keyframes pulse {
34
+ 0% { opacity: 0.2; }
35
+ 50% { opacity: 1; }
36
+ 100% { opacity: 0.2; }
37
  }
38
 
39
+ /* β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”
40
+ 2) Float: move element up and down by 80px
41
+ (original was Β±10px; we’re now doing Β±80px)
42
+ β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€” */
43
  @keyframes float {
44
+ 0% { transform: translateY(0px); }
45
+ 50% { transform: translateY(-80px); }
46
+ 100% { transform: translateY(0px); }
47
  }
48
 
49
+ /* β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”
50
+ 3) Glow: box‐shadow going from 80px ⇄ 160px blur
51
+ (original was 10px ⇄ 20px; we’re now doing 80px ⇄ 160px)
52
+ β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€” */
53
  @keyframes glow {
54
+ 0% { box-shadow: 0 0 80px rgba(99, 102, 241, 0.5); }
55
+ 50% { box-shadow: 0 0 160px rgba(99, 102, 241, 0.8); }
56
+ 100% { box-shadow: 0 0 80px rgba(99, 102, 241, 0.5); }
57
+ }
58
+
59
+ /* β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”
60
+ Make sure your β€œ.conscious-orb” (or whatever class
61
+ you’re animating) still points to these keyframes.
62
+ For example:
63
+ β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€” */
64
+ .conscious-orb {
65
+ /* Adjust timing however you like; these are just examples */
66
+ animation:
67
+ float 6s ease-in-out infinite,
68
+ glow 3s ease-in-out infinite,
69
+ pulse 2s ease-in-out infinite; /* you can add pulse as well */
70
  }
71
 
72
  /* Apply float and glow to the β€œconscious orb” icon */