Style and animations fixes

- Add a requestAnimationFrame for TitleSite (would not fire from a location to credits/choose)
- Center and adjust parallax scroll for massive titles
- Place illustration: max width and center
This commit is contained in:
2020-04-21 15:21:50 +02:00
parent 9063045e94
commit 99dd2c5327
5 changed files with 16 additions and 9 deletions

View File

@@ -57,6 +57,7 @@ button {
line-height: 1;
color: $color-secondary;
letter-spacing: -2vw;
text-align: center;
pointer-events: none;
user-select: none;
@@ -65,6 +66,7 @@ button {
}
@include breakpoint (1920px) {
font-size: rem(900px);
letter-spacing: -40px;
}
&, span {