Skip to content

Update style.css #814

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
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
88 changes: 47 additions & 41 deletions Band Website/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,58 +8,64 @@
background:url("images/background.jpg") no-repeat center center/cover;
}
/**navbar**/
.navbar{
height:50px;
background-color:black;
.navbar {
height: 50px;
background-color: black;
position: relative;
z-index: 10;
}

a{
line-height:30px;
float:left;
text-decoration:none;
padding:10.5px 24px!important;
color:white;
cursor:pointer;

}
a:hover{
color:black;
background-color:lightgrey;
/***dropdown**/
.dropdown-content {
display: none;
position: absolute;
top: 50px;
left: 0; /* Adjusted to align with parent link */
background-color: white;
color: black;
width: 150px;
z-index: 100;
box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

/***dropdown***/
.dropdown-content{
display:none;
position:absolute;
top:50px;
left:408px;
width:150px;
height:115px;
background-color:white;
color:black;
/***dropdown items**/
.dropdown-content-item {
list-style: none;
padding: 10px;
cursor: pointer;
text-align: left;
}

.dropdown-content-item:hover {
background-color: lightgrey;
color: white;
}

.dropdown-content-item{
list-style:none;
padding:10px;
/***dropdown effect**/
.dropdown:hover .dropdown-content {
display: block;
}
.dropdown-content-item:hover{
background-color:lightgrey;
color:white;

/***more link styling***/
.dropdown > a {
color: white;
padding: 10.5px 24px!important;
text-decoration: none;
float: left;
}
/**dropdown effect***/
.dropdown:hover .dropdown-content{
display:block;

.dropdown > a:hover {
color: black;
background-color: lightgrey;
}

/*search bar*/
.search{
color: white;
float: right;
font-size: 25px;
padding: 15px;
margin-right: 10px;
.search {
color: white;
float: right;
font-size: 25px;
padding: 15px;
margin-right: 10px;
}

/**homepage description**/
Expand Down Expand Up @@ -333,4 +339,4 @@ input{
}
.footer-desc{
margin-top:100px;
}
}