forked from bhavanshu-1112/DBMS-Project
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathfacilities.html
More file actions
201 lines (172 loc) · 7.97 KB
/
Copy pathfacilities.html
File metadata and controls
201 lines (172 loc) · 7.97 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
<!DOCTYPE html>
<html>
<head>
<title>Facilities</title>
<link rel="shortcut icon" href="logo.ico" />
<link href="https://fonts.googleapis.com/css?family=Parisienne|Tangerine:700&effect=neon" rel="stylesheet">
<style>
body{ /*body*/
background-image: url("bg2.jpg");
background-attachment: fixed;
background-size: cover;
font-family: 'Parisienne', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
/******************************************************
**************NAVBAR AND DROPDOWN**********************
******************************************************/
.navbar { /*navbar*/
overflow: hidden;
background-color: rgba(51, 51, 51, 0.74);
}
.navbar a { /* Links inside navbar */
float: left;
font-size: 30px;
color: rgb(185, 144, 45);
width: 18%;
text-align: center;
padding: 6px 11px;
text-decoration: none;
transition: 0.5s ease;
}
.dropdown { /* The dropdown container */
float: left;
overflow: hidden;
width: 18%;
}
.dropdown .dropbtn { /* Dropdown button */
font-size: 30px;
border: none;
outline: none;
color: rgb(185, 144, 45);
width: 100%;
padding: 6px 11x;
transition: 0.5s ease;
background-color: inherit;
font-family: inherit; /*vertical align on mobile phones */
margin: 0; /* vertical align on mobile phones */
}
.navbar a:hover, .dropdown:hover .dropbtn { /* change colors of links on hover*/
background-color: rgb(185, 144, 45);
color: white;
border-radius: 5px;
}
.dropdown-content { /* Dropdown content (hidden) */
display: none;
position: absolute;
background-color: rgb(185, 144, 45);
width: 21%;
border-radius: 5px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
z-index: 2;
}
.dropdown-content a { /* Links inside dropdown */
float: none;
color: rgba(26, 25, 25, 0.822);
padding: 5px 11px;
text-decoration: none;
display: block;
text-align: left;
font-size: 24px;
z-index: 1;
}
.dropdown-content a:hover { /* Add a grey background color to dropdown links on hover */
background-color: rgba(202, 175, 112, 0.356);
border-radius: 5px;
width: 91%;
}
.dropdown:hover .dropdown-content { /* Show the dropdown menu on hover */
display: block;
}
/******************************************************
*********************FAILITIES*************************
******************************************************/
.facilities-container {
background-color:rgb(185, 144, 45);
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
position: relative;
width: 50%;
}
.image {
opacity: 1;
display: block;
width: 100%;
height: auto;
border: 8px;
border-color:rgba(202, 175, 112, 0.356);
transition: .5s ease;
backface-visibility: hidden;
}
.middle {
transition: .5s ease;
opacity: 0;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
-ms-transform: translate(-50%, -50%)
}
.facilities-container:hover .image {
opacity: 0.3;
}
.facilities-container:hover .middle {
opacity: 1;
}
.text {
color: white;
font-size: 36px;
padding: 16px 32px;
}
</style>
</head>
<body>
<!- /*************************************NAVBAR AND DROPDOWN*********************************************************************************/ ->
<div class="navbar">
<a href="main.php">Home</a>
<a href="bookroom.php">Book A Room</a>
<a href="facilities.html">Facilities</a>
<a href="facilities.html">Facilities</a>
<a href="#">Nearby</a>
<div class="dropdown">
<button class="dropbtn">Our Locations
</button>
<button class="dropbtn">My Account
</button>
<div class="dropdown-content">
<?php if(!isset($_SESSION['username'])){ ?>
<a href="login.php">Login</a>
<a href="register.php">Sign Up</a>
<?php }
else { ?>
<a href="logout.php">Logout</a>
<?php } ?>
</div>
</div>
</div>
<br><br>
<!- /*************************************FACILITIES*********************************************************************************/ ->
<center>
<div class="facilities-container">
<img src="images/laundry.jpg" alt="Laundry" class="image" style="width:100%">
<div class="middle">
<div class="text">Laundry</div>
</div>
</div>
<br>
<br><br>
<div class="facilities-container">
<img src="images/room-service-equipment.jpg" alt="Room Service" class="image" style="width:100%">
<div class="middle">
<div class="text">Room Service</div>
</div>
</div>
<br>
<br><br>
<div class="facilities-container">
<img src="images/345327.jpg" alt="In House Bar" class="image" style="width:100%">
<div class="middle">
<div class="text">In House Bar</div>
</div>
</div>
</center>
</body>
</html>