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

Footer Section added to address issue #362 #365

Open
wants to merge 2 commits 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
36 changes: 36 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,44 @@ <h1 id="search-txt">Start Typing To Search...</h1>
</div>
<div id="link">
<a href="https://github.com/Web403/Maa-Vimala/blob/main/README.md">Read Me</a>

</div>


</div>

<footer class="footer">
<div class="footer-content">
<div class="footer-section about-us">
<h3>About Us</h3>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer nec odio. Praesent libero. Sed cursus ante dapibus diam.</p>
</div>
<div class="footer-section contact">
<h3>Contact</h3>
<ul class="contact-info">
<li><i class="fas fa-envelope"></i> [email protected]</li>
<li><i class="fas fa-phone"></i> +1234567890</li>
<li><i class="fas fa-map-marker-alt"></i> 123 Main Street, City, Country</li>
</ul>
</div>
</div>
<div class="social-links">
<h3>Follow Us</h3>
<ul>
<li><a href="#"><i class="fab fa-facebook"></i> Facebook</a></li>
<li><a href="#"><i class="fab fa-twitter"></i> Twitter</a></li>
<li><a href="#"><i class="fab fa-instagram"></i> Instagram</a></li>
</ul>
</div>
<div class="footer-bottom">
<p>&copy; 2024 Maa-Vimala. All rights reserved. | Designed with <i class="fas fa-heart"></i> by <a href="https://github.com/Omkar-Sonawane-23" target="_blank">Omkar Sonawane</a></p>
</div>
</footer>





<script>
let time = document.getElementById('time');
let date = document.getElementById('date');
Expand Down
129 changes: 110 additions & 19 deletions style.css
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
body {
background-image: url('https://images.pexels.com/photos/36717/amazing-animal-beautiful-beautifull.jpg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1');
color: #ddd;
background-repeat: no-repeat;
background-size: cover;
background-color: #333;
padding: 10px;
border-radius: 5px;
font-family: "Poppins", sans-serif;
background-image: url('https://images.pexels.com/photos/36717/amazing-animal-beautiful-beautifull.jpg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1');
color: #ddd;
background-repeat: no-repeat;
background-size: cover;
background-position: center bottom;
background-color: #333;
padding: 10px;
padding-bottom: 100px; /* Adjust as needed to avoid overlapping with footer */
border-radius: 5px;
font-family: "Poppins", sans-serif;
margin: 0;
}

/*#logoName{
font-size: 2rem;
font-weight: 600;
Expand Down Expand Up @@ -231,8 +233,7 @@ body {
font-family: "Poppins", sans-serif;
margin:0;
}
/* Navbar Styling */
nav {
/* Navbar Styling */nav {
background-color: rgba(0, 0, 0, 0.8);
width: 100%;
padding: 1rem 0;
Expand Down Expand Up @@ -464,14 +465,17 @@ button {
}

@media screen and (max-width: 600px){
body{
background-image: url('https://images.pexels.com/photos/1368382/pexels-photo-1368382.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1');
color: #ddd;
background-repeat: no-repeat;
background-size:100vh;
background-color: #fcfcfc;
padding: 10px;
}
body {
background-image: url('https://images.pexels.com/photos/36717/amazing-animal-beautiful-beautifull.jpg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1');
color: #ddd;
background-repeat: no-repeat;
background-size: contain;
background-position: center bottom;
background-color: #333;
padding: 10px;
border-radius: 5px;
font-family: "Poppins", sans-serif;
}
.search-bar {
position: absolute;
font-size: 1.5rem;
Expand All @@ -491,4 +495,91 @@ button {
.fa-magnifying-glass:before, .fa-search:before {
content: "\f002";
margin-left: 90px;

}


.footer {
background-color: #222;
color: #fff;
padding: 20px;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
width: 100%;
}

.footer-content {
flex: 1 1 100%;
max-width: 300px;
margin-right: 20px;
}

.footer-section {
margin-bottom: 1%;
}

.footer-section h3 {
margin-bottom: 10px;
color: #fff;
}

.footer-section p {
margin: 5px 0;
}

.contact-info {
list-style: none;
padding: 0;
margin: 0;
}

.contact-info li {
margin-bottom: 10px;
}

.contact-info li i {
margin-right: 10px;
}

.social-links {
flex: 1 1 100%;
max-width: 200px;
}

.social-links h3 {
margin-bottom: 15px;
color: #fff;
}

.social-links ul {
list-style: none;
padding: 0;
margin: 0;
}

.social-links ul li {
margin-bottom: 10px;
}

.social-links a {
color: #fff;
font-size: 16px;
text-decoration: none;
display: flex;
align-items: center;
}

.social-links a i {
margin-right: 10px;
}

.social-links a:hover {
color: #ffcc00; /* Hover color for social media links */
}

.footer-bottom {
flex: 1 1 100%;
text-align: center;
margin-top: 30px;
}