Skip to content

Commit

Permalink
website: Cleaner Fysh animation and fake auto-scroll
Browse files Browse the repository at this point in the history
  • Loading branch information
cbebe committed Sep 29, 2024
1 parent 887297f commit 3d04905
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 3 deletions.
13 changes: 12 additions & 1 deletion pkg/website/assets/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,15 @@ nav.corner-nav {
top: 0;
z-index: 400;
height: 0;
}
}

main#main {
background-color: black;
color: white;
text-align: center;
padding: 4rem;
}

main#main a {
color: #4fff64;
}
17 changes: 15 additions & 2 deletions pkg/website/assets/css/opening/opening.css
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ main[role="main"] {
}

.fysh-container {
animation: swim-right 1s ease-in 9s forwards;
animation: swim-right 1s ease-in 9s forwards;
}

@keyframes swim-right {
Expand All @@ -131,7 +131,7 @@ main[role="main"] {
}

100% {
transform: translateX(200%);
transform: translateX(100vw);
}
}

Expand Down Expand Up @@ -165,3 +165,16 @@ main[role="main"] {
main#main {
height: 100vh;
}

.opening {
animation: be-gone 0.75s cubic-bezier(0.22, 0.61, 0.36, 1) 10s forwards;
}

@keyframes be-gone {
0% {
height: 100%;
}
100% {
height: 0%;
}
}

0 comments on commit 3d04905

Please sign in to comment.