Skip to content

Commit

Permalink
Colored socials
Browse files Browse the repository at this point in the history
  • Loading branch information
VijaySamant4368 committed Aug 10, 2024
1 parent adbb39c commit 8119deb
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 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
8 changes: 8 additions & 0 deletions styles/mainstyle.css
Original file line number Diff line number Diff line change
Expand Up @@ -830,4 +830,12 @@ input[type="number"] {

.hidden {
display: none;
}


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

0 comments on commit 8119deb

Please sign in to comment.