Skip to content

Commit 0999e62

Browse files
committed
fix: text sizes
1 parent 1b7d042 commit 0999e62

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/pages/test.astro

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ import "../styles/global.css";
6464
<!-- Text overlay as background texture with parallax effect and 45-degree rotation -->
6565
<div class="absolute top-0 left-0 w-full h-[70vh] flex justify-center items-center overflow-hidden z-behind-1" style="will-change: transform;">
6666
<div
67-
class="text-darker-gray font-display text-[25vw] sm:text-[25vw] font-black leading-[0.9] text-center uppercase w-[150%] origin-center rotate-45"
67+
class="text-darker-gray font-display text-[33vw] sm:text-[25vw] font-black leading-[0.9] text-center uppercase w-[150%] origin-center rotate-45"
6868
x-bind:style="'transform: translateY(' + scrollPosition * 0.6 + 'px)'"
6969
>
7070
Some blog entry headline thats quite long
@@ -104,7 +104,7 @@ import "../styles/global.css";
104104
<!-- Headline with same padding as content -->
105105
<div class="text-center text-white max-w-screen-md mx-auto px-8 sm:px-20">
106106
<div class="py-10 sm:py-20">
107-
<h1 class="text-6xl font-display font-bold leading-tight">
107+
<h1 class="text-4xl sm:text-6xl font-display font-bold leading-tight">
108108
Some blog entry headline that's quite long
109109
</h1>
110110
</div>
@@ -137,7 +137,7 @@ import "../styles/global.css";
137137
</div>
138138

139139
<!-- Black Footer with smaller navigation (always visible) -->
140-
<footer class="bg-black text-white py-10 mt-20">
140+
<footer class="bg-black text-white py-10">
141141
<div class="flex justify-center px-8 sm:px-20">
142142
<div class="flex justify-between items-center w-full max-w-screen-md">
143143
<div class="text-lg font-bold">LOGO</div>

0 commit comments

Comments
 (0)