-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
46 lines (46 loc) · 1.25 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
<!DOCTYPE html>
<html>
<head>
<meta charset=UTF-8>
<title>Night Shift Barista</title>
<style>
html,body{
margin:0;
padding:0;
overflow:hidden;
background-color:#000;
position:relative;
height: 100%;
}
body > div { position: relative; }
canvas,img{
image-rendering: -moz-crisp-edges;
image-rendering: -webkit-crisp-edges;
image-rendering: pixelated;
image-rendering: crisp-edges;
-webkit-touch-callout: none !important;
-webkit-user-select:none !important;
-o-user-select: none;
user-select: none;
}
#ipt {
display: none;
position: absolute;
bottom: 0;
opacity: 0.4;
height: 20%;
width: 100%;
text-align: center;
}
#ipt img {
display: inline-block;
padding: 2vw;
width: 24vw;
}
</style>
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0"/>
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
</head>
<body><div><canvas id=c></canvas><div id=ipt><img src="assets/down.svg" id=btndown><img src="assets/up.svg" id=btnup><img src="assets/act.svg" id=btnact></div></div><script src=index.js></script></body>
</html>