From fe59c639b2f3cb95585399e427312efe51ded422 Mon Sep 17 00:00:00 2001 From: blake Date: Tue, 20 Oct 2026 16:31:22 -0500 Subject: [PATCH] style: enhance background styles for sections and update color scheme - Set a navy background color and added a background image to the html element. - Changed body background color to transparent for better visibility of the new background. - Removed background images from the about and contact sections for a cleaner layout. - Cleaned up unused CSS rules related to background images in the steps section. --- css/style.css | 33 +++++++-------------------------- 1 file changed, 7 insertions(+), 26 deletions(-) diff --git a/css/style.css b/css/style.css index d910005..a891eb3 100644 --- a/css/style.css +++ b/css/style.css @@ -59,6 +59,12 @@ html { font-size: 62.5%; scroll-behavior: smooth; overflow-x: hidden; + background-color: var(--color-navy); + background-image: url("/img/projects-bg.svg"); + background-size: cover; + background-position: center; + background-repeat: no-repeat; + background-attachment: fixed; } body { @@ -66,7 +72,7 @@ body { line-height: 1; font-weight: 400; color: var(--color-white); - background-color: var(--color-navy); + background-color: transparent; font-size: 2rem; overflow-x: hidden; opacity: 1; @@ -585,9 +591,6 @@ p { .about-section { display: flex; justify-content: center; - background-image: url("/img/about-me.svg"); - background-size: cover; - background-position: center; } .about-content { @@ -627,8 +630,6 @@ p { justify-content: center; padding: 20rem 0px 20rem 0px; gap: 7rem; - background-image: url("/img/projects-bg.svg"); - background-size: cover; } .astronaut { @@ -831,9 +832,6 @@ p { } .contact-section { - background-image: url("/img/footer.svg"); - background-size: cover; - background-position: bottom; display: flex; flex-direction: column; align-items: center; @@ -1029,23 +1027,6 @@ p { } /* Services Pages */ -html:has(.steps-section):not(:has(.legal-section)) { - background-color: var(--color-navy); - background-image: url("/img/projects-bg.svg"); - background-size: cover; - background-position: center; - background-repeat: no-repeat; - background-attachment: fixed; -} - -body:has(.steps-section):not(:has(.legal-section)) { - background-color: transparent; -} - -body:has(.steps-section):not(:has(.legal-section)) .contact-section { - background-image: none; -} - .steps-section { display: flex; flex-direction: column;