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

Navigation Links Setuped Properly and also added navbar css for text … #344

Closed
Closed
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
32 changes: 31 additions & 1 deletion signUp.css
Original file line number Diff line number Diff line change
Expand Up @@ -152,4 +152,34 @@ body {
.toggle-password svg {
width: 20px;
height: 20px;
}
}
/* Navbar styles */
nav {
background-color: #131c27; /* Change this to your desired background color */
border-radius: 12px; /* Add rounded corners to the navbar */
padding: 10px 20px; /* Add padding to space out items */
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Optional: Add a shadow for depth */
}

nav h1#logo {
color: white; /* Change logo color to black for visibility */
margin-right: 20px; /* Add space between logo and navigation links */
font-size: 1.5rem; /* Adjust font size for the logo */
}

nav ul {
list-style: none; /* Remove bullet points */
display: flex; /* Align items in a row */
gap: 20px; /* Add space between items */
}

nav a {
color: black; /* Set the link text color to black */
text-decoration: none; /* Remove underline from links */
font-weight: 500; /* Adjust font weight */
transition: color 0.3s; /* Smooth transition for hover effect */
}

nav a:hover {
color: #4a8ae4; /* Change link color on hover for better UX */
}
21 changes: 12 additions & 9 deletions signUp.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,20 @@
<body>
<header class="main-head">
<nav>
<div class="logo" >
<img src="img\logo.png" id="logo-web">
<h1 id="logo">BuddyTrail</h1>
<ul >
<li><a href="#home" class='navhover '>Home</a></li>
<li><a href="#locations" class='navhover '>Location</a></li>
<li><a href="#itineraries " class='navhover'>Travel Itineraries</a></li>
<li><a href="#reviews" class='navhover'>Reviews</a></li>
<li><a href="#benefits" class='navhover'>Benefits</a></li>
<li><a href="#contact" class='navhover'>Contact</a></li>
</div>
<ul>
<li><a href="index.html#home" class='navhover'>Home</a></li>
<li><a href="index.html#locations" class='navhover'>Location</a></li>
<li><a href="index.html#itineraries" class='navhover'>Travel Itineraries</a></li>
<li><a href="index.html#reviews" class='navhover'>Reviews</a></li>
<li><a href="index.html#benefits" class='navhover'>Benefits</a></li>
<li><a href="index.html#contact" class='navhover'>Contact</a></li>
<li><a href="signUp.html" class='navhover'>Sign In</a></li>

</ul>
</ul>
<!-- Toggle Button -->
<button class="mode-toggle" id="modeToggle">
<span class="sun-icon glow">☀️</span>
Expand Down