-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.html
More file actions
75 lines (74 loc) · 1.8 KB
/
index.html
File metadata and controls
75 lines (74 loc) · 1.8 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
<!DOCTYPE html>
<html lang="ja">
<head>
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<meta charset="UTF-8" />
<title>Floaty</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css">
<style>
html, body {
margin: 0;
width: 100%;
height: 100%;
overflow: hidden;
touch-action: none;
display: flex;
justify-content: center;
align-items: center;
}
canvas { display: block; }
#window-size {
position: fixed;
top: 0;
left: 0;
background: rgba(0, 0, 0, 0.6);
color: white;
padding: 5px 10px;
font-family: sans-serif;
font-size: 14px;
white-space: pre; /* 改行をそのまま表示するため */
z-index: 9999;
}
#numThreads {
position: absolute;
top: 10px;
left: 10px;
padding: 5px;
color: white;
}
#github-link {
position:fixed;
bottom: 0;
right: 0;
}
.github-icon {
position: absolute;
bottom: 10px;
right: 20px;
font-size: 40px;
color: rgb(230, 230, 230);
}
* {
user-select: none;
}
</style>
</head>
<body>
<script type="module" src="bundle.js"></script>
<div id="mouseLabel" style="position: absolute; top: 10px; left: 10px; color: white; font-size: 20px; display: none;">
Dragging...
</div>
<div id="numThreads"></div>
<div id="loading-wrapper">
<div id="loading-value">
loading now...(won't take longer than 10 seconds I guess)
</div>
</div>
<a href="https://github.com/matsuoka-601/Floaty"
class="github-icon"
target="_blank"
rel="noopener noreferrer">
<i class="fab fa-github"></i>
</a>
</body>
</html>