Skip to content

Commit

Permalink
Shift around the top on smaller screens
Browse files Browse the repository at this point in the history
  • Loading branch information
wilwade committed Nov 18, 2024
1 parent 26f5ecc commit c24e29f
Showing 1 changed file with 25 additions and 7 deletions.
32 changes: 25 additions & 7 deletions src/components/Sections/Top/Top.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
</script>

<SectionWrapper class="freq-container flex flex-col pb-f64 md:flex-row md:items-center md:justify-center">
<div class="mb:h-[500px] relative mb-5 flex h-[300px] w-full self-stretch sm:h-[380px] md:mb-0 md:w-1/2 lg:h-[700px]">
<div
class="mb:h-[500px] relative mb-f56 flex h-[300px] w-full self-stretch sm:h-[380px] md:mb-0 md:w-1/2 lg:h-[700px]"
>
<HomeAnimation />
<div
class="math absolute left-[20px] top-[25%] sm:left-[18%] md:left-[23%] md:top-[calc(85px-((100vw-1300px)*0.075))] lg:top-[calc(250px-((100vw-1300px)*0.075))] xl:top-[220px]"
Expand All @@ -19,13 +21,29 @@
</SlideIn>
</div>
</div>
<div class="w-full sm:max-w-[260px] sm:pl-f32 md:w-1/2 md:max-w-[300px] md:pl-0 lg:max-w-[380px]">
<div class="mx-auto w-full sm:max-w-[360px] md:w-1/2 md:max-w-[300px] md:pl-0 lg:max-w-[380px]">
<SlideIn>
<div class="title-70 w-full text-primary sm:text-left">Bringing</div>
<div class="title-70 relative w-full text-primary sm:text-right">Humanity</div>
<div class="w-full italic text-teal sm:text-[28px] lg:text-[32px]">to the</div>
<div class="title-70 w-full text-primary sm:text-left">People's</div>
<div class="title-70 w-full text-primary sm:text-right">Internet</div>
<div
class="font-title text-[44px] leading-[1] tracking-wide text-primary sm:text-left sm:text-[55px] md:text-[55px] lg:text-[70px]"
>
Bringing
</div>
<div
class="relative font-title text-[44px] leading-[1] tracking-wide text-primary sm:text-right sm:text-[55px] md:text-[55px] lg:text-[70px]"
>
Humanity
</div>
<div class="italic text-teal sm:text-[28px] lg:text-[32px]">to the</div>
<div
class="font-title text-[44px] leading-[1] tracking-wide text-primary sm:text-left sm:text-[55px] md:text-[55px] lg:text-[70px]"
>
People's
</div>
<div
class="font-title text-[44px] leading-[1] tracking-wide text-primary sm:text-right sm:text-[55px] md:text-[55px] lg:text-[70px]"
>
Internet
</div>
</SlideIn>
</div>
</SectionWrapper>

0 comments on commit c24e29f

Please sign in to comment.