Blame view
public/scss/blocks/_thing.scss
3.64 KB
1d1c16604 Фрондэнд - главна... |
1 2 3 |
.thing { padding-top: 15px; padding-bottom: 30px; |
b6103c749 Обновление js и c... |
4 5 |
background: $gradient; color: $black; |
1d1c16604 Фрондэнд - главна... |
6 7 8 9 10 11 12 13 14 15 16 17 18 |
overflow: hidden; position: relative; @media (min-width: $laptop) { padding-top: 20px; padding-bottom: 60px; } @media (min-width: $desktop) { padding-bottom: 90px; } &__body { display: flex; flex-direction: column; align-items: flex-start; |
1d1c16604 Фрондэнд - главна... |
19 20 21 22 23 24 25 |
} &__breadcrumbs { width: 100%; margin-bottom: 40px; position: relative; z-index: 2; @media (min-width: $tablet) { |
b6103c749 Обновление js и c... |
26 |
margin-bottom: 60px; |
1d1c16604 Фрондэнд - главна... |
27 28 29 30 |
} } &__title { width: 100%; |
b6103c749 Обновление js и c... |
31 |
font-size: 32px; |
1d1c16604 Фрондэнд - главна... |
32 33 |
font-weight: 700; margin: 0; |
b6103c749 Обновление js и c... |
34 |
max-width: 780px; |
1d1c16604 Фрондэнд - главна... |
35 36 |
position: relative; z-index: 2; |
b6103c749 Обновление js и c... |
37 38 39 40 |
line-height: 1.1; @media (min-width: $tablet) { font-size: 40px; } |
1d1c16604 Фрондэнд - главна... |
41 42 43 44 45 46 47 48 |
@media (min-width: $desktop) { font-size: 64px; } } &__text { width: 100%; font-weight: 700; font-size: 14px; |
b6103c749 Обновление js и c... |
49 |
line-height: 1.4; |
1d1c16604 Фрондэнд - главна... |
50 |
margin: 15px 0 0 0; |
b6103c749 Обновление js и c... |
51 |
max-width: 780px; |
1d1c16604 Фрондэнд - главна... |
52 53 54 |
position: relative; z-index: 2; @media (min-width: $tablet) { |
b6103c749 Обновление js и c... |
55 |
margin-top: 15px; |
1d1c16604 Фрондэнд - главна... |
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 |
} @media (min-width: $laptop) { font-weight: 400; font-size: 18px; } } &__search { width: 100%; max-width: 640px; margin-top: 20px; position: relative; z-index: 2; @media (min-width: $tablet) { margin-top: 30px; } } &__badge { position: relative; z-index: 2; display: flex; align-items: center; gap: 5px; padding: 0 12px; background: $blue; color: $white; font-size: 12px; line-height: 1; height: 26px; border-radius: 999px; margin-bottom: 20px; @media (min-width: $laptop) { font-size: 16px; gap: 10px; padding: 0 24px; height: 42px; margin-bottom: 30px; } svg { width: 12px; height: 12px; @media (min-width: $laptop) { width: 20px; height: 20px; } } } &__pic { width: 60px; |
1d1c16604 Фрондэнд - главна... |
104 105 106 107 |
aspect-ratio: 1/1; object-fit: contain; position: relative; z-index: 1; |
b6103c749 Обновление js и c... |
108 |
margin-bottom: 15px; |
1d1c16604 Фрондэнд - главна... |
109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 |
@media (min-width: $tablet) { width: 160px; position: absolute; top: 15px; right: 20px; } @media (min-width: $laptop) { width: 330px; top: 50%; transform: translate(0, -50%); } @media (min-width: $desktop) { right: auto; left: 50%; margin-left: 200px; } |
b6103c749 Обновление js и c... |
125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 |
&_two { object-fit: cover; border-radius: 30px; aspect-ratio: 44/37; width: 100%; max-width: 440px; @media (min-width: $tablet) { position: static; transform: translate(0, 0); } @media (min-width: $desktop) { position: absolute; transform: translate(0, -50%); } } |
1d1c16604 Фрондэнд - главна... |
140 141 142 143 144 145 146 147 148 149 150 151 152 |
} &__buttons { width: 100%; position: relative; z-index: 2; display: flex; align-items: center; gap: 20px; margin-top: 15px; @media (min-width: $laptop) { margin-top: 30px; gap: 30px; } |
b6103c749 Обновление js и c... |
153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 |
.button { @media (min-width: $laptop) { padding: 0 22px; } } } &__checkbox { margin-top: 20px; .checkbox__icon { border-color: $green; } .checkbox__text { color: $green; } } &__profile { display: flex; flex-direction: column; @media (min-width: $tablet) { flex-direction: row; align-items: flex-start; } &-photo { width: 210px; border-radius: 8px; aspect-ratio: 1/1; } &-body { display: flex; flex-direction: column; margin-top: 15px; @media (min-width: $tablet) { width: calc(100% - 210px); padding-left: 35px; |
1d1c16604 Фрондэнд - главна... |
187 188 189 |
} } } |
b6103c749 Обновление js и c... |
190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 |
&__profile &__title { max-width: none; @media (min-width: $tablet) { margin-top: -20px; } } &__profile &__text { max-width: none; } &__bottom { display: flex; align-items: center; gap: 15px; margin-top: 15px; @media (min-width: $tablet) { margin-top: 30px; } } &__select { width: 100%; max-width: 640px; margin-top: 20px; @media (min-width: $tablet) { margin-top: 30px; } } |
1d1c16604 Фрондэнд - главна... |
216 |
} |