summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsimon <vesspa0330@gmail.com>2026-11-17 22:28:28 -0500
committersimon <vesspa0330@gmail.com>2026-11-17 22:28:28 -0500
commitc6a63115e9874a32eaf0b183aba77966f4773072 (patch)
tree6ce452c98d4d4b7ffe72b955d4b255006699ebc5
parentab8d8cf7362870abf9aea17df88a7ded2bdef5a2 (diff)
adjustments for layout shifting
-rw-r--r--about.html11
-rw-r--r--ceramic-coating.html3
-rw-r--r--index.html3
-rw-r--r--reviews.html2
4 files changed, 10 insertions, 9 deletions
diff --git a/about.html b/about.html
index f55d8e3..53385d4 100644
--- a/about.html
+++ b/about.html
@@ -14,8 +14,8 @@
<style>
#hero-image {
- height: max-content;
- width: 100%;
+ height: auto;
+ max-width: 100%;
}
section {
@@ -27,7 +27,9 @@
margin-top: 5rem;
}
section img {
+ height: auto;
width: 25rem;
+ max-width: 25rem;
border: 3px solid var(--dark-gold);
border-radius: 5rem;
} fetchpriority=high
@@ -65,9 +67,6 @@
align-items: flex-end;
text-align: right;
}
- #the-meaning img {
- width: 30rem;
- }
}
@@ -80,6 +79,8 @@
}
section img {
width: 80%;
+ height: 70vh;
+ height: auto;
}
.section-contents {
diff --git a/ceramic-coating.html b/ceramic-coating.html
index 5c687a4..3002669 100644
--- a/ceramic-coating.html
+++ b/ceramic-coating.html
@@ -19,9 +19,8 @@
}
#hero-image {
- height: 90vh;
height: auto;
- width: 100%;
+ max-width: 100%;
}
hr {
diff --git a/index.html b/index.html
index 063a2d4..e3b4178 100644
--- a/index.html
+++ b/index.html
@@ -26,9 +26,8 @@
}
#hero-image {
- height: 100vh;
height: auto;
- width: 100%;
+ max-width: 100%;
}
h1, h2 {
diff --git a/reviews.html b/reviews.html
index edff74f..752370f 100644
--- a/reviews.html
+++ b/reviews.html
@@ -27,6 +27,7 @@
flex-wrap: wrap;
gap: 4rem;
+ min-height: 90vh;
width: 90%;
align-items: center;
@@ -117,6 +118,7 @@
@media screen and (max-width: 850px) {
#reviewContainer {
flex-direction: column;
+ min-height: 100vh;
}
.review-card {