Лагерь: Секция Hero
This commit is contained in:
parent
f7347f9be5
commit
0c353e9bf0
@ -2402,7 +2402,7 @@ p {
|
||||
.hero-media-search .heading-1 {
|
||||
font-family: 'Montserrat', sans-serif;
|
||||
font-weight: 900;
|
||||
font-size: 2.5rem;
|
||||
font-size: 2rem;
|
||||
line-height: 1.05;
|
||||
letter-spacing: -0.04em;
|
||||
color: #1c2b2d;
|
||||
@ -2411,7 +2411,7 @@ p {
|
||||
}
|
||||
@media (min-width: 1024px) {
|
||||
.hero-media-search .heading-1 {
|
||||
font-size: 4rem; /* desktop */
|
||||
font-size: 2.56rem; /* desktop */
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
@ -2424,25 +2424,24 @@ p {
|
||||
}
|
||||
|
||||
.hero-subtitle-brand {
|
||||
font-family: 'Montserrat', sans-serif;
|
||||
font-weight: 800;
|
||||
font-size: 1.72rem;
|
||||
font-family: "Inter", sans-serif;
|
||||
font-weight: 700;
|
||||
font-size: 1.75rem;
|
||||
line-height: 1.15;
|
||||
letter-spacing: -0.02em;
|
||||
color: #39b7ea;
|
||||
margin: 0 0 0.6rem 0;
|
||||
}
|
||||
@media (min-width: 1024px) {
|
||||
.hero-subtitle-brand {
|
||||
font-size: 1.72rem;
|
||||
font-size: 1.75rem;
|
||||
}
|
||||
}
|
||||
@media (max-width: 768px) {
|
||||
.hero-subtitle-brand {
|
||||
font-size: 2.0rem;
|
||||
font-size: 2.2rem; /* +10% */
|
||||
}
|
||||
.hero-media-search .heading-1 {
|
||||
font-size: 2.7rem;
|
||||
font-size: 2rem; /* 32px */
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
@ -2521,8 +2520,8 @@ p {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
border: 5px solid #fff;
|
||||
border-radius: 15px;
|
||||
box-shadow: 0 0 20px 0 rgba(0,0,0,.15);
|
||||
border-radius: 24px;
|
||||
box-shadow: 0 8px 32px rgba(255,107,0,0.15);
|
||||
overflow: hidden;
|
||||
object-fit: cover;
|
||||
aspect-ratio: 16/9;
|
||||
|
||||
@ -36,20 +36,20 @@ $hero = [
|
||||
$metrics = [
|
||||
[
|
||||
'img_id' => carbon_get_post_meta( $post_id, 'hero_metric_1_img' ),
|
||||
'number' => carbon_get_post_meta( $post_id, 'hero_metric_1_number' ) ?: '90+',
|
||||
'label' => carbon_get_post_meta( $post_id, 'hero_metric_1_label' ) ?: 'Количество клубов',
|
||||
'number' => carbon_get_post_meta( $post_id, 'hero_metric_1_number' ) ?: '12',
|
||||
'label' => carbon_get_post_meta( $post_id, 'hero_metric_1_label' ) ?: 'лет в городе',
|
||||
'default_icon' => get_template_directory_uri() . '/assets/images/doodles/icon-home.png',
|
||||
],
|
||||
[
|
||||
'img_id' => carbon_get_post_meta( $post_id, 'hero_metric_2_img' ),
|
||||
'number' => carbon_get_post_meta( $post_id, 'hero_metric_2_number' ) ?: '570K+',
|
||||
'label' => carbon_get_post_meta( $post_id, 'hero_metric_2_label' ) ?: 'Юные инноваторов',
|
||||
'number' => carbon_get_post_meta( $post_id, 'hero_metric_2_number' ) ?: '2 500+',
|
||||
'label' => carbon_get_post_meta( $post_id, 'hero_metric_2_label' ) ?: 'счастливых детей',
|
||||
'default_icon' => get_template_directory_uri() . '/assets/images/doodles/icon-bulb.png',
|
||||
],
|
||||
[
|
||||
'img_id' => carbon_get_post_meta( $post_id, 'hero_metric_3_img' ),
|
||||
'number' => carbon_get_post_meta( $post_id, 'hero_metric_3_number' ) ?: '49K+',
|
||||
'label' => carbon_get_post_meta( $post_id, 'hero_metric_3_label' ) ?: 'Стипендий',
|
||||
'number' => carbon_get_post_meta( $post_id, 'hero_metric_3_number' ) ?: '4.9 / 5',
|
||||
'label' => carbon_get_post_meta( $post_id, 'hero_metric_3_label' ) ?: 'рейтинг от родителей',
|
||||
'default_icon' => get_template_directory_uri() . '/assets/images/doodles/icon-award.png',
|
||||
],
|
||||
];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user