Skip to content
This repository was archived by the owner on Jan 11, 2020. It is now read-only.

Commit e9d4249

Browse files
anupm12prateek76
authored andcommitted
Add hover effect to footer icon fixes #344 (#346)
* Add hover effect to footer icon fixes #344 * Changed the hover effect also added it to the participant card * Changed transition time and transition scale
1 parent 63a0875 commit e9d4249

File tree

2 files changed

+17
-5
lines changed

2 files changed

+17
-5
lines changed

css/main.css

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -636,6 +636,17 @@ input:checked + .slider:before {
636636
align-items: left;
637637
}
638638

639+
/* hover effect to footer icons */
640+
.footer-hover:hover {
641+
transform: scale(1.2);
642+
transition-duration: 0.5s;
643+
}
644+
645+
.fab:hover {
646+
transform: scale(1.2);
647+
transition-duration: 0.4s;
648+
}
649+
639650
.game-card {
640651
/* max-height: 470px;
641652
min-height: 470px; */
@@ -644,3 +655,4 @@ input:checked + .slider:before {
644655
box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.12);
645656

646657
}
658+

index.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -908,12 +908,12 @@ <h1 class="text-left issue-title" >ISSUES</h1>
908908
<!-- Footer -->
909909
<footer class="py-5 bg-dark">
910910
<div class="footer_media">
911-
<a href="https://www.facebook.com/opencodeiiita/" target="_blank"><i class="fab-night fab fa-facebook-f icon-color"></i></a>
912-
<a href="https://github.com/opencodeiiita " target="_blank"><i class="fab-night fab fa-github icon-color"></i></a>
913-
<a href="https://twitter.com/geekhaveniiita" target="_blank"><i class="fab-night fab fa-twitter icon-color"></i></a>
911+
<a href="https://www.facebook.com/opencodeiiita/" target="_blank"><i class="fab-night fab fa-facebook-f icon-color px-2"></i></a>
912+
<a href="https://github.com/opencodeiiita " target="_blank"><i class="fab-night fab fa-github icon-color px-2"></i></a>
913+
<a href="https://twitter.com/geekhaveniiita" target="_blank"><i class="fab-night fab fa-twitter icon-color px-2"></i></a>
914914
<div class="col-12 col-sm-12 col-md-4 night-footer-ref" >
915-
<a href="https://www.iiita.ac.in/" ><img class="night-footer-ref" src="./assets/img/iiitalogo.jpg" width="65" height="60"></a>
916-
<a href="https://geekhaven.iiita.ac.in/" ><img class="night-footer-ref" src="./assets/img/geekhavenlogo.svg" width="60" height="60"></a>
915+
<a href="https://www.iiita.ac.in/" class="px-2"><img class="night-footer-ref footer-hover" src="./assets/img/iiitalogo.jpg" width="65" height="60"></a>
916+
<a href="https://geekhaven.iiita.ac.in/" class="px-2"><img class="night-footer-ref footer-hover" src="./assets/img/geekhavenlogo.svg" width="60" height="60"></a>
917917
</div>
918918
</div>
919919
<div class="container night-footer-ref">

0 commit comments

Comments
 (0)