-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
85 lines (73 loc) · 2.05 KB
/
style.css
File metadata and controls
85 lines (73 loc) · 2.05 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
@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;700&display=swap');
:root {
--hacker-green: #00ff41;
--hacker-dark: #0d0208;
--hacker-glow: rgba(0, 255, 65, 0.2);
}
body {
background-color: var(--hacker-dark);
color: var(--hacker-green);
font-family: 'Fira Code', monospace;
}
.crt-overlay {
position: fixed;
top: 0; left: 0; width: 100%; height: 100%;
background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.1) 50%),
linear-gradient(90deg, rgba(255, 0, 0, 0.03), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.03));
background-size: 100% 2px, 3px 100%;
pointer-events: none;
z-index: 50;
}
.terminal-border {
border: 1px solid var(--hacker-green);
box-shadow: 0 0 10px var(--hacker-glow);
}
#preview-canvas {
image-rendering: pixelated;
max-width: 100%;
max-height: 400px;
}
.custom-scrollbar::-webkit-scrollbar { width: 4px; }
.custom-scrollbar::-webkit-scrollbar-track { background: #000; }
.custom-scrollbar::-webkit-scrollbar-thumb { background: var(--hacker-green); }
.scan-active {
position: relative;
}
/* One-time scan animation triggered by class */
.scan-active.animating::after {
content: "";
position: absolute;
left: 0; right: 0;
height: 3px;
background: var(--hacker-green);
box-shadow: 0 0 15px var(--hacker-green);
animation: scan-once 1.5s ease-in-out forwards;
z-index: 10;
}
@keyframes scan-once {
0% { top: 0%; opacity: 0; }
10% { opacity: 1; }
90% { opacity: 1; }
100% { top: 100%; opacity: 0; }
}
.drag-over {
background-color: rgba(0, 255, 65, 0.1);
border-color: var(--hacker-green);
}
.spinner {
border: 2px solid rgba(0, 255, 65, 0.3);
border-top: 2px solid var(--hacker-green);
border-radius: 50%;
width: 20px;
height: 20px;
animation: spin 1s linear infinite;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
#camera-video {
border: 1px solid var(--hacker-green);
background: #000;
min-height: 200px;
}