-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
64 lines (61 loc) · 4.09 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="css/output.css">
<link rel="stylesheet" href="main.css">
<title>Pomodoro Timer</title>
</head>
<body>
<main class="h-screen p-8 flex flex-wrap justify-center items-center text-center">
<div class="grid grid-cols-auto grid-rows-auto gap-y-8 md:grid md:grid-rows-auto md:grid-cols-3 md:self-start md:gap-y-20">
<!-- Heading -->
<div class="text-7xl row-span-1 col-span-1 flex items-center justify-center md:row-span-1 md:col-span-3 md:text-8xl">
<h1 class="my-auto text-purple-950 font-Righteous">Pomodoro Timer</h1>
</div>
<!-- Timer -->
<div class="py-2 row-span-2 grid grid-cols-3 grid-rows-auto justify-items-center gap-8 text-purple-950 font-Righteous md:row-span-1 md:col-span-1">
<!-- Focus Timer -->
<div class="col-start-2 row-start-1 grid grid-cols-auto grid-rows-auto gap-y-1 gap-x-4 items-center">
<p class="col-span-3 text-4xl md:self-end">Focus Time</p>
<button type="button" id="minus" class="h-10 w-10 justify-self-end text-2xl border-2 border-purple-950/50 hover:bg-purple-950/30 hover:text-white active:bg-purple-950/50 md:self-start">-</button>
<div class="text-2xl flex items-center justify-center md:self-start">25</div>
<button type="button" id="plus" class="h-10 w-10 justify-self-start text-2xl border-2 border-purple-950/50 hover:bg-purple-950/30 hover:text-white active:bg-purple-950/50 md:self-start">+</button>
</div>
<!-- Break Timer -->
<div class="col-start-2 row-start-2 grid grid-cols-auto grid-rows-auto gap-y-1 gap-x-4 items-center">
<p class="col-span-3 text-4xl md:self-end">Break Time</p>
<button type="button" id="minus" class="h-10 w-10 justify-self-end text-2xl border-2 border-purple-950/50 hover:bg-purple-950/30 hover:text-white active:bg-purple-950/50 md:self-start">-</button>
<div class="text-2xl flex items-center justify-center md:self-start">5</div>
<button type="button" id="plus" class="h-10 w-10 justify-self-start text-2xl border-2 border-purple-950/50 hover:bg-purple-950/30 hover:text-white active:bg-purple-950/50 md:self-start">+</button>
</div>
</div>
<!-- Buttons -->
<div class="px-8 py-2 row-span-1 grid grid-cols-2 gap-x-8 font-Righteous md:row-start-2 md:col-start-3 md:row-end-3 md:col-end-4 md:flex md:flex-col md:flex-wrap md:items-center justify-center md:gap-8">
<button type="button" id="start"
class="col-start-1 w-11/12 justify-self-end border-2 rounded-full py-2 text-white bg-purple-950 grayShadow hover:bg-purple-900 active:bg-purple-800 focus:ring focus:ring-black md:w-7/12">Start</button>
<button type="button" id="reset"
class="col-start-2 w-11/12 justify-self-start border-2 rounded-full py-2 text-white bg-purple-950 grayShadow hover:bg-purple-900 active:bg-purple-800 focus:ring focus:ring-black md:w-7/12">Reset</button>
</div>
<!-- Clock -->
<div class="clockOuterShadow">
<div class="row-span-4 flex justify-center">
<div
class="clockInnerShadow">
<p class="text-purple-950 font-Audiowide clockValue">25:00</p>
</div>
</div>
</div>
<!-- Music -->
<div class="row-span-2 flex justify-center flex-wrap items-center mb-8 md:row-start-3 md:col-start-1 md:row-end-4 md:col-end-4">
<audio controls class="w-11/12">
<source src="25minuteMusic.mp3" type="audio/mpeg">
</audio>
</div>
</div>
</main>
<script src="main.js"></script>
</body>
</html>