From 8a4b6df0f882872593aa1ef4b27c6caedebe3e44 Mon Sep 17 00:00:00 2001 From: Simon Date: Mon, 3 Nov 2025 22:07:24 -0500 Subject: [PATCH] style changes on index --- css/style.css | 6 ++---- index.html | 21 +++++++++------------ reviews.html | 4 ++-- services.html | 7 +++++-- 4 files changed, 18 insertions(+), 20 deletions(-) diff --git a/css/style.css b/css/style.css index d57e127..f7a2de5 100644 --- a/css/style.css +++ b/css/style.css @@ -75,12 +75,11 @@ main { } section { + max-width: 75%; display: flex; flex-direction: column; align-items: center; - max-width: 60%; - margin-top: 5rem; padding: 1rem 1rem; } @@ -115,7 +114,6 @@ footer { justify-content: space-between; margin: 5rem auto; - padding: 2rem 0; max-width: 90%; @@ -209,7 +207,7 @@ footer { /** content rules */ h1 { - font-size: 2rem; + font-size: 2.5rem; } diff --git a/index.html b/index.html index cdbd1d8..8e7f692 100644 --- a/index.html +++ b/index.html @@ -16,24 +16,22 @@ main { min-height: 530px; /** to make sure footer doesn't overlap hero */ - gap: 5.5rem; + gap: 2rem; } #hero-image { - height: 600px; + height: 500px; width: 100%; - background: url("assets/img/aden-desktop.jpg") 70% 10% / 100% no-repeat; - position: absolute; + background: url("assets/img/aden-desktop.jpg") 70% 25% / 100% no-repeat; + /** position: absolute; top: 0px; left: 0px; - - z-index: -1; + z-index: -1;*/ } #intro { text-align: center; - background-color: rgba(0, 0, 0, 0.8); - width: 40%; + width: 80%; /** padding: 3rem 4rem 4rem 4rem; */ padding-bottom: 2rem; @@ -71,7 +69,6 @@ #book-link { display: block; width: 50%; - margin-top: 5rem; } h2 { @@ -83,10 +80,11 @@ #hero-image { background: url("assets/img/aden-mobile.jpg") center 10% / 100% no-repeat; + height: 300px; } main { - gap: 0; + gap: 2rem; } #intro { @@ -99,7 +97,6 @@ width: 85%; } #book-link { - margin-top: 2.5rem; } } @@ -145,7 +142,7 @@ id="book-link" > - +

FAQ

diff --git a/reviews.html b/reviews.html index 5b8f41b..c11be1f 100644 --- a/reviews.html +++ b/reviews.html @@ -200,12 +200,12 @@
-

Reviews

+

Reviews