-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathindex.html
126 lines (113 loc) · 3.44 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>POD2000</title>
<link href="https://fonts.googleapis.com/css?family=VT323" rel="stylesheet">
<style>
html {
cursor: none;
}
body {
font-family: 'VT323', monospace;
font-size: 19.99995px;
background: #000;
}
canvas {
margin: auto;
}
input[type="text"] {
font-family: 'VT323', monospace;
font-size: 19.99995px;
color: #1ec503;
position: absolute;
top: 450px;
left: calc(50vw - 540px + 240px);
width: 450px;
background: transparent;
border: 0;
outline: 0;
cursor: none;
-webkit-user-select: none; /* Chrome/Safari */
-moz-user-select: none; /* Firefox */
-ms-user-select: none; /* IE10+ */
/* Rules below not implemented in browsers yet */
-o-user-select: none;
user-select: none;
cursor: none;
}
textarea {
font-family: 'VT323', monospace;
font-size: 19.99995px;
color: #1ec503;
position: absolute;
top: 150px;
left: calc(50vw - 540px + 220px);
width: 450px;
background: transparent;
border: 0;
outline: 0;
height: 295px;
overflow-y: hidden;
resize: none;
-webkit-user-select: none; /* Chrome/Safari */
-moz-user-select: none; /* Firefox */
-ms-user-select: none; /* IE10+ */
/* Rules below not implemented in browsers yet */
-o-user-select: none;
user-select: none;
cursor: none;
}
#shellPrompt {
font-family: 'VT323', monospace;
font-size: 19.99995px;
color: #1ec503;
position: absolute;
top: 450px;
left: calc(50vw - 540px + 225px);
cursor: none;
-webkit-user-select: none; /* Chrome/Safari */
-moz-user-select: none; /* Firefox */
-ms-user-select: none; /* IE10+ */
/* Rules below not implemented in browsers yet */
-o-user-select: none;
user-select: none;
cursor: none;
}
img {
position: absolute;
top: 0;
left: calc(50vw - 540px + 40px);
}
.shake {
animation: shake 0.82s cubic-bezier(.36,.07,.19,.97) both;
transform: translate3d(0, 0, 0);
backface-visibility: hidden;
perspective: 1000px;
}
@keyframes shake {
10%, 90% {
transform: translate3d(-1px, 0, 0);
}
20%, 80% {
transform: translate3d(2px, 0, 0);
}
30%, 50%, 70% {
transform: translate3d(-4px, 0, 0);
}
40%, 60% {
transform: translate3d(4px, 0, 0);
}
}
</style>
<link rel="icon" type="image/png" sizes="32x32" href="favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="favicon-16x16.png">
</head>
<body>
<div class="app">
<div id="gameDiv"></div>
</div>
<script type="text/javascript" src="lib/phaser.js"></script>
<script type="text/javascript" src="build/bundle.js"></script>
</body>
</html>