From 16ec72ff1245424a3674d77d7b54cba83f2fd601 Mon Sep 17 00:00:00 2001 From: blake Date: Fri, 21 Nov 2025 21:27:08 -0600 Subject: [PATCH] A few sizing tweaks --- css/queries2.css | 3 +-- css/style3.css | 10 +++++++--- script.js | 2 +- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/css/queries2.css b/css/queries2.css index 8a4348e..95655a7 100644 --- a/css/queries2.css +++ b/css/queries2.css @@ -445,8 +445,7 @@ } .logo { - max-width: 25rem; - justify-self: center; + max-width: 20rem; } .about-number { diff --git a/css/style3.css b/css/style3.css index 7c0f871..9a8a5b9 100644 --- a/css/style3.css +++ b/css/style3.css @@ -104,7 +104,7 @@ cite { display: flex; gap: 5rem; background-color: #e4f3fb; - padding: 2rem 4rem; + padding: 1.5rem 3rem; border-radius: 5rem; box-shadow: 0px 4px 4px 0px #22222240; justify-content: center; @@ -112,7 +112,7 @@ cite { } .logo { - max-width: 30rem; + max-width: 25rem; transition: all 0.5s; } @@ -232,10 +232,14 @@ cite { .hero-content { display: flex; flex-direction: column; - gap: 5rem; + gap: 3rem; padding-left: 20%; } +.hero-content p { + margin-bottom: 2rem; +} + .hero-image { position: absolute; right: 0; diff --git a/script.js b/script.js index fee5a09..354436d 100644 --- a/script.js +++ b/script.js @@ -44,7 +44,7 @@ navLinks.forEach((link) => { // Scroll Animations document.addEventListener("DOMContentLoaded", () => { - const observerOptions = { root: null, rootMargin: "0px", threshold: 0.75 }; + const observerOptions = { root: null, rootMargin: "0px", threshold: 0.4 }; const onIntersection = (entries, observer) => { entries.forEach((entry) => { if (entry.isIntersecting) {