diff options
| author | simon <vesspa0330@gmail.com> | 2026-11-17 22:28:28 -0500 |
|---|---|---|
| committer | simon <vesspa0330@gmail.com> | 2026-11-17 22:28:28 -0500 |
| commit | c6a63115e9874a32eaf0b183aba77966f4773072 (patch) | |
| tree | 6ce452c98d4d4b7ffe72b955d4b255006699ebc5 | |
| parent | ab8d8cf7362870abf9aea17df88a7ded2bdef5a2 (diff) | |
adjustments for layout shifting
| -rw-r--r-- | about.html | 11 | ||||
| -rw-r--r-- | ceramic-coating.html | 3 | ||||
| -rw-r--r-- | index.html | 3 | ||||
| -rw-r--r-- | reviews.html | 2 |
4 files changed, 10 insertions, 9 deletions
@@ -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 { @@ -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 { |
