From fb3e473e1aa68a534b832f35ac081a12488d801f Mon Sep 17 00:00:00 2001 From: simon Date: Sun, 8 Nov 2026 23:03:40 -0500 Subject: mobile fixes --- about.html | 41 ++++++++----------- ceramic-coating.html | 111 ++++++++++++++++++++++++--------------------------- css/style.css | 35 +++++++++++----- index.html | 55 ++++++++----------------- reviews.html | 23 ++++++----- services.html | 16 ++++---- 6 files changed, 133 insertions(+), 148 deletions(-) diff --git a/about.html b/about.html index 3087b07..1065997 100644 --- a/about.html +++ b/about.html @@ -14,16 +14,10 @@ @@ -378,22 +373,22 @@ + diff --git a/css/style.css b/css/style.css index 87cc80e..3532018 100644 --- a/css/style.css +++ b/css/style.css @@ -240,22 +240,27 @@ footer, footer * { background-color: transparent; } footer { display: flex; + flex-direction: row; justify-content: space-between; color: var(--gold); text-align: center; - padding-top: 2rem; + padding: 4rem 0; } #footer-left { + display: flex; + flex-direction: column; width: 50%; text-align: left; - margin: 5rem; - + align-items: left; } #footer-right { + display: flex; + flex-direction: column; width: 50%; + align-items: right; text-align: right; - margin: 5rem; + margin-right: 5%; } footer a:hover { @@ -307,6 +312,10 @@ footer a:hover { h1 { font-size: 5.5rem; } + + #footer-left, #footer-right { + margin-left: 5%; + } } /* MOBILE RULES */ @@ -340,7 +349,7 @@ footer a:hover { padding: 4.8rem 0 4rem 0; transition: top 0.5s ease; - top: -21.8rem; + top: -21.5rem; left: 0; width: 100%; @@ -363,22 +372,28 @@ footer a:hover { /** footer */ footer { font-size: 0.9rem; + flex-direction: column-reverse; } #footer-left { - margin-right: .25rem; - margin-left: 2rem; + flex-direction: column; + align-items: center; + margin-bottom: 2rem; + width: 100%; } #footer-right { - margin-right: 2rem; - margin-left: .25rem; + flex-direction: column; + align-items: center; + margin-bottom: 2rem; + width: 100%; + gap: .5rem; } /** content rules */ h1 { - font-size: 4rem; + font-size: 3rem; } diff --git a/index.html b/index.html index e583fc2..6a3aa96 100644 --- a/index.html +++ b/index.html @@ -23,10 +23,8 @@ } #hero-image { - height: 700px; + height: auto; width: 100%; - background: url("assets/img/tool-spread.jpg") center 65%; - background-size: cover; border-bottom: 1px solid var(--gold); border-top: 1px solid var(--gold); /** position: absolute; @@ -98,6 +96,7 @@ border-radius: 1rem; border: 1px solid var(--gold); transition: ease 0.2s; + line-height: 1.05; } #serviceLinks a:hover { transform: scale(1.01); @@ -154,29 +153,16 @@ /** MOBILE */ @media screen and (max-width: 850px) { - #hero-image { - background: url("assets/img/tool-spread.jpg") 50% 65% / 100% - no-repeat; - height: 275px; - } - #serviceLinks a { - min-width: 90%; - max-width: 90%; + min-width: 80%; + max-width: 80%; + font-size: 1.75rem; } #intro { width: 80%; } #intro p { - width: 25rem; + width: 80%; } - - /** - #book-button { - font-size: 1.75rem; - top: 15%; - left: 35vw; - } - */ #imageContainer { flex-direction: column; @@ -191,18 +177,10 @@ width: 75%; } - h1 { - font-size: 4rem; - } - .faq-item { - width: 70%; + width: 90%; } } - - - - @@ -270,7 +248,7 @@ -
+
@@ -421,22 +399,23 @@ + diff --git a/reviews.html b/reviews.html index 1143bd2..70e7692 100644 --- a/reviews.html +++ b/reviews.html @@ -90,7 +90,6 @@ font-size: 1rem; font-weight: bold; color: var(--gold); - letter-spacing: 2px; margin-top: 4rem; } #moreReviews:hover { @@ -123,6 +122,12 @@ .review-card { width: 90%; } + .review-card-head { + flex-direction: column; + } + .review-card-head-right { + text-align: left; + } } @@ -170,20 +175,20 @@ diff --git a/services.html b/services.html index 5a1501a..c0d5990 100644 --- a/services.html +++ b/services.html @@ -361,20 +361,20 @@ -- cgit v1.3.1-4-g156e