-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
161 lines (149 loc) · 4.5 KB
/
index.html
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
<!doctype html>
<html>
<head>
<title>.:. +rehabstudio 10th Birthday Party .:.</title>
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=VT323" />
<link rel="stylesheet" href="common.css" />
<style>
body {
background: black url('./assets/static.gif') repeat center center;
background-size: 500px;
}
#controls {
position: absolute;
overflow: hidden;
opacity: 0.5;
width: 20px;
height: 20px;
bottom: 0;
left: 0;
z-index: 60;
}
#instructions {
background: rgba(0, 0, 0, 0.5);
color: white;
position: absolute;
z-index: 40;
bottom: 30px;
left: 30px;
font-size: 2em;
padding: 1em;
pointer-events: none;
opacity: 0;
transition: opacity 3s linear;
-webkit-transition: opacity 3s linear;
}
#instructions.visible {
transition: none;
opacity: 1;
}
#instructions p {
padding: 0;
margin: 0;
line-height: 1.4;
}
#frame {
width: 100%;
height: 100%;
overflow: hidden;
position: relative;
}
#mainframe {
background: transparent;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
margin: 0;
padding: 0;
border: 0;
z-index: 10;
pointer-events: none;
}
#cross {
position: absolute;
width: 500px;
height: 500px;
top: 50%;
left: 50%;
margin-top: -250px;
margin-left: -250px;
background: transparent url('./assets/static.gif') repeat center center;
background-size: 502px;
-webkit-clip-path: polygon(
0% 35%,
35% 35%,
35% 0%,
65% 0%,
65% 35%,
100% 35%,
100% 65%,
65% 65%,
65% 100%,
35% 100%,
35% 65%,
0% 65%
);
clip-path: polygon(
0% 35%,
35% 35%,
35% 0%,
65% 0%,
65% 35%,
100% 35%,
100% 65%,
65% 65%,
65% 100%,
35% 100%,
35% 65%,
0% 65%
);
}
#osd {
position: absolute;
z-index: 30;
top: 20px;
right: 20px;
background: black;
text-align: right;
padding: 0.5em;
font-size: 3em;
font-family: 'VT323', monospace;
color: #00ff00;
text-transform: lowercase;
display: none;
}
#channel-name {
text-transform: uppercase;
}
#osd.visible {
display: block;
}
</style>
</head>
<body>
<div id="controls">
<input type="text" size="1" readonly />
</div>
<div id="frame">
<iframe id="mainframe" width="100%" height="100%" allowscrolling="no" frameborder="0" src=""></iframe>
<div id="cross"></div>
</div>
<div id="osd">
<span id="channel-name">algoviz</span><br />
<small id="channel-author">Neil</small>
</div>
<div id="instructions" class="visible">
<div id="channel-list">
<p>0 - [dead]</p>
</div>
<div>
<p>------</p>
<p>r - toggle auto-random</p>
</div>
</div>
<script src="https://unpkg.com/[email protected]"></script>
<script src="main.js"></script>
</body>
</html>