-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbolt1.html
329 lines (320 loc) · 10.4 KB
/
bolt1.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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Hospital Homepage</title>
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;700&display=swap" rel="stylesheet">
<style>
body {
/* Set background image */
background-image: url(main.jpg);
/* Ensure the background image covers the entire viewport */
background-size: cover;
/* Position the background image */
background-position: center;
/* Set a minimum height for the body */
min-height: 100vh;
/* Make sure the body takes up the entire viewport */
margin: 0;
/* Positioning and sizing for the pseudo-element */
position: relative;
}
body::before {
content: "";
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
background-color: rgba(0,0,0, 0.6);
pointer-events: none;
}
body, html {
margin: 0;
padding: 0;
font-family: 'Montserrat', sans-serif;
color: white;
position: relative;
}
header {
color: #edf6f9;
padding: 20px 0;
text-align: center;
position: relative;
}
h2,p{
align:center;
position: relative;
}
nav ul {
list-style: none;
padding: 0;
position: relative;
}
nav ul li {
display: inline;
margin: 0 20px;
position: relative;
}
nav ul li a {
color: #edf6f9;
text-decoration: none;
font-weight: bold;
position: relative;
}
.hero {
margin: 0;
position: relative;
}
.hero .background-image {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-size: cover;
background-position: center;
position: relative;
filter: blur(5px);
z-index: -1;
}
a:hover{
color: #065249;
}
.hero .text-container {
position: relative;
z-index: 1;
padding: 20px;
}
.hero h1 {
color: white;
font-size: 36px;
margin-bottom: 10px;
position: relative;
}
.hero p {
color: white;
font-size: 18px;
position: relative;
}
.services {
padding: 40px 20px;
text-align: center;
position: relative;
}
.services h2 {
color: #a9cbce;
margin-bottom: 30px;
position: relative;
}
.service-container {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 20px;
position: relative;
}
.service-card {
padding: 20px;
width: 280px;
box-shadow: 0 4px 6px rgba(0,0,0,0.1);
border-radius: 8px;
position: relative;
}
h3 {
color: #93afa8;
position: relative;
}
.ga{
background-color:#005f73;
color:#edf6f9;
position: relative;
}
.about {
padding: 40px 20px;
text-align: center;
position: relative;
}
.about h2 {
color: #8599a3;
position: relative;
}
footer {
color: #edf6f9;
text-align: center;
padding: 20px;
margin-top: 30px;
position: relative;
}
.form-container {
padding: 10px 20px;
text-align: center;
position: relative;
}
.form-container textarea, .form-container select {
width: 80%;
height: 40px;
margin-bottom: 20px;
padding: 10px;
position: relative;
}
.form-container button {
padding: 10px 20px;
background-color: #005f73;
color: #edf6f9;
border: none;
border-radius: 5px;
cursor: pointer;
position: relative;
}
</style>
</head>
<body>
<header>
<nav>
<ul>
<class id="s">
<li><a href="#">Home</a></li>
<li><a href="#">Services</a></li>
<li><a href="#">Specialties</a></li>
<li><a href="#">Doctors</a></li>
<li><a href="#">Hospitals</a></li>
<li><a href="#">Mental Help </a></li>
</class>
</ul>
</nav>
<div class="hero">
<div class="background-image"></div>
<div class="text-container">
<h1>Welcome to EdHealth</h1>
<p>Your health is our top priority.</p>
</div>
</div>
</header>
<section class="services">
<h2>Our Services</h2>
<div class="service-container">
<div class="service-card">
<h3><a href="bmr.html">BMR Calculator</a></h3>
</div>
<div class="service-card">
<h3><a href="nutrition.html">Nutrition Tracker</a></h3>
</div>
<div class="service-card">
<h3><a href="awareness.html">Mental Health</a></h3>
</div>
<div class="service-card">
<h3><a href="reg.html">Campaigns</a></h3>
</div>
<div class="service-card">
<h3><a href="bmi2.html">BMI Calculator</a></h3>
</div>
</div>
</section>
<section class="ga"
<section class="video">
<a href="videos.html">
<div class="video-link">
<h2 style="color:aquamarine;"><center>Watch Our Videos</center></h2>
<p style="color:aquamarine"><center>Explore our multimedia content for a deeper understanding of our services.</center></p>
</div>
</a>
</section>
</section>
<section class="about">
<h2>About Us</h2>
<p>Our Website has been providing top-notch healthcare services for over a decade, with a focus on patient care and innovation.</p>
</section>
<section class="form-container">
<h2>Book an Appointment</h2>
<textarea placeholder="Enter your details here..."></textarea>
<select>
<option selected disabled>Select Month</option>
<option value="01">January</option>
<option value="02">February</option>
<option value="03">March</option>
<option value="04">April</option>
<option value="05">May</option>
<option value="06">June</option>
<option value="07">July</option>
<option value="08">August</option>
<option value="09">September</option>
<option value="10">October</option>
<option value="11">November</option>
<option value="12">December</option>
</select>
<select>
<option selected disabled>Select Day</option>
<?php
for ($day = 1; $day <= 31; $day++) {
echo "<option value=\"$day\">$day</option>";
}
?>
</select>
<select>
<option selected disabled>Select Year</option>
<?php
for ($year = 2000; $year <= 2100; $year++) {
echo "<option value=\"$year\">$year</option>";
}
?>
</select><br>
<button>Submit</button>
</section>
<section class="form-container">
<h2>View Patient Records</h2>
<textarea placeholder="Enter patient ID or name to retrieve records..."></textarea>
<select>
<option selected disabled>Select Month</option>
<option value="01">January</option>
<option value="02">February</option>
<option value="03">March</option>
<option value="04">April</option>
<option value="05">May</option>
<option value="06">June</option>
<option value="07">July</option>
<option value="08">August</option>
<option value="09">September</option>
<option value="10">October</option>
<option value="11">November</option>
<option value="12">December</option>
</select>
<select>
<option selected disabled>Select Day</option>
<?php
for ($day = 1; $day <= 31; $day++) {
echo "<option value=\"$day\">$day</option>";
}
?>
</select>
<select>
<option selected disabled>Select Year</option>
<?php
for ($year = 2000; $year <= 2100; $year++) {
echo "<option value=\"$year\">$year</option>";
}
?>
</select><br>
<button>Retrieve Records</button>
</section>
<footer>
<p>EdHealth. All rights reserved.</p>
</footer>
<script>
// Blur and add text to the hero image
window.addEventListener('DOMContentLoaded', function () {
var hero = document.querySelector('.hero');
var imageUrl = "main.jpg"; // Replace with the path to your image
var background = document.createElement('div');
background.classList.add('background-image');
background.style.backgroundImage = 'url(' + imageUrl + ')';
hero.appendChild(background);
var textContainer = document.createElement('div');
textContainer.classList.add('text-container');
textContainer.innerHTML = '<h2 style="color: white; font-size: 24px;">"Empowering rural communities through accessible and holistic education and health services."</h2>';
hero.appendChild(textContainer);
});
</script>
</body>
</html>