A few sizing tweaks
This commit is contained in:
1 parent
221c5a9bd8
commit
16ec72ff12
3 files changed
+9
-6
No files matched your search
+1
-2
@@ -445,8 +445,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.logo {
|
.logo {
|
||||||
max-width: 25rem;
|
max-width: 20rem;
|
||||||
justify-self: center;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.about-number {
|
.about-number {
|
||||||
|
|||||||
+7
-3
@@ -104,7 +104,7 @@ cite {
|
|||||||
display: flex;
|
display: flex;
|
||||||
gap: 5rem;
|
gap: 5rem;
|
||||||
background-color: #e4f3fb;
|
background-color: #e4f3fb;
|
||||||
padding: 2rem 4rem;
|
padding: 1.5rem 3rem;
|
||||||
border-radius: 5rem;
|
border-radius: 5rem;
|
||||||
box-shadow: 0px 4px 4px 0px #22222240;
|
box-shadow: 0px 4px 4px 0px #22222240;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
@@ -112,7 +112,7 @@ cite {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.logo {
|
.logo {
|
||||||
max-width: 30rem;
|
max-width: 25rem;
|
||||||
transition: all 0.5s;
|
transition: all 0.5s;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -232,10 +232,14 @@ cite {
|
|||||||
.hero-content {
|
.hero-content {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 5rem;
|
gap: 3rem;
|
||||||
padding-left: 20%;
|
padding-left: 20%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.hero-content p {
|
||||||
|
margin-bottom: 2rem;
|
||||||
|
}
|
||||||
|
|
||||||
.hero-image {
|
.hero-image {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 0;
|
right: 0;
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ navLinks.forEach((link) => {
|
|||||||
|
|
||||||
// Scroll Animations
|
// Scroll Animations
|
||||||
document.addEventListener("DOMContentLoaded", () => {
|
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) => {
|
const onIntersection = (entries, observer) => {
|
||||||
entries.forEach((entry) => {
|
entries.forEach((entry) => {
|
||||||
if (entry.isIntersecting) {
|
if (entry.isIntersecting) {
|
||||||
|
|||||||
Reference in new issue
Block a user