Blame view
public/scss_2/blocks/_about.scss
1.42 KB
1fe4f9ffd Обновление визуал... |
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 |
.about { background: $light url("../images/space.svg") no-repeat 0 0; background-size: cover; padding: 30px 0; padding-bottom: 70px; @media (min-width: $tablet) { padding-top: 40px; background-size: auto calc(100% - 10px); } @media (min-width: $desktop) { padding: 100px 0; } &__wrapper { display: flex; flex-direction: column; position: relative; } &__title { color: $white; line-height: 1.2; @media (min-width: $desktop) { position: absolute; top: -45px; left: 0; } } &__body { display: flex; flex-direction: column; @media (min-width: $desktop) { padding-left: 495px; } } &__line { background: $white; width: 100%; height: 1px; max-width: 400px; margin-top: 10px; } &__item { display: flex; flex-direction: column; margin-top: 10px; max-width: 600px; @media (min-width: $tablet) { margin-top: 20px; } @media (min-width: $desktop) { margin-top: 30px; } b { font-size: 20px; font-weight: 700; } span { font-size: 13px; line-height: 1.4; margin-top: 6px; @media (min-width: $desktop) { font-size: 16px; margin-top: 12px; } } a { text-decoration: underline; } } &__item + &__item { margin-top: 30px; @media (min-width: $laptop) { margin-top: 40px; } } &__button { margin-top: 20px; height: 38px; padding: 0; @media (min-width: $tablet) { max-width: 200px; height: 42px; margin-top: 30px; } } } |