-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
66 lines (65 loc) · 2.47 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
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no,viewport-fit=cover">
<meta name="description" content="Press with 3 fingers to export">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta name="viewport" content="initial-scale=1">
<meta content='yes' name='apple-mobile-web-app-capable'/>
<meta content='yes' name='mobile-web-app-capable'/>
<meta name="apple-mobile-web-app-title" content="TouchTracker">
<link href="./icon.png" rel="apple-touch-icon">
<style>
body {
margin: 0;
background-color: #00b140;
background-color: color(display-p3 0 1 0);
width: 100%;
height:100%;
user-select: none;
}
body,
html {
position: fixed;
}
#tl {
top: env(safe-area-inset-top, 20pt);
left: 20pt;
}
#tr {
top: env(safe-area-inset-top, 20pt);
right: 20pt;
}
#br {
bottom: max(20pt, env(safe-area-inset-bottom, 20pt));
right: 20pt;
}
#bl {
bottom: max(20pt, env(safe-area-inset-bottom, 20pt));
left: 20pt;
}
span {
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
position: absolute;
font-size: 50px;
color: darkgreen;
}
@supports(padding:max(0px)) {
body, header, footer {
padding-left: min(0vmin, env(safe-area-inset-left));
padding-right: min(0vmin, env(safe-area-inset-right));
padding-top: min(0vmin, env(safe-area-inset-top));
padding-bottom: min(0vmin, env(safe-area-inset-bottom));
}
}
</style>
</head>
<body>
<span id="tr">✕</span>
<span id="br">✕</span>
<span id="bl">✕</span>
<span id="tl">✕</span>
</body>
<script src="./app.js"></script>
</html>