Blame view
public/css/pages/main/pick-up.css
2.4 KB
b80175387 Начальный проект ... |
1 |
.pick-up { |
2f5f2c1a4 Баг с версткой ка... |
2 |
padding-top: 33px; |
b80175387 Начальный проект ... |
3 |
} |
2f5f2c1a4 Баг с версткой ка... |
4 5 6 7 8 9 10 11 12 13 |
@media (min-width: 1200px) { .pick-up { padding-top: 71px; } } @media (min-width: 1200px) { .pick-up { padding-top: 121px; } } |
b80175387 Начальный проект ... |
14 15 16 17 18 19 |
.pick-up-wrapper { display: -webkit-box; display: -ms-flexbox; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; |
2f5f2c1a4 Баг с версткой ка... |
20 21 22 |
-webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; |
b80175387 Начальный проект ... |
23 |
} |
2f5f2c1a4 Баг с версткой ка... |
24 25 26 27 28 29 |
@media (min-width: 1330px) { .pick-up-wrapper { -webkit-box-pack: justify; -ms-flex-pack: justify; justify-content: space-between; } |
b80175387 Начальный проект ... |
30 31 32 33 |
} .pick-up-block { margin-top: 20px; |
2f5f2c1a4 Баг с версткой ка... |
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 |
width: 47%; display: none; } @media (min-width: 640px) { .pick-up-block { display: inline-block; } } @media (min-width: 1330px) { .pick-up-block { width: 427px; } } .pick-up-block__img { width: 100%; -o-object-fit: cover; object-fit: cover; -o-object-position: center center; object-position: center center; |
b80175387 Начальный проект ... |
53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 |
} .pick-up-block__four { position: relative; } .pick-up-block__button { position: absolute; background: #F5851A; border-radius: 9.375px; font-weight: 600; font-style: normal; font-size: 14px; line-height: 16px; letter-spacing: -0.01em; color: #FFFFFF; border: 1px solid #F5851A; cursor: pointer; text-align: center; |
2f5f2c1a4 Баг с версткой ка... |
70 |
padding: 13px 28px; |
b80175387 Начальный проект ... |
71 72 73 74 75 76 77 78 79 80 81 82 83 |
bottom: 25px; left: 26px; } .pick-up-block__button:hover { border: 1px solid #F2994A; background-color: #FFFFFF; color: #F2994A; border-radius: 9.375px; font-weight: 600; font-style: normal; font-size: 14px; line-height: 16px; letter-spacing: -0.01em; |
2f5f2c1a4 Баг с версткой ка... |
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 |
} @media (min-width: 780px) { .pick-up-block__button { padding: 16px 40px; } } .pick-up-block:nth-child(3n) { display: none; } @media (min-width: 1330px) { .pick-up-block:nth-child(3n) { display: inline-block; } } .pick-up-block:nth-child(1), .pick-up-block:nth-child(4) { margin-right: 20px; } @media (min-width: 1330px) { .pick-up-block:nth-child(1), .pick-up-block:nth-child(4) { margin-right: 0; } } .pick-up-mob { display: block; position: relative; max-width: 100%; } @media (min-width: 640px) { .pick-up-mob { display: none; } } .pick-up-mob__img { width: 100%; } .pick-up-mob__link { position: absolute; bottom: 15px; left: 22px; font-weight: 500; font-size: 12px; line-height: 14px; color: #F5851A; } @media (min-width: 480px) { .pick-up-mob__link { font-size: 14px; line-height: 15px; } |
b80175387 Начальный проект ... |
134 |
} |