Лагерь: Фон

This commit is contained in:
Dekart Deploy Bot 2026-05-10 21:10:53 +03:00
parent 7415ee4ac2
commit 2466d27a9e
2 changed files with 28 additions and 2 deletions

View File

@ -1935,9 +1935,35 @@ p {
.hero-cta.on-mobile { display: none; } .hero-cta.on-mobile { display: none; }
} }
/*
SECTION BACKGROUNDS full-width, unique per section
*/
.camp section:not(.hero-media-search) {
position: relative;
}
.camp section::before {
content: '';
position: absolute;
top: 0;
bottom: 0;
left: calc(-50vw + 50%);
width: 100vw;
z-index: -1;
}
.hero-media-search::before { background: #f6f1e9; }
.about-us::before { background: #ffffff; }
.suggestions::before { background: #f5faf7; }
.infograph::before { background: #faf7f2; }
.programs::before { background: #faf5eb; }
.bring-child::before { background: #f8f5ff; }
.mentors::before { background: #f0f7fa; }
.routine::before { background: #ffffff; }
.foto::before { background: #faf7f2; }
.camp-reviews::before { background: #f6f1e9; }
.camp-faq::before { background: #ffffff; }
.camp-contact::before { background: #f5faf7; }
@media (prefers-reduced-motion: reduce) { @media (prefers-reduced-motion: reduce) {
.fade-up { opacity: 1; transform: none; transition: none; } .fade-up { opacity: 1; transform: none; transition: none; }

View File

@ -456,7 +456,7 @@ $metrics = [
</div> </div>
</section> </section>
<section> <section class="camp-reviews">
<h2 class="camp_title">Что говорят о нас родители</h2> <h2 class="camp_title">Что говорят о нас родители</h2>
<?php <?php