-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.html
More file actions
232 lines (226 loc) · 6.27 KB
/
Copy pathindex.html
File metadata and controls
232 lines (226 loc) · 6.27 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
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>32 Matrix Rain</title>
<style>
:root {
--bg: #000000;
--mx-dim: #003b00;
--mx: #00a830;
--mx-hi: #62ff9d;
--mx-white: #ccffcc;
--warn: #ff3860;
--font: "Matrix Code NFI", "MS Mincho", "MS Gothic", "Courier New", monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
background: var(--bg);
color: var(--mx);
font-family: var(--font);
min-height: 100vh;
overflow-x: hidden;
position: relative;
}
#rain {
position: fixed;
inset: 0;
pointer-events: none;
z-index: 0;
overflow: hidden;
}
.col {
position: absolute;
top: -100px;
font-family: var(--font);
font-size: 18px;
line-height: 1.1;
color: var(--mx);
text-shadow: 0 0 6px var(--mx);
white-space: pre;
animation-name: fall;
animation-timing-function: linear;
animation-iteration-count: infinite;
}
@keyframes fall {
from { transform: translateY(-100%); }
to { transform: translateY(110vh); }
}
.col .head {
color: var(--mx-white);
text-shadow: 0 0 10px var(--mx-hi), 0 0 20px var(--mx-hi);
}
.col .bright { color: var(--mx-hi); text-shadow: 0 0 4px var(--mx-hi); }
.col .dim { color: var(--mx-dim); }
.content {
position: relative;
z-index: 1;
padding: 60px 40px;
max-width: 820px;
margin: 0 auto;
text-align: center;
}
h1 {
font-family: var(--font);
font-size: 64px;
color: var(--mx-hi);
text-shadow:
0 0 10px var(--mx),
0 0 20px var(--mx),
0 0 40px var(--mx);
letter-spacing: 12px;
margin-bottom: 8px;
}
.sub {
font-family: var(--font);
font-size: 20px;
color: var(--mx);
text-shadow: 0 0 6px var(--mx);
letter-spacing: 6px;
margin-bottom: 30px;
}
.panel {
background: rgba(0, 20, 0, 0.75);
border: 1px solid var(--mx);
padding: 24px;
margin: 20px 0;
text-align: left;
box-shadow: 0 0 20px rgba(0, 168, 48, 0.4);
backdrop-filter: blur(2px);
}
h2 {
font-family: var(--font);
font-size: 18px;
color: var(--mx-hi);
text-shadow: 0 0 4px var(--mx);
letter-spacing: 4px;
margin-bottom: 10px;
border-bottom: 1px solid var(--mx-dim);
padding-bottom: 4px;
}
p {
font-family: var(--font);
font-size: 16px;
color: var(--mx-hi);
text-shadow: 0 0 4px var(--mx);
line-height: 1.6;
letter-spacing: 1px;
margin-bottom: 8px;
}
.btn {
font-family: var(--font);
font-size: 16px;
background: transparent;
color: var(--mx-hi);
border: 1px solid var(--mx);
padding: 10px 24px;
cursor: pointer;
letter-spacing: 4px;
text-shadow: 0 0 4px var(--mx);
box-shadow: 0 0 12px rgba(0, 168, 48, 0.4), inset 0 0 8px rgba(0, 168, 48, 0.2);
}
.btn:hover {
background: var(--mx);
color: var(--bg);
text-shadow: none;
box-shadow: 0 0 20px var(--mx);
}
.btn-red {
color: var(--warn);
border-color: var(--warn);
text-shadow: 0 0 4px var(--warn);
box-shadow: 0 0 12px rgba(255, 56, 96, 0.4);
}
.input {
font-family: var(--font);
font-size: 16px;
background: rgba(0, 10, 0, 0.8);
color: var(--mx-hi);
border: 1px solid var(--mx);
padding: 8px 12px;
width: 360px;
letter-spacing: 3px;
text-shadow: 0 0 4px var(--mx);
}
.row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; justify-content: center; margin: 10px 0; }
pre.code {
font-family: var(--font);
font-size: 15px;
color: var(--mx);
text-shadow: 0 0 4px var(--mx);
line-height: 1.4;
white-space: pre;
}
pre.code .k { color: var(--mx-hi); }
pre.code .s { color: var(--mx-white); }
pre.code .c { color: var(--mx-dim); }
.status {
font-family: var(--font);
font-size: 14px;
color: var(--mx-dim);
text-shadow: 0 0 4px var(--mx-dim);
letter-spacing: 3px;
margin-top: 30px;
}
.blink { animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0.2; } }
</style>
</head>
<body>
<div id="rain"></div>
<div class="content">
<h1>WAKE UP</h1>
<div class="sub">◂ FOLLOW THE WHITE RABBIT ▸</div>
<div class="panel">
<h2>> SYSTEM BREACH DETECTED</h2>
<p>The Matrix has you. Half-width katakana and reversed digits cascade down glass. Head glyph bright white. Trail fades to black.</p>
<p class="blink">> Knock knock, Neo._</p>
</div>
<div class="panel">
<h2>> SHELL</h2>
<pre class="code"><span class="c">// trace route to source</span>
<span class="k">root@zion</span>:~# <span class="s">./jack_in.sh</span>
<span class="c">[</span><span class="k">OK</span><span class="c">] Neural link established</span>
<span class="c">[</span><span class="k">OK</span><span class="c">] Construct loaded: </span><span class="s">dojo.lua</span>
<span class="c">[..] Searching for Agent Smith... </span><span class="blink">_</span></pre>
</div>
<div class="panel">
<h2>> CHOOSE</h2>
<div class="row">
<input class="input" value="> enter the matrix_">
</div>
<div class="row">
<button class="btn btn-red">● RED PILL</button>
<button class="btn">○ BLUE PILL</button>
</div>
</div>
<div class="status">◂◂ CONNECTION 192.168.1.1 · ENCRYPTED · OPERATOR STANDING BY ▸▸</div>
</div>
<script>
const rain = document.getElementById('rain');
const glyphs = 'ヲアウエオカキケサスセソタツテナニヌネハヒホマミムメモヤユラリワ0123456789:.=*+-<>¦|';
const cols = Math.floor(window.innerWidth / 20);
for (let i = 0; i < cols; i++) {
const c = document.createElement('div');
c.className = 'col';
c.style.left = (i * 20) + 'px';
const len = 8 + Math.floor(Math.random() * 22);
const dur = 6 + Math.random() * 10;
const delay = -Math.random() * dur;
c.style.animationDuration = dur + 's';
c.style.animationDelay = delay + 's';
let html = '';
for (let j = 0; j < len; j++) {
const g = glyphs[Math.floor(Math.random() * glyphs.length)];
let cls = '';
if (j === 0) cls = 'head';
else if (j < 3) cls = 'bright';
else if (j > len - 4) cls = 'dim';
html += cls ? `<span class="${cls}">${g}</span>\n` : `${g}\n`;
}
c.innerHTML = html;
rain.appendChild(c);
}
</script>
</body>
</html>