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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
export default async function(req: Request): Promise<Response> {
const query = new URL(req.url).searchParams;
// Read name from the querystring or body. Defaults to "you" if not present.
// HTML string
const htmlContent = `<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Breathe Out</title>
<style>
body {
display: flex;
background-color: #79bbbb;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
padding: 0;
font-family: sans-serif;
}
.container {
justify-items: center;
text-align: center;
}
#main {
max-width: 500px;
width: 100%;
margin: 0 auto;
text-align: center;
padding: 2vh;
font-size: 2.3vh;
background-color: #457373;
height: 100%;
}
#outerCircle {
width: 80vw;
height: 80vw;
max-width: 300px;
max-height: 300px;
border-radius: 50%;
background-color: #d3d3d3;
display: flex;
justify-content: center;
align-items: center;
z-index: 1;
position: relative;
margin: 0 auto;
}
#innerCircle {
width: 50%;
height: 50%;
border-radius: 50%;
background-color: #E89269;
display: flex;
justify-content: center;
align-items: center;
}
#breathText {
font-size: 20px;
color: white;
font-weight: bold;
}
button, input, label {
margin: 10px;
font-size: 20px;
}
button {
background-color: #1fa3ec;
color: #000;
padding: 10px 20px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
cursor: pointer;
border-color: transparent;
box-shadow: #000;
width: 60%;
}
button:hover {
background-color: #3B82F6;
}
.menu {
padding: 20px;
background-color: #fff;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
#footer {
position: relative;
width: 100%;
text-align: center;
color: #fff;
font-size: 12px;
padding: 10px;
}
@keyframes breathe {
0% { transform: scale(1); }