Skip to content
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

Update styles.css #80

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
15 changes: 9 additions & 6 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@
display: flex;
justify-content: center;
align-items: center;
margin: 0;
margin-inline-end: 80px;
}

.navbar ul li {
position: relative;
margin-left: 25px;
margin-left: 0 px;
}

.navbar ul li a {
Expand All @@ -53,6 +53,7 @@
padding: 8px 15px;
border-radius: 4px;
transition: background-color 0.3s ease, color 0.3s ease;
margin-left: 20px;
}

.navbar ul li a:hover {
Expand All @@ -74,7 +75,7 @@
height: 3px;
width: 30px;
display: flex;
align-items: start;
/*align-items: start;*/
justify-content: start;
background-color: #fff;
border-radius: 10px;
Expand All @@ -91,12 +92,13 @@
display: none;
position: absolute;
background-color: #333;
padding: 10px;
/*padding: 10px;*/
border-radius: 4px;
z-index: 1;
top: 100%; /* Position the dropdown below the parent link */
left: 50%;
left: 10%;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
border-radius: 10px;
}

.dropdown li {
Expand Down Expand Up @@ -131,11 +133,12 @@

.navbar ul li {
margin-left: 0;
margin-block-end: 20%;
}

.navbar ul li a {
display: block;
padding: 10px 20px;
padding: 5px 20px;
width: 100%;
}

Expand Down