From 77e424ca9aac47c96e9592258c648aa34975c124 Mon Sep 17 00:00:00 2001 From: Dekart Deploy Bot Date: Mon, 11 May 2026 23:59:25 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9B=D0=B0=D0=B3=D0=B5=D1=80=D1=8C:=20CSS?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wp-content/themes/dekart/assets/css/camp.css | 84 ++++++++------------ wp-content/themes/dekart/page-camp.php | 17 +--- 2 files changed, 36 insertions(+), 65 deletions(-) diff --git a/wp-content/themes/dekart/assets/css/camp.css b/wp-content/themes/dekart/assets/css/camp.css index 1e10689..bbe457c 100644 --- a/wp-content/themes/dekart/assets/css/camp.css +++ b/wp-content/themes/dekart/assets/css/camp.css @@ -1492,6 +1492,41 @@ html { margin: 4px 0 0; } + +@media (max-width: 768px) { + .mentors__item { + width: calc(50% - 12px); + } + .mentors-wrapper { + gap: 20px; + } + .mentors__card-top { + padding: 24px 16px 16px; + } + .mentors__photo { + width: 100px; + height: 100px; + } + .mentors__card-body { + padding: 14px 16px 18px; + gap: 6px; + } + .mentors__name { + font-size: 18px; + } + .mentors__job, .mentors__about { + font-size: 13px; + } +} + +@media (max-width: 480px) { + .mentors__item { + width: 100%; + } +} + + } +} /* mentors END */ @@ -2397,42 +2432,6 @@ html { border-radius: clamp(33px, 4.17vw, 50px); } - .camp-left-part .btn-place { - border: clamp(1px, .17vw, 2px) solid #3bb273; - } - - .camp-right-part .btn-place { - border: clamp(1px, .17vw, 2px) solid #ae5fcd; - } - - .part-day ul { - gap: clamp(6px, .83vw, 10px); - font-size: clamp(12px, 1.5vw, 18px); - padding-left: clamp(13px, 1.67vw, 20px); - } - - .mentors-wrapper { - gap: clamp(26px, 3.33vw, 40px) clamp(20px, 2.5vw, 30px); - } - - .mentors__item { - width: calc(25% - clamp(15px, 1.92vw, 23px)); - gap: clamp(6px, .83vw, 10px); - } - - .mentors__item_img { - border-radius: clamp(20px, 2.5vw, 30px); - } - - .mentors__item_name { - font-size: clamp(17px, 2.17vw, 26px); - } - - .mentors__item_text { - font-size: clamp(12px, 1.5vw, 18px); - margin-bottom: clamp(6px, .83vw, 10px); - } - .modal-mentors-wrapper { padding: clamp(33px, 4.17vw, 50px); gap: clamp(26px, 3.33vw, 40px); @@ -2876,19 +2875,6 @@ html { .mentors__item_name { font-size: 18px; } - - .mentors__item_text { - font-size: 16px; - } - - .routine-wrapper { - margin-left: 0; - } - - .routine-wrapper { - gap: 30px; - } - .routine__item_time { display: none; } diff --git a/wp-content/themes/dekart/page-camp.php b/wp-content/themes/dekart/page-camp.php index dbedc1a..68a9bad 100644 --- a/wp-content/themes/dekart/page-camp.php +++ b/wp-content/themes/dekart/page-camp.php @@ -247,7 +247,7 @@ $metrics = [ -
+

Летние программы

@@ -374,7 +374,6 @@ $metrics = [ $mentor_job = $item['mentor_job'] ?? ''; $mentor_foto = $item['mentor_foto'] ?? 0; $mentor_about = $item['mentor_about'] ?? ''; - $mentor_about = $item['mentor_about'] ?? ''; ?>
@@ -393,20 +392,6 @@ $metrics = [
-
-
- -

- -

- -
-
-