Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 0 additions & 33 deletions webtech project/city.html

This file was deleted.

276 changes: 191 additions & 85 deletions webtech project/citystyle.css
Original file line number Diff line number Diff line change
@@ -1,86 +1,192 @@
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
#logoImg {
height: 10vh;
margin-bottom: 0px;
}
#navbar {
display: flex;
position: fixed;
width: 100%;
justify-content: space-between;
background-color: black;
}
#navbar ul {
display: flex;
text-decoration: none;
align-items: center;
width: 40vw;
justify-content: space-around;
font-size: 1.5rem;
}
.tag {
list-style: none;
}
.tag a {
text-decoration: none;
color: white;
}
#navbar button {
width: 12rem;
color: white;
background-color: red;
border-radius: 8px;
font-size: 1.3rem;
margin-right: 20px;
}
#navbar button:hover {
color: yellow;
}

/* dropDown */
li a,
.dropbtn {
display: inline-block;
color: white;
text-align: center;
padding: 14px 16px;
text-decoration: none;
}

li a:hover,
.dropbtn:hover {
background-color: red;
}

li.dropdown {
display: inline-block;
}

.dropdown-content {
display: none;
position: absolute;
background-color: #f9f9f9;
min-width: 160px;
box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
z-index: 1;
}

.dropdown-content a {
color: black;
padding: 12px 16px;
text-decoration: none;
display: block;
text-align: left;
}

.dropdown-content a:hover {
background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content {
display: block;
}
margin: 0;
padding: 0;
box-sizing: border-box;
}
#logoImg {
height: 10vh;
margin-bottom: 0px;
}
#navbar {
display: flex;
position: fixed;
width: 100%;
justify-content: space-between;
background-color: black;
z-index: 1;
}
#navbar ul {
display: flex;
text-decoration: none;
align-items: center;
width: 40vw;
justify-content: space-around;
font-size: 1.5rem;
}
.tag {
list-style: none;
}
.tag a {
text-decoration: none;
color: white;
}
#navbar button {
width: 12rem;
color: white;
background-color: red;
border-radius: 8px;
font-size: 1.3rem;
margin-right: 20px;
}
#navbar button:hover {
color: yellow;
}

/* dropDown */
li a,
.dropbtn {
display: inline-block;
color: white;
text-align: center;
padding: 14px 16px;
text-decoration: none;
}

li a:hover,
.dropbtn:hover {
background-color: red;
}

li.dropdown {
display: inline-block;
}

.dropdown-content {
display: none;
position: absolute;
background-color: #f9f9f9;
min-width: 160px;
box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
z-index: 1;
}

.dropdown-content a {
color: black;
padding: 12px 16px;
text-decoration: none;
display: block;
text-align: left;
}

.dropdown-content a:hover {
background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content {
display: block;
}

/* main section */
#main {
position: relative;
top: 80px;
}

.hotel {
display: flex;
margin: 2rem 4rem 2rem 8rem;
height: 18rem;
}
.heading {
background-color: rgba(175, 175, 175, 0.733);
text-align: center;
font-size: 4.5rem;
}
.hotelName {
font-size: 3rem;
}
.hotelImg {
height: 100%;
width: 27rem;
}
.hotelDetails {
padding-left: 1rem;
}
.hotelDetails div {
margin: 1rem 0;
}
.address {
font-size: 1.2rem;
color: gray;
}
.details {
background-color: #1ab64f;
font-size: 1.2rem;
padding: 0.5rem 1.5rem;
color: white;
border: 1px solid #1ab64f;
border-radius: 5px;
}
.hotelDetails .details a {
color: white;
text-decoration: none;
}
.details:hover {
background-color: green;
}
.hotelDetails a {
text-decoration: none;
color: blue;
font-size: 1.1rem;
}
.hotelDetails a:hover {
text-decoration: underline;
}

.rating {
font-size: 1.1rem;
/* background-color: chartreuse; */
color: black;
width: fit-content;
border: 2px solid black;
padding: 0.1rem 0.5rem;
}

hr {
width: 83%;
margin-left: 7rem;
}

/* .hotel1,
.hotel2,
.hotel3 {
width: 25rem;
} */

/* .hotel2 img,
.hotel3 img {
width: 100%;
} */
/* .navhotel {
height: 102%;
} */

/* footer */

footer {
height: 50px;
margin-top: 2px;
}
.foot {
background-color: rgba(27, 27, 27, 0.925);
text-align: center;
color: white;
padding: 20px 0px;
}
.foot img {
width: 2rem;
}
i {
color: #1ab64f;
}

30 changes: 22 additions & 8 deletions webtech project/hotelpage3.html → webtech project/delhi-itc.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,22 @@
<nav>
<div id="navbar">
<div class="logo">
<img src="photos/logo.png" alt="logo" id="logoImg">
<img src="photos/logo.jpg" alt="logo" id="logoImg">
</div>

<ul>
<li class="tag"><a href="index.html">Home</a></li>
<li class="tag"><a href="home.html">Home</a></li>
<li class="dropdown">
<a href="javascript:void(0)" class="dropbtn">Locations</a>
<div class="dropdown-content">
<a href="#">Link 1</a>
<a href="#">Link 2</a>
<a href="#">Link 3</a>
<a href="delhi.html">Delhi</a>
<a href="mumbai.html">Mumbai</a>
<a href="goa.html">Goa</a>
</div>
</li>
<li class="tag"><a href="contact.html">Contact Us</a></li>
<li class="tag"><a href="contactus.html">Contact Us</a></li>
</ul>
<button>Download App</button>
<button onclick = "logout()">Logout</button>
</div>
</nav>

Expand Down Expand Up @@ -96,12 +96,26 @@
</div>
</div>

<button name="booknow" id="booknow"><a href="#">Book Now</a></button>
<button name="booknow" id="booknow"><a href="book.html">Book Now</a></button>
</div>

</div>

<div style="height: 50px;"></div>
<footer>
<div class="foot">
Copyright &copy; www.samahotels.com
<br>
<br>
All rights reserved
<br>
<br>
<img src="photos\instagram.png" alt="instagramIcon">
<img src="photos\facebook.png" alt="instagramIcon">
<img src="photos\linkedin.png" alt="instagramIcon">
<img src="photos\twitter.png" alt="instagramIcon">
</div>
</footer>
</section>
</body>

Expand Down
Loading