Blame view
public/scss/blocks/_benefits.scss
1.24 KB
242debab8 Первый коммит в п... |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 |
.benefits { background-color: #EDF7FF; padding: 60px 0 80px; @media (min-width: 1200px) { padding: 60px 0 125px; } &__wrap {} &__title { margin-bottom: 40px; @media (min-width: 1200px) { margin-bottom: 80px; } } &__items { display: grid; grid-template-columns: repeat(1, 1fr); grid-gap: 60px; @media (min-width: 1024px) { grid-template-columns: repeat(3, 1fr); grid-gap: 30px; } @media (min-width: 1200px) { grid-gap: 50px; } } } .benefits-item { &__top { display: flex; margin-bottom: 20px; } &__img { flex-shrink: 0; width: 50px; margin-right: 20px; @media (min-width: 1200px) { margin-right: 30px; } img { max-width: 100%; } } &__title { max-width: 260px; color: $black; font-size: 18px; line-height: 24px; font-weight: 600; } &__descr { padding: 20px 22px 0 0; border-top: 1px solid #8ECCFF; color: #686B6F; font-size: 14px; line-height: 20px; font-weight: 500; } } |