-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path404.html
More file actions
87 lines (74 loc) · 2.26 KB
/
Copy path404.html
File metadata and controls
87 lines (74 loc) · 2.26 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
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" href="/favicon.png">
<meta name="color-scheme" content="dark">
<link rel="stylesheet" href="/src/style.css">
<title>dEstinyOS</title>
</head>
<body>
<div id="overlay"></div>
<div class="dialog">
where am i now?<br><br>
i can't see anything..<br>
..forget seeing, i can't <i>feel</i> anything..<br>
not my legs or my arms..<br><br>
i'm scared..<br>
i wanna <a href="/" class="stealth">go home</a>..
</div>
<a class="stealth" href="/preview" style="
position: absolute;
color: #ffffff05;
bottom: 8px;
left: 8px;
">take me to the future...</a>
<div class="bgm-container">
<svg
class="play-button paused"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
fill="currentColor"
>
<path d="M14,19H18V5H14M6,19H10V5H6V19Z" />
</svg>
<div class="name" style="display: inline-block; line-height: 1em; vertical-align: center;">
irrational operation<br>
</div>
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
fill="currentColor"
style="margin-right: 6px"
>
<path d="M21,3V15.5A3.5,3.5 0 0,1 17.5,19A3.5,3.5 0 0,1 14,15.5A3.5,3.5 0 0,1 17.5,12C18.04,12 18.55,12.12 19,12.34V6.47L9,8.6V17.5A3.5,3.5 0 0,1 5.5,21A3.5,3.5 0 0,1 2,17.5A3.5,3.5 0 0,1 5.5,14C6.04,14 6.55,14.12 7,14.34V6L21,3Z" />
</svg>
<audio name="player" autoplay loop>
<source src="/resources/irrational operation.ogg">
</audio>
<script id="5d82b31f-eeef-4f1f-a1b2-7f1b29d36aa8">
const self = document.getElementById("5d82b31f-eeef-4f1f-a1b2-7f1b29d36aa8")
const playButton = self.parentElement.querySelector('.play-button')
const player = self.parentElement.children.player
player.volume = 0.75
if (player.paused)
playButton.classList.toggle('paused', true)
player.addEventListener('playing', ev => {
playButton.classList.toggle('paused', false)
})
player.addEventListener('pause', ev => {
playButton.classList.toggle('paused', true)
})
player.addEventListener('canplaythrough', ev => {
player.play()
})
playButton.addEventListener('click', ev => {
if (player.paused)
player.play()
else
player.pause()
})
</script>
</div>
</body>
</html>