Blame view
public/scss/blocks/_work.scss
2.44 KB
1d1c16604 Фрондэнд - главна... |
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 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 |
.work { background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%); color: #6b6c6d; padding-top: 70px; padding-bottom: 10px; position: relative; overflow: hidden; @media (min-width: $tablet) { padding-bottom: 25px; } @media (min-width: $desktop) { padding-top: 80px; padding-bottom: 40px; } &__pic { position: absolute; height: calc(100% - 40px); z-index: 1; display: none; bottom: 0; left: 50%; margin-left: 40px; @media (min-width: $laptop) { display: block; } @media (min-width: $desktop) { margin-left: 80px; } } &__body { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; @media (min-width: $tablet) { align-items: flex-start; } @media (min-width: $laptop) { max-width: 600px; } } &__title { width: 100%; font-size: 40px; font-weight: 700; line-height: 1; @media (min-width: $tablet) { font-size: 64px; } } &__text { width: 100%; font-size: 12px; margin-top: 10px; @media (min-width: $tablet) { font-size: 18px; margin-top: 20px; line-height: 1.4; } } &__list { width: 100%; display: flex; flex-direction: column; gap: 5px; font-size: 14px; font-weight: 700; margin-top: 15px; @media (min-width: $tablet) { font-size: 18px; gap: 8px; margin-top: 30px; } div { position: relative; padding-left: 10px; @media (min-width: $tablet) { padding-left: 16px; } &:before { content: ""; width: 4px; height: 4px; background: #6b6c6d; border-radius: 999px; position: absolute; top: 5px; left: 0; @media (min-width: $tablet) { top: 8px; } } } } &__form { margin-top: 20px; @media (min-width: $tablet) { margin-top: 30px; } } &__search { width: 100%; max-width: 180px; margin-top: 20px; @media (min-width: $tablet) { max-width: 270px; margin-top: 50px; } } &__get { width: 100%; display: flex; align-items: flex-start; flex-wrap: wrap; margin-top: 48px; b { width: 100%; margin-bottom: 10px; font-size: 14px; @media (min-width: $tablet) { font-size: 18px; } } a { display: flex; align-items: center; justify-content: center; margin-right: 20px; img { transition: $transition; width: 111px; @media (min-width: $tablet) { width: 131px; } } &:hover { img { transform: scale(1.1); } } } a + a { margin-right: 0; } } } |