-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfacilities.html
225 lines (200 loc) · 7.55 KB
/
facilities.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>CSVTU Hostel Facilities</title>
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap" rel="stylesheet">
<style>
body {
font-family: 'Poppins', sans-serif;
margin: 0;
padding: 0;
background-image: url('https://lh3.googleusercontent.com/p/AF1QipMGj3EI0cyjuM_PqHOpXDHxfbQ2vkIib5ym2TeB=s1360-w1360-h1020');
background-size: cover;
background-position: center top;
background-attachment: fixed;
background-repeat: no-repeat;
}
.header {
background-color: rgba(255, 255, 255, 0.9);
padding: 15px 20px;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.nav-menu {
display: flex;
justify-content: center;
list-style-type: none;
margin: 0;
padding: 0;
}
.nav-item {
margin: 0 15px;
}
.nav-link {
color: #1a237e;
text-decoration: none;
font-weight: 600;
font-size: 16px;
padding: 10px 15px;
border-radius: 25px;
transition: all 0.3s ease;
}
.nav-link:hover {
background-color: #3f51b5;
color: white;
}
.facilities-container {
max-width: 1200px;
margin: 40px auto;
padding: 20px;
background-color: rgba(255, 255, 255, 0.9);
border-radius: 15px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
h1 {
text-align: center;
color: #1a237e;
margin-bottom: 30px;
}
.facility-category {
margin-bottom: 40px;
opacity: 0;
transform: translateY(20px);
transition: opacity 0.5s ease, transform 0.5s ease;
}
.facility-category.visible {
opacity: 1;
transform: translateY(0);
}
h2 {
color: #3f51b5;
border-bottom: 2px solid #3f51b5;
padding-bottom: 10px;
}
ul {
list-style-type: none;
padding-left: 0;
}
li {
margin-bottom: 10px;
padding-left: 25px;
position: relative;
}
li::before {
content: '✓';
position: absolute;
left: 0;
color: #4CAF50;
font-weight: bold;
}
@keyframes float {
0% { transform: translateY(0px); }
50% { transform: translateY(-10px); }
100% { transform: translateY(0px); }
}
.floating-icon {
font-size: 24px;
margin-right: 10px;
display: inline-block;
animation: float 3s ease-in-out infinite;
}
</style>
</head>
<body>
<header class="header">
<nav>
<ul class="nav-menu">
<li class="nav-item"><a href="index.html" class="nav-link">Home</a></li>
<li class="nav-item"><a href="facilities.html" class="nav-link">Facilities</a></li>
<li class="nav-item"><a href="rules.html" class="nav-link">Rules</a></li>
<li class="nav-item"><a href="#" class="nav-link">Contact</a></li>
</ul>
</nav>
</header>
<div class="facilities-container">
<h1>CSVTU Hostel Facilities</h1>
<div class="facility-category">
<h2><span class="floating-icon">🛏️</span>Accommodation</h2>
<ul>
<li>Comfortable single/double occupancy rooms</li>
<li>Well-maintained beds with clean mattresses and linens</li>
<li>Study table and chair in each room</li>
<li>Spacious wardrobes for storage</li>
<li>Ceiling fans and adequate lighting</li>
</ul>
</div>
<div class="facility-category">
<h2><span class="floating-icon">📚</span>Academic Facilities</h2>
<ul>
<li>Well-equipped study rooms on each floor</li>
<li>High-speed Wi-Fi throughout the hostel</li>
<li>Computer lab with printing facilities</li>
<li>Mini library with academic resources</li>
<li>Group discussion areas</li>
</ul>
</div>
<div class="facility-category">
<h2><span class="floating-icon">🏋️</span>Sports and Recreation</h2>
<ul>
<li>Indoor games room (table tennis, carrom, chess)</li>
<li>Outdoor sports facilities (basketball, volleyball courts)</li>
<li>Fully equipped gymnasium</li>
<li>Yoga and meditation area</li>
<li>TV room with comfortable seating</li>
</ul>
</div>
<div class="facility-category">
<h2><span class="floating-icon">🍽️</span>Dining and Kitchen</h2>
<ul>
<li>Spacious dining hall with hygienic food service</li>
<li>Nutritious and varied meal options</li>
<li>24/7 water purifiers on each floor</li>
<li>Microwave and refrigerator facilities</li>
<li>Snack vending machines</li>
</ul>
</div>
<div class="facility-category">
<h2><span class="floating-icon">🧼</span>Hygiene and Maintenance</h2>
<ul>
<li>Daily cleaning of rooms and common areas</li>
<li>Well-maintained washrooms and shower facilities</li>
<li>Laundry room with washing machines</li>
<li>Regular pest control measures</li>
<li>24/7 maintenance staff for quick repairs</li>
</ul>
</div>
<div class="facility-category">
<h2><span class="floating-icon">🔒</span>Safety and Security</h2>
<ul>
<li>24/7 security personnel and CCTV surveillance</li>
<li>Biometric access control system</li>
<li>Fire safety equipment and emergency exits</li>
<li>First-aid facilities and on-call medical support</li>
<li>Regular safety drills and awareness programs</li>
</ul>
</div>
</div>
<script>
function isElementInViewport(el) {
var rect = el.getBoundingClientRect();
return (
rect.top >= 0 &&
rect.left >= 0 &&
rect.bottom <= (window.innerHeight || document.documentElement.clientHeight) &&
rect.right <= (window.innerWidth || document.documentElement.clientWidth)
);
}
function handleScroll() {
var elements = document.getElementsByClassName('facility-category');
for (var i = 0; i < elements.length; i++) {
if (isElementInViewport(elements[i])) {
elements[i].classList.add('visible');
}
}
}
window.addEventListener('scroll', handleScroll);
window.addEventListener('load', handleScroll);
</script>
</body>
</html>