Skip to content

Commit

Permalink
Sizing for xl screens
Browse files Browse the repository at this point in the history
  • Loading branch information
brodysmith1 committed Mar 4, 2024
1 parent 23e3b7e commit 4686ac2
Showing 1 changed file with 16 additions and 6 deletions.
22 changes: 16 additions & 6 deletions src/lib/components/WelcomeScreen.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,8 @@
{/if}

<style lang="sass">
@import "src/styles/vars/screens"
.welcome-wrapper
display: flex
height: 100%
Expand Down Expand Up @@ -160,21 +162,18 @@
transition: all 0.6s ease-in-out
transform: scale(0.7)
:global(.land-cell)
font-size: 75%
.slide-0 &
transition: all 0.8s ease
transform: scale(0.85) translate(0, -75%)
transform: scale(0.85) translate(0, -70%)
.slide-1 &
transform: scale(2) translate(0, -65%)
transform: scale(2) translate(0, -60%)
.slide-2 &
transform: scale(1) translate(0, -55%)
.slide-3 &
transform: scale(0.85) translate(0, -75%)
transform: scale(0.85) translate(0, -70%)
.impact-charts
gap: 0 1.25rem
Expand All @@ -195,4 +194,15 @@
:global(#end-screen .scroller-contents.scroller-y)
overflow: hidden
@media (min-height: 700px) and (min-width: 1280px)
.welcome-farm-wrapper
.farm-transform
:global(.land-cell)
font-size: 70%
.slide-1 &
:global(.land-cell)
font-size: 60%
</style>

0 comments on commit 4686ac2

Please sign in to comment.