-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpopup.html
More file actions
72 lines (67 loc) · 2.17 KB
/
popup.html
File metadata and controls
72 lines (67 loc) · 2.17 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://fonts.googleapis.com/css2?family=Aleo:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap"rel="stylesheet">
<link rel="stylesheet" href="style.css">
<!-- You could also do this in CSS, but this is just to format the styling of the text-->
<style>
html, body {
font-family: 'Open Sans', sans-serif;
font-size: 14px;
margin: 10;
min-height: 180px;
padding: 0;
width: 384px;
color: rgb(92, 163, 230)
}
/* Format the text */
h1 {
font-family: 'Open Sans', sans-serif;
font-size: 18px;
font-weight: 200;
margin: 10;
color: rgb(75, 158, 236);
}
footer {
position: absolute;
bottom: 0;
width: 100%;
height: 2.5rem;
}
form {
margin-bottom: 10px;
}
button {
font-size: 14px;
padding: 5px 12px;
background-color: #F9F9F9;
border-radius: 25px;
border: 0.1rem solid black;
border-color: rgb(75, 158, 236);
cursor: pointer;
text-decoration: none;
color:black;
}
</style>
</head>
<!--What the users will see-->
<body>
<div>
<h1> <span id="phase"></span> time remaining: <span id="countdown"></span> </h1>
<script src="countdown.js"></script>
</div>
<div>
<h1> Time spent on each website: </h1>
<script src="webtracker.js"></script>
</div>
</body>
<footer>
<div>
<form action="https://settings.html" method="get" target="_blank">
<button type="submit">Settings</button>
</form>
</div>
</footer>
</html>