-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathballs_greeter.html
More file actions
307 lines (245 loc) · 9.5 KB
/
Copy pathballs_greeter.html
File metadata and controls
307 lines (245 loc) · 9.5 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
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
<html>
<head>
<title>Hello!</title>
<style>
@font-face {
font-family: "nec_apc";
src: url("https://plaao.net/shared/fonts/Web437_NEC_APC3_8x16.woff") format("woff");
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: "terminus";
src: url("https://plaao.net/shared/fonts/Terminus.woff") format("woff");
font-weight: normal;
font-style: normal;
}
body {
color: white;
background-color: black;
font-family: "MS Gothic", "terminus", "nec_apc";
font-size: 2vmin;
}
.content-container {
margin-top: 4vmin;
margin-left: auto;
margin-right: auto;
width: 50%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
white-space: wrap;
text-align: center;
}
.main-title {
font-size: 6vmin;
font-weight: bold;
margin-bottom: 2vmin;
}
.main-subtitle {
font-size: 2vmin;
margin-bottom: 1vmin;
}
.links .link {
border: 1px solid white;
background-color: #020;
display: flex;
flex-direction: row;
padding: 1vmin;
margin-top: 2vmin;
margin-bottom: 2vmin;
}
.links .link:hover {
background-color: #060;
}
.links .link.down {
background-color: black;
}
.links .link.dangerous {
background-color: #200;
}
.links .link.dangerous:hover {
background-color: #600;
}
.links .link.dangerous.down {
background-color: black;
}
.links .link.blue {
background-color: #023;
}
.links .link.blue:hover {
background-color: #07a;
}
.links .link.blue.down {
background-color: black;
}
/* */
.links .link.tiktok {
background-color: #1a1a1a;
}
.links .link.tiktok:hover {
background-color: #555;
}
.links .link.tiktok.down {
background-color: black;
}
/* */
.links .link.instagram {
background-color: #303;
}
.links .link.instagram:hover {
background-color: #609;
}
.links .link.instagram.down {
background-color: black;
}
/* */
.links .link .text {
display: flex;
flex-direction: column;
text-align: left;
}
.links .link img {
border: 1px solid white;
background-color: black;
width: round(4vmin, 16px);
height: round(4vmin, 16px);
margin-right: 1vmin;
padding: 0.5vmin;
image-rendering: pixelated;
}
.links .link a {
color: greenyellow;
font-size: 2vmin;
}
.links .link.dangerous a {
color: coral;
}
.links .link.blue a {
color: cyan;
}
.links .link.tiktok a {
color: #fff;
}
.links .link.instagram a {
color: #e8f;
}
.links .link .desc {
margin-top: 0.5vmin;
font-size: 1.5vmin;
color: #aaa;
}
.footer {
margin-top: 2vmin;
font-size: 1.5vmin;
color: #888;
}
.highlight {
color: #0ff;
}
.link-set {
display: flex;
flex-direction: row;
margin-bottom: 4vmin;
}
.link-set .link {
margin: 0;
margin-left: 2vmin;
margin-right: 2vmin;
}
</style>
</head>
<body>
<div class="content-container">
<script>
document.addEventListener("DOMContentLoaded", () => {
document.querySelectorAll(".link").forEach(elem => {
let a_elem = elem.querySelector("a");
let link = a_elem.href;
let fn = () => { a_elem.click() };
let fn2 = () => { elem.classList.add("down") };
let fn3 = () => { elem.classList.remove("down") };
elem.addEventListener("touchstart", fn2);
elem.addEventListener("mousedown", fn2);
elem.addEventListener("touchend", fn3);
elem.addEventListener("mouseleave", fn3);
elem.addEventListener("click", fn);
})
})
</script>
<span class="main-title">Hello!</span>
<span class="main-subtitle">You're probably here because you clicked on my profile link on a @plaaoballs account.</span>
<span class="main-subtitle">I typically go by <span class="highlight">plaaosert</span>, or <span class="highlight">plaao</span>.</span>
<span class="main-subtitle">This is my site, where I post all manner of weird and wonderful things... take a look around if you like.</span>
<div class="links">
<div class="link">
<img src="favicon.ico">
<div class="text">
<a href="https://plaao.net">plaao.net</a>
<span class="desc">My main homepage</span>
</div>
</div>
<div class="link blue">
<img src="balls/img/icons/unarmed_BIG.png">
<div class="text">
<a href="https://plaao.net/balls/index.html">Balls</a>
<span class="desc">This is probably what you're here for.</span>
</div>
</div>
<div class="link-set">
<div class="link tiktok">
<img src="balls/img/icons/tiktok.png">
<div class="text">
<a href="https://www.tiktok.com/@plaaoballs">TikTok</a>
<span class="desc">This is my only TikTok account.</span>
</div>
</div>
<div class="link dangerous">
<img src="balls/img/icons/youtube.png">
<div class="text">
<a href="https://www.youtube.com/@plaaoballs">YouTube</a>
<span class="desc">YouTube alt specifically for plaaoballs.</span>
</div>
</div>
<div class="link instagram">
<img src="balls/img/icons/instagram.png">
<div class="text">
<a href="https://www.instagram.com/plaaoballs/reels/">Instagram</a>
<span class="desc">Instagram alt specifically for plaaoballs.</span>
</div>
</div>
</div>
<div class="link">
<img src="bej/green_funny.png">
<div class="text">
<a href="https://plaao.net/gameslist.html">Games list</a>
<span class="desc">A list of links to my webgames</span>
</div>
</div>
<div class="link">
<img src="looter/sprites/chests/big.png">
<div class="text">
<a href="https://plaao.net/bio.html">Bio</a>
<span class="desc">A tiny description about myself</span>
</div>
</div>
<div class="link dangerous">
<img src="boot/eterna/sprites/ui/icons/eterna_icon_shrunk.png">
<div class="text">
<a href="https://plaao.net/boot/bootscr.html">ETERNA</a>
<span class="desc">A mystery.</span>
</div>
</div>
<div class="link">
<img src="looter/sprites/areas/003.png">
<div class="text">
<a href="https://scrimblo.foundation">scrimblo.foundation</a>
<span class="desc">My silly little """webring"""</span>
</div>
</div>
</div>
<span class="footer">The nec_apc font is created by VileR <a href="https://int10h.org/oldschool-pc-fonts/">https://int10h.org/oldschool-pc-fonts/</a>, subject to CC-SA 4.0.</span></span>
</div>
</body>
</html>