-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
53 lines (53 loc) · 1.18 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>Hello Human!</title>
<style>
html,
body {
margin: 0;
padding: 0;
font-family: sans-serif;
font-size: 13px;
}
p {
margin: 0;
}
.list {
display: flex;
align-items: center;
flex-direction: column;
height: 100vh;
padding-top: 8px;
}
.item {
flex: 1;
display: flex;
align-items: center;
flex-direction: column;
justify-content: center;
border-bottom: solid 1px #000;
width: 100%;
cursor: pointer;
}
.item:hover {
background: #f5f5f5;
}
</style>
</head>
<body>
<div class="list">
<div class="item">
<p id="interval-label">whop whop in every 30min</p>
<input type="range" min="30" max="1440" step="30" id="interval-btn" />
</div>
<div class="item" id="stress-btn">whop! whop! now!</div>
<div class="item" id="exit-btn">Exit</div>
<div class="item" id="about-btn">About</div>
</div>
<script>
require("./index.js");
</script>
</body>
</html>