From 48f92017a908607dba1a69774ee54c75b19fcee8 Mon Sep 17 00:00:00 2001 From: Richard Bergsma Date: Thu, 6 Nov 2025 12:19:33 +0100 Subject: [PATCH] Refactor responsive styles in index.astro for improved layout - Adjusted padding and margin for .neon-title, .neon-subtitle, and .cta-secondary-explosive classes to enhance the layout on smaller screens, ensuring a cleaner and more consistent appearance. --- src/pages/[lang]/index.astro | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/pages/[lang]/index.astro b/src/pages/[lang]/index.astro index f96391c..8b72845 100644 --- a/src/pages/[lang]/index.astro +++ b/src/pages/[lang]/index.astro @@ -468,12 +468,14 @@ const metadata = { @media (max-width: 768px) { .neon-title { font-size: clamp(2rem, 8vw, 4rem); - padding-left: 1rem; + padding-left: 0; + padding-right: 0; } .neon-subtitle { font-size: 1.2rem; - padding-left: 1rem; + padding-left: 0; + padding-right: 0; } .content-section { @@ -485,7 +487,7 @@ const metadata = { .cta-secondary-explosive { padding: 1rem 2rem; font-size: 1rem; - margin-left: 1rem; + margin-left: 0; } .cta-subtitle {