-
Notifications
You must be signed in to change notification settings - Fork 1
/
health.html
277 lines (244 loc) · 10.4 KB
/
health.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
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
<!DOCTYPE html>
<html lang="en">
<head>
<title>
Healthy Living
</title>
<link href="https://fonts.googleapis.com/css?family=Satisfy" rel="stylesheet" />
<link rel="stylesheet" type="text/css" href="css/common.css">
<style>
body {
margin: 0;
background:url("https://images.unsplash.com/photo-1515549832467-8783363e19b6?ixlib=rb-1.2.1&w=1000&q=80"); /* background:url("https://images.unsplash.com/photo-1544171779-783118e110f8?ixlib=rb-1.2.1&w=1000&q=80"); */
background-repeat: no-repeat;
background-size: cover;
}
p {
line-height: 1.5;
}
a {
text-decoration: none;
color: black;
}
.page-heading{
font-size:25px;
border-left:3px solid black;
border-right:3px solid black;
transition: all 0.4s;
display:inline-block;
padding:4px 32px;
margin: 50px;
}
.page-heading:hover{
padding:4px 48px;
background:orange;
}
/* Section */
section {
display: flex;
justify-content: space-around;
flex-wrap: wrap;
}
/* Card */
.card-meta{
color:#333;
font-size: 14px;
padding-left:8px;
font-family:'Roboto Slab', serif;
}
.card-meta a{
color:#333;
}
.card{
display: inline;
width:40%;
padding:10px;
}
.card-image {
transition: 0.4s;
display: inline-block;
}
.card-image:hover {
box-shadow: 0 10px 6px -6px #777;
}
.card .card-description {
padding: 0 8px;
}
/* Button Read more */
.btn-readmore {
padding: 8px 24px;
border: 3px solid black;
transition: 0.4s;
display: inline-block;
margin-bottom: 24px;
margin-left: 24px;
font-weight: bold;
cursor: pointer;
background: white;
}
.btn-readmore:hover {
background: orange;
text-decoration: none;
padding: 8px 64px 8px 24px;
color: white;
}
/* Pagination */
.pagination{
padding:8px;
text-align:center;
font-weight:bold;
}
.pagination a{
border-top: 3px solid white;
display: inline-block;
padding:8px 16px;
transition:0.4s;
}
.pagination a:hover{
text-decoration: none;
border-top:3px solid black;
}
.active{
background: beige;
}
</style>
</head>
<body>
<header>
<div class="header" style="color:white;">
<a href="homepage.html">
<img src="images/logo.png" width=35px height=30px>
<h1 style="display: inline; ">FITNESS 101</h1>
</a>
<div class="dropdown">
<button class="dropbtn"><img src="images/user.png" width=40px height=40px ></button>
<div class="dropdown-content">
<a href="index.php">Log-In</a>
<a href="register.php">Sign-Up</a>
</div>
</div>
</div>
</header>
<nav>
<div id="navigation">
<a href="homepage.html">Home</a>
<a class="active" href="health.html">Healthy Living</a>
<a href="faq.html">FAQ</a>
<a href="contactus.html">Contact Us</a>
<a href="help.php">Help</a>
<a href="member.php">Member's Area</a>
</div>
</nav>
<h3 class="page-heading">Healthy Living Blogs</h3>
<section>
<div class="card">
<div class="card-image">
<a href="blogpost.html">
<img src="images/bg6.jpg" alt="Card Image" width="100%" height="100%">
</a>
</div>
<div class="card-description">
<a href="blogpost.html">
<h3>Apartment-Friendly Workouts That Pack a Punch: Workout Videos for Apartments & Small Spaces</h3>
</a>
<div class="card-meta">
Posted by Rajshree on 23/10/2020 in
<a href="index.php">Fitness101</a>
</div>
<p>
When I was a (completely & totally broke) college student and for a few years after, I lived in small apartments. I was still
mostly doing gym workouts at that point, but every now and again I would tackle a workout in my apartment.
</p>
<a href="blogpost.html" class="btn-readmore">Read more</a>
</div>
</div>
<div class="card">
<div class="card-image">
<a href="blogpost.html">
<img src="images/bg4.jpg" alt="Card Image" width="100%" height="100%">
</a>
</div>
<div class="card-description">
<a href="blogpost.html">
<h3>Running: Is it really good for your health? The dangers of over training</h3>
</a>
<div class="card-meta">
Posted by Priya on 23/10/2020 in
<a href="index.php">Fitness101</a>
</div>
<p>
Running sounds like a healthy activity and in general anything that makes you move and keeps you active is good for your health
overall when compared to living a sedentary lifestyle, however, too much running may lead to injury.
</p>
<a href="blogpost.html" class="btn-readmore">Read more</a>
</div>
</div>
<div class="card">
<div class="card-image">
<a href="blogpost.html">
<img src="images/bg3.jpg" alt="Card Image" width="100%" height="100%">
</a>
</div>
<div class="card-description">
<a href="blogpost.html">
<h3>Dealing with Setbacks. How to Stay Fit While Injured or Sick</h3>
</a>
<div class="card-meta">
Posted by Rajshree on 20/10/2020 in
<a href="index.php">Fitness101</a>
</div>
<p>
My workouts are my me time they keep me grounded, help me focus, and make me feel good. I think many people consider their
workout sessions a sort of personal therapy, so it's no wonder that an extended hiatus would be challenging for multiple reasons.
</p>
<a href="blogpost.html" class="btn-readmore">Read more</a>
</div>
</div>
<div class="card">
<div class="card-image">
<a href="blogpost.html">
<img src="https://i2.wp.com/www.eatthis.com/wp-content/uploads/2019/12/healthy-food-bowl.jpg?fit=1200%2C800&ssl=1" alt="Card Image" width="100%" height="100%">
</a>
</div>
<div class="card-description">
<a href="blogpost.html">
<h3>How to Eat When Training for a Marathon. Nutrition for Endurance Athletes</h3>
</a>
<div class="card-meta">
Posted by Priya on 12/10/2020 in
<a href="index.php">Fitness101</a>
</div>
<p>
Strength is needed for this adventure. Now that you have a plan mapped out, you are almost ready to get started and train. The one
remaining is figuring out a solid diet plan that will allow you to have the proper fuel to allow you to make it to the finish line.
</p>
<a href="blogpost.html" class="btn-readmore">Read more</a>
</div>
</div>
</section>
<div class="pagination">
<a>Prev</a>
<a href="health.html">2</a>
<a href="health.html">3</a>
<a href="health.html">4</a>
<a href="health.html">Next</a>
</div>
<footer style="margin-top:3%;">
<div class="footer">
FOLLOW US
<div id="social-media">
<a href="https://www.instagram.com/rajshree.varma/saved/?hl=en"><img src="https://www.iconfinder.com/data/icons/2018-social-media-black-and-white-logos/1000/2018_social_media_popular_app_logo_facebook-256.png" alt="visit our facebook" class="social"></a>
<a href="https://www.instagram.com/rajshree.varma/saved/?hl=en"><img src="https://www.iconfinder.com/data/icons/2018-social-media-black-and-white-logos/1000/2018_social_media_popular_app_logo_instagram-256.png" alt="visit our instagram " class="social"></a>
<a href="https://www.instagram.com/rajshree.varma/saved/?hl=en"><img src="https://www.iconfinder.com/data/icons/2018-social-media-black-and-white-logos/1000/2018_social_media_popular_app_logo_twitter-256.png" alt="visit our twitter " class="social"></a>
</div>
<!-- Copyright -->
<div class="footer-copyright" style=" background-color:rgba(255, 255, 255, 0.13);">
© 2020 Copyright:
<a href="homepage.html" style="text-decoration:none; color:rgba(255, 255, 255, 0.281);"> Fitness101.com</a>
All rights reserved.<br>
</div>
<!-- Copyright -->
</div>
</footer>
</body>
</html>