-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathexercise.html
More file actions
515 lines (500 loc) · 16.3 KB
/
exercise.html
File metadata and controls
515 lines (500 loc) · 16.3 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
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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Home</title>
<link rel="stylesheet" href="homepage.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<script src="https://cdn.jsdelivr.net/gh/cferdinandi/smooth-scroll/dist/smooth-scroll.polyfills.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
</head>
<body>
<section id="logon">
<img src="http://www.oininteractive.com/wp-content/uploads/2011/01/CA-fitness-logo-PNG.png" style="width: 200px;"class="logo">
<mark><h1>FITNESS-TRACKER</h1></mark>
</section>
<div id="navbar">
<a href="homepage.html" ><em><b>Home</a></b></em>
<a href="countdown.html"><em><b>Count down for Exercise</a></b></em>
<a href="bmi.htmk"><em><b>BMI Calculator</a></b></em>
<a href="exercisecalc.html"><em><b>Calorie Calculator</a></b></em>
<a class="active" href=""><em><b>Yoga Facts</a></b></em>
</div>
<div class="content">
<nav id="side">
<ul>
<li><a href="#header">HOME</a></li>
<li><a href="#maps">ABOUT US</a></li>
<li><a href="#join">REGISTER</a></li>
<li><a href="bmi.html">BMI Calculator</a></li>
<li><a href="countdown.html">CountDown For Exercise</a></li>
<li><a href="exercisecalc.html">Calorie Calculator</a></li>
<li><a href="exercise.html">Yoga Facts</a></li>
</ul>
</nav>
<img src="https://royalposthumus.com/images/white_menu_icon.png" style="width: 100px;"id="menu">
<section id="header">
<div class="container" style="background-color:black;">
<h1 class="few"><b>INTERNATIONAL DAY OF YOGA</b></h1>
<p class="common"> International Yoga Day is celebrated on 21st June throughout the world. For the first time it was celebrated on 21 June, 2015. As, we all know environment is changing and the world is becoming more competent yoga help us to deal with this type of environment and also makes us healthy. It is observed on 21st June every year to spread awareness about the importance and effects of yoga on the health of the people. The word 'yoga' is derived from Sanskrit which means to join or to unite.</p>
<p class="common" > Yoga is an ancient physical, mental and spiritual practice which gives calmness, peace, confidence and courage to the people through which they can do several activities in a better way. At every level of existence it is a state of harmony. Yoga is praciced in various forms around the world. For the first time International Day of Yoga was celebrated on 21 June 2015. This initiative was taken by the Prime Minister of India Narendra Modi by giving an impactful speech related to yoga on 27 September 2014 in the United Nations General Assembly and for this reason, on 21 June, it was declared as "International Yoga Day". The proposal to celebrate the International Yoga Day on 21 June in the United States was approved by 193 members on 11 December 2014.<p>
<figure>
<img src="https://user-images.githubusercontent.com/59527081/83008409-ba24bc00-a032-11ea-8d6d-625d09319f1b.jpg" class="center" height="392" width="362.5">
</figure>
<h3 class="common"><b>What is the importance of yoga in daily life?</b></h3>
<h4 class="common"> Yogic exercises recharge the body with cosmic energy and facilitates:</h4>
<p class="common">   *   Attainment of perfect equilibrium and harmony</p>
<p class="common">  *   Enhances personal power</p>
<p class="common">  *   Promotes self- healing</p>
<p class="common">  *   Removes negative blocks from the mind and toxins from the body</p>
<p class="common">  *   Yoga to live with greater awareness</p>
<p class="common">  *   Helps in attention, focus and concentration, especially important for children</p>
<p class="common">  *   Reduces stress and tension in the physical body by activating the parasympathetic nervous system</p>
<figure>
<img src="https://user-images.githubusercontent.com/59527081/83008401-b6913500-a032-11ea-853b-bb9cb242aa90.jpg" class="center" height="331" width="331">
<figcaption class="common" style="text-align:center">Surya Namaskar</figcaption>
</figure>
<h4 class="common"><b>Benefits of Yoga</b></h4>
<p class="common">                The art of practicing yoga helps in controlling an individual’s mind, body and soul. It brings together physical and mental disciplines to achieve a peaceful body and mind; it helps manage stress and anxiety and keeps you relaxing. It also helps in increasing flexibility, muscle strength and body tone. It improves respiration, energy and vitality. Practicing yoga might seem like just stretching, but it can do much more for your body from the way you feel, look and move. Yoga asanas build strength, flexibility and confidence. Regular practice of yoga can help lose weight, relieve stress, improve immunity and maintain a healthier lifestyle.</p>
<p class="common">             Yoga lowers blood sugar and LDL ("bad") cholesterol and boosts HDL ("good") cholesterol. In people with diabetes, yoga has been found to lower blood sugar in several ways: by lowering cortisol and adrenaline levels, encouraging weight loss, and improving sensitivity to the effects of insulin. Get your blood sugar levels down, and you decrease your risk of diabetic complications such as heart attack, kidney failure, and blindness. An important component of yoga is focusing on the present. Studies have found that regular yoga practice improves coordination, reaction time, memory, and even IQ scores. People who practice Transcendental Meditation demonstrate the ability to solve problems and acquire and recall information better—probably because they're less distracted by their thoughts, which can play over and over like an endless tape loop.</p>
<figure>
<img src="https://user-images.githubusercontent.com/59527081/83008379-b002bd80-a032-11ea-8b02-5bb75b89727e.png" class="center" height="331" width="331">
</figure>
</div>
</section>
<section style="background-color: blue;">
<section id="features">
<div class="row">
<div class="col">
<img src="https://cdn4.iconfinder.com/data/icons/medical-icons-rounded-vector/1250/path_health_calculator-512.png"></img>
<h4>BMI Calculator</h4>
<q>Calculates Your current BMI </q>
</div>
<div class="col">
<img src="https://cdn0.iconfinder.com/data/icons/ketogenic-diet-glyph/64/ketogenic-diet-calculator-calories-nutrition-512.png"></img>
<h4>Nutrition Calculator</h4>
<q>calculates the total calories consumed</q>
</div>
<div class="col">
<img src="https://cdn3.iconfinder.com/data/icons/auto-racing/423/Stopwatch_Timer-512.png"></img>
<h4>Exercise Timer</h4>
<q>Calculates the time while exercising</q>
</div>
<div class="col">
<img src="http://pngimg.com/uploads/fitness/fitness_PNG94.png"></img>
<h4>Fitness</h4>
<q>This Website supports fitness for every individual</q>
</div>
</div>
</div>
</section>
<section class="footer">
<div class="align">
<b><em><p style="font-size: larger;color: black;"> @Copyright 2020 Fitness-Tracker Made by @Sankirtana @Mahitha @Krithikha</p></em></b>
</div>
</section>
</div>
<style>
.common{
color: white;
}
.notcommon{
color: white;
}
.center {
display: block;
margin-left: auto;
margin-right: auto;
}
*{
margin:0;
padding:0;
}
body{
background-color: black;
background-image: url("https://tse4.mm.bing.net/th?id=OIP.c_JDnC24vrlpXnHHVxI6UgHaPN&pid=Api&P=0&w=300&h=300");
}
li {list-style-type: none;
font-size: 16pt;
}
.mail {
margin: auto;
padding-top: 10px;
padding-bottom: 10px;
width: 400px;
background : black;
border: 1px soild silver;
}
#header{
padding-top: 80px;
padding-bottom: 50px;
background-repeat: no-repeat;
background-color: black;
background-position: center;
background-size: cover;
}
.container{
margin-right: 50px;
margin-left: 50px;
}
.logo{
margin-top: 10px;
width:100px;
}
.header-text{
max-width: 340px;
margin-top: 170px;
margin-left: 100px;
margin-bottom: 100px;
text-shadow: 3px 2px black;
}
h1{
font-size:40px ;
color:white;
}
.square{
height:12px;
width:12px;
display:inline-block;
background: white;
margin: 15px 0;
}
p big i{
font-size: 20px;
line-height: 18px;
color:lightgreen;
}
.header-text button{
margin-top: 20px;
margin-bottom: 60px;
}
.line-1{
width: 15px;
height:15px;
background:white;
display:inline-block;
}
.line-2{
width:80px;
height:1px;
background:white ;
display:inline-block;
}
.line-3{
width:60px;
height:1px;
background:white;
display: inline-block;
}
.line{
line-height: 8px;
}
#side{
width:250px;
height:700px;
position: fixed;
right:-250px;
top:0;
background-color:rgba(0,0,0,0.2);
z-index: 2;
transition: 2s;
overflow-y: scroll;
}
nav ul li{
list-style: none;
margin:50px 20px;
}
nav ul li a{
text-transform: uppercase;
text-decoration: none;
color: white;
}
a:hover{
background-color:gray;
}
#menu{
width:50px;
position: fixed;
right: 65px;
top:35px;
z-index:2;
cursor:pointer;
}
#about{
padding:200px 0;
display: flex;
align-items: center;
flex-wrap: wrap;
background-color: rebeccapurple;
filter: brightness(40%);
filter:grayscale(10%);
background-position: center;
background-size: cover;
}
.right{
flex-basis: 50%;
text-align: right;
}
q blockquote big {
font-size: 15px;
line-height: 20px;
color:ghostwhite;
}
.text h2{
margin:50px 0 10px;
font-size:28px;
font-style:italic;
}
.text h3{
font-size:20px;
font-style: italic;
columns: #797979;
}
#features{
padding-top: 60px;
padding-bottom:60px ;
background-color: yellow;
background-image: url("https://tse2.mm.bing.net/th?id=OIP.CS-3ElqwPDmdbx6MQYMzSQHaEo&pid=Api&P=0&w=260&h=163");
}
.row{
width: 80%;
margin:auto;
display:flex;
align-items: center;
justify-content: space-around;
flex-wrap: wrap;
}
.col{
flex-basis: 25%;
text-align: center;
}
.col img{
width:100px;
}
.col h4{
margin-bottom: 15px;
font-size: 20px;
font-weight: 400px;
}
p{
color:white;
}
q{
color:black;
}
h1 big {
color:red;
}
.social{
width:50px;
position: fixed;
top: 75%;
left:0;
transform: translateY(-50%);
z-index:1;
}
.social img{
display: block;
width:30px;
margin:0 auto 20px;
cursor:pointer;
}
#maps{
padding-top: 115px;
padding-bottom: 115px;
display:flex;
align-items: center;
flex-wrap: wrap;
/*background-image: url("https://tse1.mm.bing.net/th?id=OIP.9tpZjmZMMkNyckUfbGpdqwHaHa&pid=Api&P=0&w=300&h=300");*/
background-color: black;
background-position: center;
background-size: contain;
background-repeat: repeat;
text-transform: uppercase;
}
p big b{
color:white;
}
h1 big strong{
color:white;
}
h1 big em{
color:white;
}
p big i em b{
color:white;
display: inline;
}
.text{
max-width: 340px;
margin-top: 150px;
margin-left: 800px;
margin-bottom: 100px;
text-shadow: 3px 2px blue;
}
.footer{
padding-top: 60px;
padding-bottom:60px ;
background-color: lawngreen;
background-image: url("https://tse2.mm.bing.net/th?id=OIP.CS-3ElqwPDmdbx6MQYMzSQHaEo&pid=Api&P=0&w=260&h=163");
}
.align{
text-align: center;
}
mark h1{
color:white;
text-align: center;
text-shadow:2px 2px rgb(122, 117, 117);
font-size: 70px;
text-align-last: auto;
font-weight: bolder;
}
#logon{
padding-top: 5px;
background-color: rosybrown;
background-image: url("https://tse4.mm.bing.net/th?id=OIP.c_JDnC24vrlpXnHHVxI6UgHaPN&pid=Api&P=0&w=300&h=300");
}
.content {
padding: 16px;
}
.sticky {
position: fixed;
top: 0;
width: 100%;
}
.sticky + .content {
padding-top: 60px;
}
#navbar {
overflow: hidden;
background-color:lightgray;
background-image: url("https://tse2.mm.bing.net/th?id=OIP.CS-3ElqwPDmdbx6MQYMzSQHaEo&pid=Api&P=0&w=260&h=163");
}
#navbar a {
float: left;
display: block;
color: black;
text-align: center;
padding: 30px 30px;
text-decoration: none;
font-size: 17px;
}
#navbar a:hover {
background-color: #ddd;
color: grey;
}
#navbar a.active {
background-color: black;
color: white;
}
#pic{
border-radius: 70%;
}
#pho{
border-radius:50%;
align-content: center;
top:50px;
}
.card {
box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
transition: 0.3s;
width: 40%;
}
.card:hover {
box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}
.space {
padding: 2px 16px;
}
#space{
height:1500px;
background-color: rebeccapurple;
background-position: center;
background-size: cover;
}
#join{
padding-top: 50px;
padding-bottom: 50px;
display:flex;
align-items: center;
flex-wrap: wrap;
background-color: black;
/*background-image: url("https://dty8d8u6se0an.cloudfront.net/media/image/thumbnail/461682_Almeda_1440x1100.jpg");*/
background-position: center;
background-size: contain;
background-repeat: repeat;
text-transform: uppercase;
}
h2 big{
color:white;
text-shadow: rgba(0,0,0,0.2);
}
#side a, .dropdown-btn {
padding: 6px 8px 6px 16px;
text-decoration: none;
font-size: 20px;
color: white;
display: block;
border: none;
background: none;
width: 100%;
text-align: left;
cursor: pointer;
outline: none;
}
#side a:hover, .dropdown-btn:hover {
color: yellow;
}
.main {
margin-left: 200px;
font-size: 20px;
padding: 0px 10px;
}
.active {
background-color: yellow;
color: white;
}
.dropdown-container {
display: none;
background-color: rebeccapurple;
padding-left: 8px;
}
.fa-caret-down {
float: right;
padding-right: 8px;
}
@media screen and (max-height: 450px) {
#side {padding-top: 15px;}
#side a {font-size: 18px;}
}
</style>
<script>
var menu=document.getElementById("menu");
var side=document.getElementById("side");
side.style.right="-250px";
menu.onclick=function(){
if(side.style.right=="-250px"){
side.style.right="0px"
}
else{
side.style.right="-250px"
}
}
var scroll = new SmoothScroll('a[href*="#"]');
window.onscroll = function() {myFunction()};
var navbar = document.getElementById("navbar");
var sticky = navbar.offsetTop;
function myFunction() {
if (window.pageYOffset >= sticky) {
navbar.classList.add("sticky")
} else {
navbar.classList.remove("sticky");
}
}
</script>
</body>
</html>