|
11 | 11 | --highlight: 0 0% 100%; /* Light mode: white color */ |
12 | 12 | --gray-light: 0 0% 95%; /* Light mode: gray-100 */ |
13 | 13 |
|
14 | | - |
15 | 14 | --card: 0 0% 100%; |
16 | 15 | --card-foreground: 222.2 84% 4.9%; |
17 | 16 |
|
|
44 | 43 | --background: 222.2 84% 4.9%; |
45 | 44 | --foreground: 210 40% 98%; |
46 | 45 |
|
47 | | - --highlight: 222.2 84% 4.9%; /* Dark mode: light gray */ |
| 46 | + --highlight: 222.2 84% 4.9%; /* Dark mode: light gray */ |
48 | 47 | --gray-light: 222.2 84% 7%; /* Dark mode: dark gray */ |
49 | 48 |
|
50 | 49 | --card: 222.2 84% 4.9%; |
|
72 | 71 | --input: 217.2 32.6% 25%; /* Darkened from 17.5% to 25% */ |
73 | 72 | --ring: 212.7 26.8% 83.9%; |
74 | 73 | } |
75 | | -} |
76 | 74 |
|
77 | | -@layer base { |
| 75 | + /* Apply global border style and background colors */ |
78 | 76 | * { |
79 | 77 | @apply border-border; |
80 | 78 | } |
81 | 79 | body { |
82 | 80 | @apply bg-background text-foreground; |
| 81 | + margin: 0; |
| 82 | + overflow: hidden; |
| 83 | + } |
| 84 | + |
| 85 | + /* Custom Keyframes & Animations */ |
| 86 | + @keyframes twinkle { |
| 87 | + 0% { opacity: 0.2; } |
| 88 | + 50% { opacity: 1; } |
| 89 | + 100% { opacity: 0.2; } |
| 90 | + } |
| 91 | + @keyframes float { |
| 92 | + 0%, 100% { transform: translateY(0); } |
| 93 | + 50% { transform: translateY(-10px); } |
| 94 | + } |
| 95 | + @keyframes float-slow { |
| 96 | + 0%, 100% { transform: translateY(0px); } |
| 97 | + 50% { transform: translateY(-5px); } |
| 98 | + } |
| 99 | + @keyframes float-slow-reverse { |
| 100 | + 0%, 100% { transform: translateY(0px); } |
| 101 | + 50% { transform: translateY(5px); } |
| 102 | + } |
| 103 | + @keyframes float-medium { |
| 104 | + 0%, 100% { transform: translateY(0px); } |
| 105 | + 50% { transform: translateY(-8px); } |
| 106 | + } |
| 107 | + @keyframes ping-slow { |
| 108 | + 0% { transform: scale(1); opacity: 1; } |
| 109 | + 50% { transform: scale(1.5); opacity: 0.5; } |
| 110 | + 100% { transform: scale(1); opacity: 1; } |
| 111 | + } |
| 112 | + @keyframes pulse-slow { |
| 113 | + 0%, 100% { opacity: 0.1; } |
| 114 | + 50% { opacity: 0.3; } |
| 115 | + } |
| 116 | + @keyframes shootingStar { |
| 117 | + 0% { transform: translate(-100px, -100px) rotate(45deg); opacity: 0; } |
| 118 | + 10% { opacity: 1; } |
| 119 | + 20% { transform: translate(120vw, 120vh) rotate(45deg); opacity: 0; } |
| 120 | + 100% { opacity: 0; } |
| 121 | + } |
| 122 | + |
| 123 | + /* Custom Animation Classes */ |
| 124 | + .animate-float-slow { |
| 125 | + animation: float-slow 4s infinite ease-in-out; |
| 126 | + } |
| 127 | + .animate-float-slow-reverse { |
| 128 | + animation: float-slow-reverse 4s infinite ease-in-out; |
| 129 | + } |
| 130 | + .animate-float-medium { |
| 131 | + animation: float-medium 5s infinite ease-in-out; |
| 132 | + } |
| 133 | + .animate-ping-slow { |
| 134 | + animation: ping-slow 2s infinite; |
| 135 | + } |
| 136 | + .animate-pulse-slow { |
| 137 | + animation: pulse-slow 2s infinite; |
| 138 | + } |
| 139 | + .delay-300 { |
| 140 | + animation-delay: 0.3s; |
83 | 141 | } |
84 | 142 | } |
85 | 143 |
|
|
99 | 157 | border-color: hsl(var(--gray-light)); |
100 | 158 | } |
101 | 159 | } |
| 160 | +@keyframes flicker { |
| 161 | + 0%, 100% { transform: scale(1); opacity: 1; } |
| 162 | + 50% { transform: scale(1.05); opacity: 0.95; } |
| 163 | +} |
| 164 | + |
| 165 | +.animate-flicker { |
| 166 | + animation: flicker 1.2s ease-in-out infinite; |
| 167 | +} |
| 168 | + |
| 169 | +@keyframes wickFlicker { |
| 170 | + 0%, 100% { transform: translateX(0); } |
| 171 | + 50% { transform: translateX(1px); } |
| 172 | +} |
| 173 | + |
| 174 | +.animate-wickFlicker { |
| 175 | + animation: wickFlicker 0.5s infinite; |
| 176 | +} |
0 commit comments