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

[FIX] Nav bar hover fixed on all page #838

Merged
merged 1 commit into from
Oct 16, 2024
Merged
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
10 changes: 3 additions & 7 deletions Feedback.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,8 @@
color: black;
padding: 10px;
}
ul li a:hover {
color: rgb(56, 56, 237) !important;
}
a:hover {
color: rgb(1, 4, 177) !important;
}



.navbar.dark-mode {
background-color: black;
Expand Down Expand Up @@ -103,7 +99,7 @@
}

.menu a:hover {
background-color: rgb(22, 160, 219);
background-color: blue;
/* Blue background on hover */
color: white;
/* White text on hover */
Expand Down
8 changes: 2 additions & 6 deletions contact.html
Original file line number Diff line number Diff line change
Expand Up @@ -349,12 +349,8 @@
align-items: center;
animation: logoAnimation 1s ease forwards;
}
ul li a:hover {
color: blue !important;
}
a:hover {
color: blue !important;
}



.brand-name {
display: flex;
Expand Down
21 changes: 12 additions & 9 deletions features.html
Original file line number Diff line number Diff line change
Expand Up @@ -217,17 +217,15 @@
}

.menu ul li a:hover {
background-color: #000;
background-color: blue;
color: white;
}

.menu ul li a.active {
color: white;
background-color: #000;
}
ul li a:hover {
color: blue !important;
}


.content {
margin: 20px;
Expand Down Expand Up @@ -444,13 +442,18 @@

<nav class="menu">
<ul>
<li><a href="index.html" id="home-link" onclick="changeContent('home')">
<li><a href="index.html" id="home-link" onclick="changeContent('home')"><i
class="fa-solid fa-house"></i>
Home</a></li>
<li><a href="features.html" id="features-link" onclick="changeContent('features')"> Features</a></li>
<li><a href="team.html" id="team-link" onclick="changeContent('team')">
<li><a href="features.html" id="features-link" onclick="changeContent('features')"><i
class="fa-solid fa-file"></i> Features</a></li>
<li><a href="team.html" id="team-link" onclick="changeContent('team')"><i
class="fa-solid fa-user-group"></i>
Team</a></li>
<li><a href="contact.html" id="contact-link" onclick="changeContent('contact')">Contact</a></li>
<li><a href="Feedback.html" id="feedback-link" onclick="changeContent('feedback')"> Feedback</a></li>
<li><a href="contact.html" id="contact-link" onclick="changeContent('contact')"><i
class="fa-solid fa-phone"></i> Contact</a></li>
<li><a href="Feedback.html" id="feedback-link" onclick="changeContent('feedback')"><i
class="fa-solid fa-clipboard"></i> Feedback</a></li>
</ul>
</nav>
<div class="buttons">
Expand Down