Recenter hero content and keep video behind notch
All checks were successful
build-website / build (push) Successful in 1m41s
All checks were successful
build-website / build (push) Successful in 1m41s
This commit is contained in:
@@ -206,11 +206,10 @@ onMounted(() => {
|
||||
}
|
||||
|
||||
/* Scroll to explore indicator */
|
||||
|
||||
.scroll-to-explore {
|
||||
position: absolute;
|
||||
bottom: 40px;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
margin-top: auto;
|
||||
margin-bottom: var(--space-md);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
@@ -224,7 +223,7 @@ onMounted(() => {
|
||||
|
||||
.scroll-to-explore:hover {
|
||||
opacity: 1;
|
||||
transform: translateX(-50%) translateY(-3px);
|
||||
transform: translateY(-3px);
|
||||
}
|
||||
|
||||
.scroll-to-explore span {
|
||||
@@ -242,13 +241,13 @@ onMounted(() => {
|
||||
|
||||
@keyframes bounce {
|
||||
0%, 20%, 50%, 80%, 100% {
|
||||
transform: translateX(-50%) translateY(0);
|
||||
transform: translateY(0);
|
||||
}
|
||||
40% {
|
||||
transform: translateX(-50%) translateY(-10px);
|
||||
transform: translateY(-10px);
|
||||
}
|
||||
60% {
|
||||
transform: translateX(-50%) translateY(-5px);
|
||||
transform: translateY(-5px);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user