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

Navbar enhnaced of Rate Us page #1335

Closed
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
70 changes: 69 additions & 1 deletion RateUs.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,39 @@
background-color: #1a1a2e;
}

/* .navbar {
background-color: #16213e;
color: white;
padding: 15px 0;
position: fixed;
top: 0;
width: 100%;
display: flex;
justify-content: center;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
z-index: 1000;
}

.navbar .nav-wrapper {
display: flex;
gap: 30px;
}

.navbar .nav-link {
color: white;
text-decoration: none;
font-size: 1.4rem;
display: flex;
align-items: center;
}

.navbar .nav-link i {
margin-right: 8px;
}
*/
.navbar {
background-color: #16213e;
/* Dark background for the navbar */
color: white;
padding: 15px 0;
position: fixed;
Expand All @@ -47,17 +78,50 @@
}

.navbar .nav-link {
position: relative;
/* Necessary for absolute positioning of the underline */
color: white;
text-decoration: none;
font-size: 1.4rem;
display: flex;
align-items: center;
padding: 5px;
/* Added padding for better hover effect */
transition: color 0.3s ease;

}

.navbar .nav-link i {
margin-right: 8px;
}

.navbar .nav-link::after {
content: "";
position: absolute;
left: 0;
bottom: -2px;
/* Position the underline below the text */
width: 0%;

height: 2px;

background-color: #007bff;

transition: width 0.4s ease;

}

.navbar .nav-link:hover {
color: #007bff;

}

.navbar .nav-link:hover::after {
width: 100%;

}


.container {
border: 2px solid black;
padding: 20px;
Expand Down Expand Up @@ -127,7 +191,7 @@

<body>
<div class="navbar">
<div class="nav-wrapper">
<div class="nav-wrapper" style="gap:140px; margin-top: 10px;">
<a id="aid" class="nav-link" href="./index.html">
<i class="fas fa-home"></i> Home
</a>
Expand All @@ -145,6 +209,10 @@
</a>
</div>
</div>




<div class="container">
<div class="emojis">
<span class="emoji" role="img" aria-label="cry">&#128546;</span>
Expand Down