Skip to content

modified index file #34

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,16 @@
<body>
<div class="navbar">
<div class="innavbar">
<p>SIGN IN</p>
<div class="dropdown">
<img class="dropbtn" src="./Images/imageedit_5_8191573037.png" alt="">
<div class="dropdown-content">
<a href="./login.html">Sign In</a>
<a href="./signup.html">Sign Up</a>
<a class="mybookings" href="">My Bookings</a>
<a href="">Log Out</a>
</div>
</div>

</div>
</div>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,62 @@
gap: 40px;
align-items: flex-end;
justify-content: end;
align-items: center;
cursor: pointer;
}
.innavbar>div>img{
height: 50px;
display: flex;
align-items: center;
padding-right: 40px;
}
.dropbtn {
color: white;
}
.dropdown {
position: relative;
display: inline-block;
}
.dropdown-content {
display: none;
position: absolute;
background-color: rgb(51, 15, 109);
min-width: fit-content;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
z-index: 1;
margin-left: -45px;


}
.innavbar>p{
.dropdown-content>a{
display: block;
color: white;
font-family: sans-serif;
font-size: 18px;
font-weight: bold;
cursor: pointer;
text-align: center;
text-decoration: none;
border: 1px solid;
display: flex;
justify-content: center;
align-items: center;
width: 140px;
height: 40px;
}
.dropdown-content>a:nth-child(1){
margin-top: 16px;
}
.dropdown-content>a:hover{
color: rgb(51, 15, 109);
border: 1px solid rgb(51, 15, 109);
background-color: white;
}
.dropdown:hover .dropdown-content {
display: block;
}
.mybookings{
width: 100px;
border: 1px solid;
}


.heading{
text-align: center;
font-family: sans-serif;
Expand Down