-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
144 lines (129 loc) · 3.92 KB
/
index.html
File metadata and controls
144 lines (129 loc) · 3.92 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport"
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<meta name="theme-color" content="#000000" />
<title>CIPHER_TERMINAL</title>
<link rel="manifest" href="./manifest.json" />
<script src="https://cdn.tailwindcss.com"></script>
<script>
tailwind.config = {
theme: {
extend: {
fontFamily: {
mono: ['ui-monospace', 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', '"Liberation Mono"', '"Courier New"', 'monospace'],
sans: ['system-ui', '-apple-system', 'BlinkMacSystemFont', '"Segoe UI"', 'Roboto', 'sans-serif'],
},
colors: {
background: '#000000',
surface: '#050505',
brand: '#ff0033', // Stark harsh red
},
animation: {
'flicker': 'flicker 0.15s infinite',
'scanline': 'scanline 8s linear infinite',
'glitch': 'glitch 1s linear infinite',
'pulse-fast': 'pulse 1s cubic-bezier(0.4, 0, 0.6, 1) infinite',
},
keyframes: {
flicker: {
'0%': { opacity: '0.97' },
'100%': { opacity: '1' },
},
scanline: {
'0%': { transform: 'translateY(-100%)' },
'100%': { transform: 'translateY(100vh)' },
},
glitch: {
'2%, 64%': { transform: 'translate(2px, 0) skew(0deg)' },
'4%, 60%': { transform: 'translate(-2px, 0) skew(0deg)' },
'62%': { transform: 'translate(0, 0) skew(5deg)' },
}
}
}
}
}
</script>
<style>
body {
background-color: #000000;
color: #d1d5db;
overflow-x: hidden;
}
/* Intense CRT / Vignette Overlay */
body::before {
content: " ";
display: block;
position: fixed;
inset: 0;
background: radial-gradient(circle at center, transparent 40%, #000000 100%),
linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.35) 50%);
background-size: 100% 100%, 100% 4px;
z-index: 999;
pointer-events: none;
}
.scanline-effect {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 15px;
background: rgba(255, 0, 51, 0.05);
opacity: 0.6;
animation: scanline 10s linear infinite;
pointer-events: none;
z-index: 1000;
}
/* Data Encryption Text Effect */
.encrypted-text {
font-family: monospace;
letter-spacing: 0.2em;
position: relative;
}
.glitch-hover:hover {
animation: glitch 0.2s linear infinite;
color: #ff0033;
text-shadow: 2px 0 blue, -2px 0 red;
}
::-webkit-scrollbar {
width: 2px;
}
::-webkit-scrollbar-track {
background: #000;
}
::-webkit-scrollbar-thumb {
background: #333;
}
::-webkit-scrollbar-thumb:hover {
background: #ff0033;
}
/* Dynamic Typography Scaling */
h1 {
font-size: clamp(2rem, 6vw, 6rem);
line-height: 1;
letter-spacing: -0.05em;
}
.text-fluid-base {
font-size: clamp(0.875rem, 1.5vw, 1.5rem);
line-height: 1.4;
}
.text-fluid-sm {
font-size: clamp(0.65rem, 1vw, 1.1rem);
}
.text-fluid-lg {
font-size: clamp(3rem, 10vw, 12rem);
line-height: 0.85;
}
</style>
<link rel="stylesheet" href="./index.css">
</head>
<body class="antialiased min-h-screen flex flex-col selection:bg-brand selection:text-black animate-flicker">
<div class="scanline-effect"></div>
<div id="root" class="flex-grow flex flex-col relative z-10 w-full mx-auto font-sans"></div>
<script type="module" src="./index.tsx"></script>
</body>
</html>