Skip to content

Commit

Permalink
Merge pull request #32 from AksharP5/footer
Browse files Browse the repository at this point in the history
feat: add footer
  • Loading branch information
AksharP5 authored Sep 14, 2024
2 parents adba130 + 83d8f4d commit 99ca039
Show file tree
Hide file tree
Showing 2 changed files with 120 additions and 0 deletions.
18 changes: 18 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,24 @@ <h2 class="heading">Contact Me</h2>
<input type="submit" value="Send Message" class="btn">
</form>
</section>

<footer class="footer">
<div class="social">
<a href="#"><i class="fa-brands fa-linkedin"></i></a>
<a href="#"><i class="fa-brands fa-square-github"></i></i></a>
</div>
<ul class="list">
<li><a href="#">Home</a></li>
<li><a href="#">Projects</a></li>
<li><a href="#">Skills</a></li>
<li><a href="#">Experience</a></li>
<li><a href="#">Contact</a></li>
</ul>
<p class="copyright">
© Akshar Patel | All Rights Reserved
</p>
</footer>

<script type="module" src="/src/index.js"></script>
</body>

Expand Down
102 changes: 102 additions & 0 deletions src/assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -704,4 +704,106 @@ span {

.contact form btn {
margin-top: 2rem;
}

/* Footer Section */

.footer {
position: relative;
bottom: 0;
width: 100%;
padding: 40px 0;
background-color: var(--main-color);
}

.footer .social {
text-align: center;
padding-bottom: 25px;
color: black;
}

.footer .social a {
font-size: 25px;
color: black;
border: 2px solid black;
width: 42px;
height: 42px;
line-height: 42px;
display: inline-block;
text-align: center;
border-radius: 50%;
margin: 0 10px;
transition: 0.3s ease;
}

.footer .social a:hover {
transform: scale(1.2)translateY(-5px);
background: black;
color: var(--main-color);
}

.footer ul {
margin-top: 0;
padding: 0;
font-size: 18px;
line-height: 1.8;
margin-bottom: 0;
text-align: center;
}

.footer ul li a {
color: black;
border-bottom: 3px solid transparent;
transition: 0.3s ease;
}

.footer ul li a:hover {
border-bottom: 3px solid black;
}

.footer ul li {
display: inline-block;
padding: 0 15px;
}

.footer .copyright {
margin-top: 50px;
text-align: center;
font-size: 16px;
color: black;
}

@media(max-width: 1285px) {
html {
font-size: 55%;
}
.services-container {
padding-bottom: 7rem;
grid-template-columns: repeat(1,1fr);
margin: 0.5rem;
}
}

@media(max-width: 991px) {
.header {
padding: 2rem 3%;
}
section {
padding: 10rem 3% 2rem;
}
.services {
padding-bottom: 7rem;
}
.footer {
padding: 2rem 3%;
}
}

@media(max-width: 895px) {
.services h2 {
margin-bottom: 3rem;
}
.services-container {
grid-template-columns: repeat(1,1fr);
}
}

0 comments on commit 99ca039

Please sign in to comment.