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

changes in navbar and adding footer #303

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
15 changes: 9 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
<nav class="navbar">
<h1 id="logoName">Maa-Vimala</h1>
<ul class="nav-links">
<li><i class="fa-solid fa-house"></i><a href="#home"> Home </a></li>
<li><i class="fa-solid fa-info-circle"></i><a href="#about"> About Us </a></li>
<li><i class="fa-solid fa-concierge-bell"></i><a href="#services"> Services </a></li>
<li><i class="fa-solid fa-star"></i><a href="#reviews"> Reviews </a></li>
<li><i class="fa-solid fa-envelope"></i><a href="#contact"> Contact Us </a></li>
<li><i class="fa-solid fa-house" style="color: rgb(112, 94, 200);"></i><a href="#home"> Home </a></li>
<li><i class="fa-solid fa-info-circle" style="color: rgb(112, 94, 200);"></i><a href="#about"> About Us </a></li>
<li><i class="fa-solid fa-concierge-bell" style="color: rgb(112, 94, 200);"></i><a href="#services"> Services </a></li>
<li><i class="fa-solid fa-star" style="color: rgb(112, 94, 200);"></i><a href="#reviews"> Reviews </a></li>
<li><i class="fa-solid fa-envelope" style="color: rgb(112, 94, 200);"></i><a href="#contact"> Contact Us </a></li>
</ul>
</nav>
</header>
Expand All @@ -45,7 +45,7 @@ <h1 id="search-txt">Start Typing To Search...</h1>
<!-- <input type="text" name="" id="input_text"> -->
<div class="search-container">
<input type="text" id="input_text" class="search-bar" placeholder="">
<i class="fas fa-search search-icon"></i>
<i class="fas fa-search search-icon" style="color: rgb(112, 94, 200);"></i>
</div>
</div>
<div>
Expand All @@ -66,6 +66,9 @@ <h1 id="search-txt">Start Typing To Search...</h1>
<a href="https://github.com/Web403/Maa-Vimala/blob/main/README.md">Read Me</a>
</div>
</div>
<div class="footerBottom">
<p>CopyRight &copy;2024 Designed by <span class="designer">Maa-Vimala</span></p>
</div>
<script>
let time = document.getElementById('time');
let date = document.getElementById('date');
Expand Down
16 changes: 12 additions & 4 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ body {
background-color: #333;
padding: 10px;
border-radius: 5px;
font-family: "Poppins", sans-serif;
font-family: Verdana, Geneva, Tahoma, sans-serif;
}

/*#logoName{
Expand Down Expand Up @@ -266,6 +266,7 @@ nav {

.nav-links li {
margin: 0 10px;
border-bottom: 1px solid rgb(112, 94, 200);
}

.nav-links a {
Expand All @@ -280,7 +281,8 @@ nav {
}

.nav-links a:hover {
color: #ffcc00; /* Highlight color on hover */
color: rgb(112, 94, 200);
/* Highlight color on hover */
}

/* Responsive Navbar for Mobile */
Expand All @@ -304,9 +306,10 @@ nav {


#logoName{
font-size: 2rem;
font-size: 1.5rem;
font-weight: 600;
margin:0;
color: rgb(112, 94, 200);
}

#search-txt{
Expand Down Expand Up @@ -359,7 +362,7 @@ button {

.search-icon {
width: 65px;
font-size: 50px;
font-size: 40px;
color: #666;
cursor: pointer;
border: 1px solid black;
Expand Down Expand Up @@ -491,4 +494,9 @@ button {
.fa-magnifying-glass:before, .fa-search:before {
content: "\f002";
margin-left: 90px;
}
.footerBottom{
background-color: rgb(112, 94, 200);
height: 50px;
text-align: center;
}