-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.css
More file actions
176 lines (161 loc) · 5.2 KB
/
index.css
File metadata and controls
176 lines (161 loc) · 5.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
@tailwind base;
@tailwind components;
@tailwind utilities;
/* Custom Styles migrated from index.html */
body {
background-color: #050505;
color: #e4e4e7;
font-family: 'JetBrains Mono', monospace;
overflow: hidden;
}
/* Custom Scrollbar */
::-webkit-scrollbar {
width: 6px;
height: 6px;
}
::-webkit-scrollbar-track {
background: #09090b;
}
::-webkit-scrollbar-thumb {
background: #27272a;
border-radius: 0;
}
::-webkit-scrollbar-thumb:hover {
background: #3f3f46;
}
.font-display {
font-family: 'Rajdhani', sans-serif;
}
/* CRT Overlay Effect */
.crt-overlay::before {
content: " ";
display: block;
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
z-index: 2;
background-size: 100% 2px, 3px 100%;
pointer-events: none;
}
/* Range Slider Styling */
input[type=range] {
-webkit-appearance: none;
background: transparent;
}
input[type=range]::-webkit-slider-thumb {
-webkit-appearance: none;
height: 16px;
width: 16px;
background: #06b6d4;
border: 2px solid #000;
cursor: pointer;
margin-top: -6px;
}
input[type=range]::-webkit-slider-runnable-track {
width: 100%;
height: 4px;
cursor: pointer;
background: #27272a;
}
@keyframes pulse-slow {
0%, 100% { opacity: 1; transform: scale(1); }
50% { opacity: 0.5; transform: scale(0.9); }
}
@keyframes scanline {
0% { transform: translateY(-100vh); }
100% { transform: translateY(100vh); }
}
@keyframes loading-bar {
0% { width: 0%; left: 0%; }
50% { width: 30%; left: 35%; }
100% { width: 0%; left: 100%; }
}
/* Fancy Exit Transition */
@keyframes slide-out-top {
0% { transform: translateY(0); filter: brightness(1) blur(0px); }
20% { transform: translateY(20px); filter: brightness(1.5) blur(2px); }
100% { transform: translateY(-120%); filter: brightness(2) blur(10px); }
}
.animate-scanline {
animation: scanline 8s linear infinite;
}
.animate-loading-bar {
animation: loading-bar 4s ease-in-out infinite;
}
.animate-pulse-slow {
animation: pulse-slow 4s ease-in-out infinite;
}
.animate-exit-purge {
animation: slide-out-top 0.8s cubic-bezier(0.7, 0, 0.3, 1) forwards;
}
/* Glitch Title Effect */
.glitch { position: relative; display: inline-block; }
.glitch::before,
.glitch::after {
content: attr(data-text);
position: absolute; inset: 0; width: 100%; height: 100%;
overflow: hidden; pointer-events: none;
}
.glitch { animation: glitch-skew 2.5s infinite steps(8, end); }
.glitch::before {
color: #22d3ee; mix-blend-mode: screen;
animation: glitch-clip-1 2s infinite linear alternate-reverse;
text-shadow: 1px 0 0 #22d3ee, -1px 0 0 #22d3ee;
}
.glitch::after {
color: #f472b6; mix-blend-mode: screen;
animation: glitch-clip-2 2s infinite linear alternate;
text-shadow: -1px 0 0 #f472b6, 1px 0 0 #f472b6;
}
@keyframes glitch-skew {
0% { transform: skew(0deg); }
20% { transform: skew(1deg); }
40% { transform: skew(-1.5deg); }
60% { transform: skew(0.8deg); }
80% { transform: skew(-0.6deg); }
100% { transform: skew(0deg); }
}
@keyframes glitch-clip-1 {
0% { clip-path: inset(0 0 70% 0); transform: translate(0, 0); }
10% { clip-path: inset(10% 0 60% 0); transform: translate(-2px, -1px); }
20% { clip-path: inset(20% 0 40% 0); transform: translate(2px, 1px); }
30% { clip-path: inset(40% 0 20% 0); transform: translate(-1px, 2px); }
45% { clip-path: inset(60% 0 10% 0); transform: translate(1px, -2px); }
60% { clip-path: inset(30% 0 30% 0); transform: translate(-2px, 0); }
80% { clip-path: inset(10% 0 50% 0); transform: translate(0, 2px); }
100% { clip-path: inset(0 0 70% 0); transform: translate(0, 0); }
}
@keyframes glitch-clip-2 {
0% { clip-path: inset(70% 0 0 0); transform: translate(0, 0); }
10% { clip-path: inset(60% 0 10% 0); transform: translate(2px, 1px); }
20% { clip-path: inset(40% 0 20% 0); transform: translate(-2px, -1px); }
35% { clip-path: inset(20% 0 40% 0); transform: translate(1px, -2px); }
55% { clip-path: inset(10% 0 60% 0); transform: translate(-1px, 2px); }
70% { clip-path: inset(30% 0 30% 0); transform: translate(2px, 0); }
90% { clip-path: inset(50% 0 10% 0); transform: translate(0, -2px); }
100% { clip-path: inset(70% 0 0 0); transform: translate(0, 0); }
}
/* Vibrate button */
@keyframes vibrate {
0% { transform: translate(0,0) rotate(0); }
10% { transform: translate(-1px, 1px) rotate(0.2deg); }
20% { transform: translate(1px, -1px) rotate(-0.2deg); }
30% { transform: translate(1px, 1px) rotate(0.1deg); }
40% { transform: translate(-1px, -1px) rotate(-0.1deg); }
50% { transform: translate(0.5px, -0.5px) rotate(0.15deg); }
60% { transform: translate(-0.5px, 0.5px) rotate(-0.15deg); }
70% { transform: translate(1px, 0) rotate(0.1deg); }
80% { transform: translate(-1px, 0) rotate(-0.1deg); }
90% { transform: translate(0, 1px) rotate(0.05deg); }
100% { transform: translate(0,0) rotate(0); }
}
.animate-vibrate {
animation: vibrate 0.25s infinite steps(8, end);
will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
.glitch, .glitch::before, .glitch::after, .animate-vibrate { animation: none !important; }
}