-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
45 lines (41 loc) · 1.15 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
<html>
<style>
* {
margin: 0;
text-align: center;
}
#timer-container {
padding: 30px;
}
#switch-button {
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.12);
box-shadow: 0 2px 0 rgba(0, 0, 0, 0.045);
outline: none;
margin-top: -10px;
display: inline-block;
height: 30px;
padding: 0 7px;
font-size: 12px;
font-family: Avenir, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', sans-serif;
line-height: 30px;
text-align: center;
text-decoration: none;
border: 1px solid #F44336;
border-radius: 6px;
background: #F44336;
color: #FFF;
}
body{
background-image: linear-gradient(to top, #fad0c4 0%, #ffd1ff 100%);;
}
</style>
<body>
<div id="main">
<div id="timer-container"></div>
<button id="switch-button">开始工作</button>
</div>
<script>
require('./renderer.js')
</script>
</body>
</html>