From 8c7396304b03e0d1e75d4b364a45002013532d33 Mon Sep 17 00:00:00 2001 From: Jukka Lampikoski Date: Sun, 8 Mar 2026 08:42:00 +0200 Subject: [PATCH] =?UTF-8?q?Poistetaan=20hero-osio:=20menn=C3=A4=C3=A4n=20s?= =?UTF-8?q?uoraan=20headerista=20julkaisuihin?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Poistettu hero-section HTML:stä - Poistettu hero-tyylit CSS:stä - Headerin ja controlsin padding tiivistetty - CSS cache-busting v3 Co-Authored-By: Claude Sonnet 4.6 --- index.html | 11 +---------- style.css | 32 ++++---------------------------- 2 files changed, 5 insertions(+), 38 deletions(-) diff --git a/index.html b/index.html index 9d4762d..910957f 100644 --- a/index.html +++ b/index.html @@ -4,7 +4,7 @@ tykkää.fi - + @@ -26,15 +26,6 @@ - -
-
-

-

- -
-
-
diff --git a/style.css b/style.css index b63ac83..225a0f3 100644 --- a/style.css +++ b/style.css @@ -36,7 +36,7 @@ body { ===================== */ header { background: var(--warm-brown); - padding: 32px 24px 24px; + padding: 20px 24px 16px; text-align: center; } @@ -74,8 +74,8 @@ header h1 { .tagline { color: #e8c9a8; font-style: italic; - font-size: 1rem; - margin-bottom: 18px; + font-size: 0.95rem; + margin-bottom: 12px; } nav { display: flex; justify-content: center; gap: 32px; flex-wrap: wrap; } @@ -92,29 +92,6 @@ nav a { nav a:hover { color: #fff; } -/* ===================== - HERO - ===================== */ -.hero { - background: linear-gradient(135deg, #d4895a 0%, #e8b88a 50%, #c4732e 100%); - padding: 80px 24px; - text-align: center; -} - -.hero-content { max-width: 600px; margin: 0 auto; } - -.hero h2 { - font-size: 2.8rem; - color: #fff; - margin-bottom: 14px; - text-shadow: 0 2px 8px rgba(0,0,0,0.2); -} - -.hero p { - color: #fef5ea; - font-size: 1.15rem; - margin-bottom: 28px; -} .btn { display: inline-block; @@ -138,7 +115,7 @@ nav a:hover { color: #fff; } SEARCH & FILTERS ===================== */ .controls { - padding: 36px 24px 24px; + padding: 24px 24px 20px; background: #f5ece0; border-bottom: 2px solid var(--border); } @@ -781,7 +758,6 @@ footer { ===================== */ @media (max-width: 600px) { header h1 { font-size: 1.7rem; } - .hero h2 { font-size: 2rem; } .about-inner { flex-direction: column; text-align: center; } .recipe-grid { grid-template-columns: 1fr; } nav { gap: 16px; }