Skip to content

Commit e87e6aa

Browse files
fix: icon hover effect properly (#1384)
* fix footer icons in Mobile Responsiveness * fix icon hover effect properly
1 parent 55fb99f commit e87e6aa

1 file changed

Lines changed: 71 additions & 14 deletions

File tree

pages/githubbadge.html

Lines changed: 71 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -991,11 +991,11 @@ <h1>GitHub Copilot</h1>
991991
<img src="../assets/recode.png" alt="Recode-Hive logo" class="footer-logo">
992992
</a>
993993
<div class="social-media-links">
994-
<a href="https://facebook.com/recodehive" target="_blank" class="social-icon"><i class="fab fa-facebook-f"></i></a>
995-
<a href="https://twitter.com/recodehive" target="_blank" class="social-icon"><i class="fab fa-twitter"></i></a>
996-
<a href="https://instagram.com/recodehive" target="_blank" class="social-icon"><i class="fab fa-instagram"></i></a>
997-
<a href="https://linkedin.com/company/recodehive" target="_blank" class="social-icon"><i class="fab fa-linkedin-in"></i></a>
998-
<a href="https://github.com/recodehive" target="_blank" class="social-icon"><i class="fab fa-github"></i></a>
994+
<a href="https://facebook.com/recodehive" target="_blank" class="social-icon1"><i class="fab fa-facebook-f"></i></a>
995+
<a href="https://twitter.com/recodehive" target="_blank" class="social-icon2"><i class="fab fa-twitter"></i></a>
996+
<a href="https://instagram.com/recodehive" target="_blank" class="social-icon3"><i class="fab fa-instagram"></i></a>
997+
<a href="https://linkedin.com/company/recodehive" target="_blank" class="social-icon4"><i class="fab fa-linkedin-in"></i></a>
998+
<a href="https://github.com/recodehive" target="_blank" class="social-icon5"><i class="fab fa-github"></i></a>
999999
</div>
10001000
</div>
10011001

@@ -1031,11 +1031,10 @@ <h5>
10311031

10321032
<div class="footer-bottom">
10331033
<div class="footer-container">
1034-
<p class="footer-copyright">
1035-
© <span id="dynamic-year">2024</span> Recode-Hive. Made with 🖤 by the community. All rights
1036-
reserved.
1037-
</p>
1038-
</div>
1034+
<p>© <span id="dynamic-year">2024</span> Recode-Hive. Made with 🖤 by the
1035+
<a href="https://github.com/recodehive/awesome-github-profiles" target="_blank" rel="noopener noreferrer" class="no-underline">community</a>. All rights reserved.
1036+
</p>
1037+
</div>
10391038
</div>
10401039

10411040
<script>
@@ -1054,15 +1053,73 @@ <h5>
10541053
gap: 15px;
10551054
}
10561055

1057-
.social-icon {
1056+
.social-icon1 {
1057+
font-size: 2rem; /* Increased icon size */
1058+
color: #333; /* Default color */
1059+
transition: transform 0.3s ease, color 0.3s ease; /* Smooth transition for transform and color */
1060+
}
1061+
.social-icon2 {
1062+
font-size: 2rem; /* Increased icon size */
1063+
color: #333; /* Default color */
1064+
transition: transform 0.3s ease, color 0.3s ease; /* Smooth transition for transform and color */
1065+
}
1066+
.social-icon3 {
1067+
font-size: 2rem; /* Increased icon size */
1068+
color: #333; /* Default color */
1069+
transition: transform 0.3s ease, color 0.3s ease; /* Smooth transition for transform and color */
1070+
}
1071+
.social-icon4 {
1072+
font-size: 2rem; /* Increased icon size */
1073+
color: #333; /* Default color */
1074+
transition: transform 0.3s ease, color 0.3s ease; /* Smooth transition for transform and color */
1075+
}
1076+
.social-icon5 {
10581077
font-size: 2rem; /* Increased icon size */
10591078
color: #333; /* Default color */
10601079
transition: transform 0.3s ease, color 0.3s ease; /* Smooth transition for transform and color */
10611080
}
10621081

1063-
.social-icon:hover {
1064-
color: #007bff; /* Change color on hover */
1065-
transform: rotate(20deg); /* Rotate 20 degrees on hover */}
1082+
.social-icon1:hover {
1083+
background: #007bff; /* Change color on hover */
1084+
transform: rotate(20deg); /* Rotate 20 degrees on hover */
1085+
background-clip: text;
1086+
-webkit-background-clip: text;
1087+
-webkit-text-fill-color: transparent;
1088+
}
1089+
1090+
.social-icon2:hover {
1091+
background: #007bff; /* Change color on hover */
1092+
transform: rotate(20deg); /* Rotate 20 degrees on hover */
1093+
background-clip: text;
1094+
-webkit-background-clip: text;
1095+
-webkit-text-fill-color: transparent;
1096+
}
1097+
1098+
.social-icon3:hover {
1099+
background: radial-gradient(circle at 30% 107%,
1100+
#fdf497 0%, #fdf497 5%,
1101+
#fd5949 45%,
1102+
#d6249f 60%,
1103+
#285AEB 90%);
1104+
background-clip: text;
1105+
-webkit-background-clip: text;
1106+
-webkit-text-fill-color: transparent;
1107+
transform: rotate(20deg);
1108+
}
1109+
1110+
.social-icon4:hover {
1111+
background: #0077b5; /* Change color on hover */
1112+
transform: rotate(20deg); /* Rotate 20 degrees on hover */
1113+
background-clip: text;
1114+
-webkit-background-clip: text;
1115+
-webkit-text-fill-color: transparent;
1116+
}
1117+
1118+
.social-icon5:hover {
1119+
color: #636464; /* Change color on hover */
1120+
transform: rotate(20deg); /* Rotate 20 degrees on hover */
1121+
}
1122+
10661123
</style>
10671124

10681125
<!-- Scroll to top --> <button id="scrollToTop" aria-label="Scroll to top">

0 commit comments

Comments
 (0)