Skip to content

Commit

Permalink
Merge pull request #768 from VijaySamant4368/new-social
Browse files Browse the repository at this point in the history
Colored the icons
  • Loading branch information
ayush-t02 authored Aug 10, 2024
2 parents adbb39c + 501c19a commit d82ca01
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 3 deletions.
12 changes: 10 additions & 2 deletions js/nav.footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,14 +61,22 @@ const footer = `
async
></script>
<div class="social-icons">
<a href="https://github.com/ChromeGaming/Dot-Box" target="_blank">
<a href="https://github.com/ChromeGaming/Dot-Box" class="social" target="_blank">
<i class="fab fa-github"></i>
</a>
<a href="https://discord.gg/2HTCFrSvPB" target="_blank">
<a href="https://discord.gg/2HTCFrSvPB" class="social" target="_blank">
<i class="fab fa-discord"></i>
</a>
</div>
</div>
<style>
.author .social-icons .social:hover .fa-github{
color: #2b3137;
}
.author .social-icons .social:hover .fa-discord{
color: #7289da;
}
</style>
`;

document.addEventListener("DOMContentLoaded", () => {
Expand Down
24 changes: 23 additions & 1 deletion styles/mainstyle.css
Original file line number Diff line number Diff line change
Expand Up @@ -830,4 +830,26 @@ input[type="number"] {

.hidden {
display: none;
}
}


.author .social-icons .social:hover .fa-github{
color: #2b3137;
}
.author .social-icons .social:hover .fa-discord{
color: #7289da;
}

.floating-social .social-icon:hover .fa-twitter {
color:#1DA1F2;
}

.floating-social .social-icon:hover .fa-instagram {
background-color: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
}
.floating-social .social-icon:hover .fa-facebook {
color: #4267B2;
}
.floating-social .social-icon:hover .fa-linkedin {
color: #0077b5;
}

0 comments on commit d82ca01

Please sign in to comment.