Skip to content

Commit 4d0702b

Browse files
authored
Merge pull request #14 from mchirag2002/main
Added hover effect to the counters
2 parents e4caf88 + 69fab13 commit 4d0702b

3 files changed

Lines changed: 288 additions & 463 deletions

File tree

assets/css/index.css

Lines changed: 34 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,13 @@ body {
2020
background-color: #212121 !important;
2121
}
2222

23-
2423
footer > * a,
2524
footer > * a:hover {
2625
color: white !important;
2726
text-decoration: none;
2827
}
2928

30-
footer > * ul {
29+
footer>* ul {
3130
margin: 0;
3231
}
3332

@@ -60,11 +59,9 @@ a:hover {
6059

6160
.login__navbar {
6261
background-color: none;
63-
background-image: linear-gradient(
64-
180deg,
65-
rgba(40, 40, 40, 0.3),
66-
rgba(86, 86, 86, 0.3)
67-
);
62+
background-image: linear-gradient(180deg,
63+
rgba(40, 40, 40, 0.3),
64+
rgba(86, 86, 86, 0.3));
6865
}
6966

7067
.title__logo {
@@ -296,6 +293,7 @@ a:hover {
296293
-webkit-transform: translateY(-25%);
297294
transform: translateY(-25%);
298295
}
296+
299297
100% {
300298
-webkit-transform: translateY(0);
301299
transform: translateY(0);
@@ -307,6 +305,7 @@ a:hover {
307305
-webkit-transform: translateY(-25%);
308306
transform: translateY(-25%);
309307
}
308+
310309
100% {
311310
-webkit-transform: translateY(0);
312311
transform: translateY(0);
@@ -461,6 +460,7 @@ a:hover {
461460

462461
.link__buttons:hover {
463462
transform: scale(1.1);
463+
background-color: #4e9f6a;
464464
}
465465

466466
.icons {
@@ -577,6 +577,7 @@ a:hover {
577577
.count__box {
578578
width: 15rem;
579579
height: 15rem;
580+
margin-bottom: 1rem;
580581
display: flex;
581582
flex-direction: column;
582583
align-items: center;
@@ -585,19 +586,33 @@ a:hover {
585586
background-repeat: no-repeat;
586587
background-size: contain;
587588
background-position: center;
589+
transition: all 0.2s;
588590
}
589591

590-
.count__box > p:first-child {
592+
593+
594+
.count__box>p:first-child {
591595
font-size: 1.9rem;
592596
font-weight: 500;
593597
}
594598

595-
.count__box > p:last-child {
599+
.count__box>p:last-child {
596600
padding: 0.25rem 0;
597601
font-size: 0.8rem;
598602
}
599603

600-
#moosync__numbers__button {
604+
.count__box:hover {
605+
color: #FAF3E3;
606+
width: 16rem;
607+
margin-bottom: 0;
608+
background-image: url("../img/hexagon-hover.svg");
609+
height: 16rem;
610+
/* transition: all 0.2s; */
611+
transform: scale(1.04);
612+
}
613+
614+
615+
.count__box>#moosync__numbers__button {
601616
margin-top: 2rem;
602617
}
603618

@@ -675,6 +690,7 @@ a:hover {
675690
.info__text__3:hover #link__icon {
676691
transform: scale(1.25);
677692
}
693+
678694
#link__icon {
679695
height: 0.75rem;
680696
width: 0.75rem;
@@ -751,7 +767,7 @@ a:hover {
751767
}
752768

753769
.list-items-link:hover {
754-
color: #80ed99 !important;
770+
color: #80ed99 !important;
755771
}
756772

757773
#notice {
@@ -904,7 +920,7 @@ a:hover {
904920
padding: 0 1rem;
905921
align-items: center;
906922
justify-content: space-between;
907-
text-align:center;
923+
text-align: center;
908924
}
909925

910926
#left__footer__content {
@@ -1066,15 +1082,18 @@ a:hover {
10661082
width: 75vw;
10671083
}
10681084
}
1085+
10691086
.all_counts {
10701087
padding: 5rem 0;
10711088
background-color: #212121;
10721089
}
1090+
10731091
.count_matters_boxes {
10741092
padding-left: 12rem;
10751093
display: flex;
10761094
flex-direction: row;
10771095
}
1096+
10781097
.countimages {
10791098
height: 283px;
10801099
width: 283px;
@@ -1119,6 +1138,7 @@ a:hover {
11191138
.modal-content-text {
11201139
padding: 100px 20px 100px 20px;
11211140
}
1141+
11221142
#login-modal-platform-text-pre,
11231143
#login-modal-platform-text-post {
11241144
text-transform: capitalize;
@@ -1232,7 +1252,7 @@ a:hover {
12321252
opacity: 1;
12331253
}
12341254

1235-
.select__box .options__container.options__active + .selected::after {
1255+
.select__box .options__container.options__active+.selected::after {
12361256
transform: rotateX(180deg);
12371257
top: -6px;
12381258
}
@@ -1398,4 +1418,4 @@ li {
13981418

13991419
.arrow-li {
14001420
list-style-image: url("../img/ic_round-navigate-next.svg") !important;
1401-
}
1421+
}

assets/img/hexagon-hover.svg

Lines changed: 18 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)