Blame view
public/scss/blocks/_info.scss
1.53 KB
bdd23ce34 На сервер. Правки |
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 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 |
.info { position: relative; overflow: hidden; &__pic { display: none; z-index: 1; position: absolute; bottom: 0; left: 50%; height: 100%; margin-left: 130px; @media (min-width: $laptop) { display: block; } @media (min-width: $desktop) { width: 610px; height: auto; } } &__body { z-index: 2; position: relative; display: flex; flex-direction: column; @media (min-width: $desktop) { min-height: 605px; padding-bottom: 75px; justify-content: flex-end; } } &__title { @media (min-width: $desktop) { max-width: 520px; line-height: 1; } } &__item { margin-top: 30px; display: flex; flex-direction: column; gap: 20px; @media (min-width: $laptop) { max-width: 610px; } } &__item + &__item { border-top: 1px solid #e6e7e7; padding-top: 30px; } &__text { color: #6b6c6d; font-size: 13px; line-height: 1.4; @media (min-width: $tablet) { font-size: 16px; } @media (min-width: $desktop) { font-size: 18px; } } &__link { border-radius: 8px; display: flex; justify-content: center; align-items: center; line-height: 1; height: 40px; font-size: 12px; font-weight: 700; gap: 8px; color: $white; background: $green; &:hover { filter: grayscale(50%); } @media (min-width: $tablet) { height: 44px; font-size: 16px; gap: 10px; max-width: 300px; } @media (min-width: $laptop) { max-width: 210px; } svg { width: 16px; height: 16px; @media (min-width: $tablet) { width: 20px; height: 20px; } } } } |