Blame view
public/scss/blocks/_thing.scss
2.48 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 |
.thing { padding-top: 15px; padding-bottom: 30px; background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%); color: $gray; 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; @media (min-width: $laptop) { min-height: 330px; } } &__breadcrumbs { width: 100%; margin-bottom: 40px; position: relative; z-index: 2; @media (min-width: $tablet) { margin-bottom: 50px; } } &__title { width: 100%; font-size: 40px; font-weight: 700; margin: 0; max-width: 700px; position: relative; z-index: 2; @media (min-width: $desktop) { font-size: 64px; } } &__text { width: 100%; font-weight: 700; font-size: 14px; margin: 15px 0 0 0; max-width: 700px; position: relative; z-index: 2; @media (min-width: $tablet) { margin-top: 20px; } @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; margin-bottom: 10px; aspect-ratio: 1/1; object-fit: contain; position: relative; z-index: 1; @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; } } &__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; } &-item { svg { width: 16px; height: 16px; @media (min-width: $tablet) { width: 24px; height: 24px; } } } } } |