finished v2
This commit is contained in:
@@ -127,6 +127,7 @@
|
|||||||
<div class="about-image">
|
<div class="about-image">
|
||||||
<div class="about-img-1">
|
<div class="about-img-1">
|
||||||
<figure class="image-anime reveal">
|
<figure class="image-anime reveal">
|
||||||
|
<div class="cricket-blur-bg"></div>
|
||||||
<img loading="lazy" src="images/cricket.webp" alt="" />
|
<img loading="lazy" src="images/cricket.webp" alt="" />
|
||||||
</figure>
|
</figure>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -10635,36 +10635,12 @@ body {
|
|||||||
width: 100% !important;
|
width: 100% !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.page-about-us .about-img-1 figure {
|
|
||||||
display: block !important;
|
|
||||||
border-radius: 20px !important;
|
|
||||||
overflow: hidden !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.page-about-us .about-img-1 img {
|
|
||||||
width: 100% !important;
|
|
||||||
height: auto !important;
|
|
||||||
aspect-ratio: 4 / 3 !important;
|
|
||||||
object-fit: cover !important;
|
|
||||||
object-position: center center !important;
|
|
||||||
border-radius: 20px !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Pastors section: remove inline dimension override, let CSS size it */
|
/* Pastors section: remove inline dimension override, let CSS size it */
|
||||||
.pastors-message .about-img-2 img {
|
.pastors-message .about-img-2 img {
|
||||||
width: 100% !important;
|
width: 100% !important;
|
||||||
height: auto !important;
|
height: auto !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ============================================================
|
|
||||||
DESKTOP (≥ 1200px)
|
|
||||||
============================================================ */
|
|
||||||
@media (min-width: 1200px) {
|
|
||||||
.page-about-us .about-img-1 img {
|
|
||||||
aspect-ratio: 3 / 4 !important;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/* ============================================================
|
/* ============================================================
|
||||||
TABLET (≤ 1024px)
|
TABLET (≤ 1024px)
|
||||||
============================================================ */
|
============================================================ */
|
||||||
@@ -10828,28 +10804,50 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* ============================================================
|
/* ============================================================
|
||||||
CRICKET IMAGE (first about section) — Natural aspect ratio,
|
CRICKET IMAGE — blurred-backdrop frame
|
||||||
width shrinks to fit; height constrained to match text column.
|
The .cricket-blur-bg div fills the full column with a blurred
|
||||||
|
version of the same image; the real img sits centered on top
|
||||||
|
at its natural aspect ratio so no void remains.
|
||||||
============================================================ */
|
============================================================ */
|
||||||
.page-about-us .about-img-1 {
|
.page-about-us .about-img-1 figure {
|
||||||
width: auto !important;
|
position: relative !important;
|
||||||
max-width: 100% !important;
|
overflow: hidden !important;
|
||||||
|
border-radius: 18px !important;
|
||||||
|
height: 490px !important;
|
||||||
|
display: flex !important;
|
||||||
|
align-items: center !important;
|
||||||
|
justify-content: center !important;
|
||||||
|
box-shadow:
|
||||||
|
0 0 0 2px rgba(217, 40, 0, 0.35),
|
||||||
|
0 0 0 5px rgba(206, 156, 91, 0.15),
|
||||||
|
0 16px 56px rgba(0, 0, 0, 0.45) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.page-about-us .about-img-1 figure {
|
.page-about-us .about-img-1 .cricket-blur-bg {
|
||||||
display: flex !important;
|
position: absolute !important;
|
||||||
justify-content: center !important;
|
inset: -40px !important;
|
||||||
|
background: url('../images/cricket.webp') center / cover no-repeat !important;
|
||||||
|
filter: blur(28px) brightness(0.55) saturate(1.4) !important;
|
||||||
|
z-index: 0 !important;
|
||||||
|
pointer-events: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.page-about-us .about-img-1 img {
|
.page-about-us .about-img-1 img {
|
||||||
|
position: relative !important;
|
||||||
|
z-index: 1 !important;
|
||||||
width: auto !important;
|
width: auto !important;
|
||||||
max-width: 100% !important;
|
max-width: 100% !important;
|
||||||
height: auto !important;
|
height: 100% !important;
|
||||||
max-height: 480px !important;
|
object-fit: contain !important;
|
||||||
aspect-ratio: unset !important;
|
|
||||||
object-position: center center !important;
|
|
||||||
display: block !important;
|
display: block !important;
|
||||||
margin: 0 auto !important;
|
aspect-ratio: unset !important;
|
||||||
|
filter: drop-shadow(0 6px 28px rgba(0, 0, 0, 0.5)) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 767px) {
|
||||||
|
.page-about-us .about-img-1 figure {
|
||||||
|
height: 320px !important;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ============================================================
|
/* ============================================================
|
||||||
|
|||||||
@@ -604,36 +604,12 @@ body {
|
|||||||
width: 100% !important;
|
width: 100% !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.page-about-us .about-img-1 figure {
|
|
||||||
display: block !important;
|
|
||||||
border-radius: 20px !important;
|
|
||||||
overflow: hidden !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.page-about-us .about-img-1 img {
|
|
||||||
width: 100% !important;
|
|
||||||
height: auto !important;
|
|
||||||
aspect-ratio: 4 / 3 !important;
|
|
||||||
object-fit: cover !important;
|
|
||||||
object-position: center center !important;
|
|
||||||
border-radius: 20px !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Pastors section: remove inline dimension override, let CSS size it */
|
/* Pastors section: remove inline dimension override, let CSS size it */
|
||||||
.pastors-message .about-img-2 img {
|
.pastors-message .about-img-2 img {
|
||||||
width: 100% !important;
|
width: 100% !important;
|
||||||
height: auto !important;
|
height: auto !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ============================================================
|
|
||||||
DESKTOP (≥ 1200px)
|
|
||||||
============================================================ */
|
|
||||||
@media (min-width: 1200px) {
|
|
||||||
.page-about-us .about-img-1 img {
|
|
||||||
aspect-ratio: 3 / 4 !important;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/* ============================================================
|
/* ============================================================
|
||||||
TABLET (≤ 1024px)
|
TABLET (≤ 1024px)
|
||||||
============================================================ */
|
============================================================ */
|
||||||
@@ -797,28 +773,50 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* ============================================================
|
/* ============================================================
|
||||||
CRICKET IMAGE (first about section) — Natural aspect ratio,
|
CRICKET IMAGE — blurred-backdrop frame
|
||||||
width shrinks to fit; height constrained to match text column.
|
The .cricket-blur-bg div fills the full column with a blurred
|
||||||
|
version of the same image; the real img sits centered on top
|
||||||
|
at its natural aspect ratio so no void remains.
|
||||||
============================================================ */
|
============================================================ */
|
||||||
.page-about-us .about-img-1 {
|
.page-about-us .about-img-1 figure {
|
||||||
width: auto !important;
|
position: relative !important;
|
||||||
max-width: 100% !important;
|
overflow: hidden !important;
|
||||||
|
border-radius: 18px !important;
|
||||||
|
height: 490px !important;
|
||||||
|
display: flex !important;
|
||||||
|
align-items: center !important;
|
||||||
|
justify-content: center !important;
|
||||||
|
box-shadow:
|
||||||
|
0 0 0 2px rgba(217, 40, 0, 0.35),
|
||||||
|
0 0 0 5px rgba(206, 156, 91, 0.15),
|
||||||
|
0 16px 56px rgba(0, 0, 0, 0.45) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.page-about-us .about-img-1 figure {
|
.page-about-us .about-img-1 .cricket-blur-bg {
|
||||||
display: flex !important;
|
position: absolute !important;
|
||||||
justify-content: center !important;
|
inset: -40px !important;
|
||||||
|
background: url('../images/cricket.webp') center / cover no-repeat !important;
|
||||||
|
filter: blur(28px) brightness(0.55) saturate(1.4) !important;
|
||||||
|
z-index: 0 !important;
|
||||||
|
pointer-events: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.page-about-us .about-img-1 img {
|
.page-about-us .about-img-1 img {
|
||||||
|
position: relative !important;
|
||||||
|
z-index: 1 !important;
|
||||||
width: auto !important;
|
width: auto !important;
|
||||||
max-width: 100% !important;
|
max-width: 100% !important;
|
||||||
height: auto !important;
|
height: 100% !important;
|
||||||
max-height: 480px !important;
|
object-fit: contain !important;
|
||||||
aspect-ratio: unset !important;
|
|
||||||
object-position: center center !important;
|
|
||||||
display: block !important;
|
display: block !important;
|
||||||
margin: 0 auto !important;
|
aspect-ratio: unset !important;
|
||||||
|
filter: drop-shadow(0 6px 28px rgba(0, 0, 0, 0.5)) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 767px) {
|
||||||
|
.page-about-us .about-img-1 figure {
|
||||||
|
height: 320px !important;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ============================================================
|
/* ============================================================
|
||||||
|
|||||||
Reference in New Issue
Block a user