Skip to content

Commit f49daf9

Browse files
committed
restyle scroll down arrow
1 parent 21954a1 commit f49daf9

File tree

1 file changed

+13
-15
lines changed

1 file changed

+13
-15
lines changed

examples/official-site/sqlpage/templates/shell-home.handlebars

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -574,36 +574,34 @@
574574
575575
.scroll-link {
576576
position: fixed;
577-
bottom: 2rem;
577+
bottom: 1.5rem;
578578
left: 50%;
579579
transform: translateX(-50%);
580-
color: rgba(255, 255, 255, 0.6);
580+
color: rgba(255, 255, 255, 0.4);
581581
transition: all 0.3s ease;
582-
animation: bounce 2s infinite;
582+
animation: bounce 3s infinite;
583583
cursor: pointer;
584584
}
585585
586+
.scroll-link svg {
587+
width: 32px;
588+
height: 32px;
589+
}
590+
586591
.scroll-link:hover {
587-
color: rgba(255, 255, 255, 0.9);
588-
transform: translateX(-50%) scale(1.1);
592+
color: rgba(255, 255, 255, 0.7);
593+
transform: translateX(-50%) scale(1.05);
589594
}
590595
591596
@keyframes bounce {
592-
593-
0%,
594-
20%,
595-
50%,
596-
80%,
597-
100% {
597+
0%, 20%, 50%, 80%, 100% {
598598
transform: translateX(-50%) translateY(0);
599599
}
600-
601600
40% {
602-
transform: translateX(-50%) translateY(-10px);
601+
transform: translateX(-50%) translateY(-6px);
603602
}
604-
605603
60% {
606-
transform: translateX(-50%) translateY(-5px);
604+
transform: translateX(-50%) translateY(-3px);
607605
}
608606
}
609607

0 commit comments

Comments
 (0)