Demas ajustes
This commit is contained in:
@@ -213,333 +213,6 @@
|
||||
</div>
|
||||
</section>
|
||||
|
||||
{% stylesheet %}
|
||||
.skin-match {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
padding-bottom: 75px;
|
||||
color: #000;
|
||||
background: #fff;
|
||||
font-family: Archivo, sans-serif;
|
||||
}
|
||||
|
||||
.skin-match__canvas {
|
||||
position: relative;
|
||||
width: min(1705px, calc(100% - 200px));
|
||||
margin-inline: auto;
|
||||
}
|
||||
|
||||
.skin-match__blob {
|
||||
position: absolute;
|
||||
z-index: 0;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.skin-match__blob img {
|
||||
display: block;
|
||||
width: 100%;
|
||||
max-width: none;
|
||||
height: 100%;
|
||||
object-fit: fill;
|
||||
}
|
||||
|
||||
.skin-match__blob--blue {
|
||||
top: 0;
|
||||
left: 64.81%;
|
||||
width: 18.01%;
|
||||
aspect-ratio: 307 / 300;
|
||||
}
|
||||
|
||||
.skin-match__blob--peach {
|
||||
top: 11.82%;
|
||||
left: 12.32%;
|
||||
width: 14.31%;
|
||||
aspect-ratio: 244 / 264;
|
||||
}
|
||||
|
||||
.skin-match__blob--peach img {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
width: 108.2%;
|
||||
height: 92.42%;
|
||||
transform: translate(-50%, -50%) rotate(90deg);
|
||||
}
|
||||
|
||||
.skin-match__blob--green {
|
||||
top: 60.02%;
|
||||
left: 81.23%;
|
||||
width: 13.2%;
|
||||
aspect-ratio: 225 / 253;
|
||||
}
|
||||
|
||||
.skin-match__blob--pink {
|
||||
top: 70.05%;
|
||||
left: 2.11%;
|
||||
width: 16.3%;
|
||||
aspect-ratio: 278 / 266;
|
||||
}
|
||||
|
||||
.skin-match__content {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
padding: 37px 0 25px;
|
||||
}
|
||||
|
||||
.skin-match__heading {
|
||||
margin: 0;
|
||||
color: #000;
|
||||
font-family: "Roc Grotesk", Archivo, sans-serif;
|
||||
font-size: 30px;
|
||||
font-weight: 500;
|
||||
line-height: 1.15;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.skin-match__subheading {
|
||||
margin: 10px 0 0;
|
||||
color: #000;
|
||||
font-size: 20px;
|
||||
font-weight: 300;
|
||||
line-height: 30px;
|
||||
}
|
||||
|
||||
.skin-match__gallery {
|
||||
display: grid;
|
||||
grid-template-columns: 2fr 3fr 3fr 2fr;
|
||||
gap: 30px;
|
||||
align-items: center;
|
||||
margin-top: 53px;
|
||||
padding-left: 0.88%;
|
||||
}
|
||||
|
||||
.skin-match__photo {
|
||||
position: relative;
|
||||
aspect-ratio: 1;
|
||||
overflow: hidden;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
.skin-match__photo--cheek {
|
||||
order: 1;
|
||||
}
|
||||
|
||||
.skin-match__photo--serum {
|
||||
order: 2;
|
||||
}
|
||||
|
||||
.skin-match__photo--jar {
|
||||
order: 3;
|
||||
}
|
||||
|
||||
.skin-match__photo--dropper {
|
||||
order: 4;
|
||||
}
|
||||
|
||||
.skin-match__image {
|
||||
position: absolute;
|
||||
max-width: none;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.skin-match__image--serum {
|
||||
top: -25.21%;
|
||||
left: 0;
|
||||
width: 100.42%;
|
||||
}
|
||||
|
||||
.skin-match__image--jar {
|
||||
top: -8.33%;
|
||||
left: -49.38%;
|
||||
width: 208.75%;
|
||||
}
|
||||
|
||||
.skin-match__image--dropper {
|
||||
top: -7.71%;
|
||||
left: 0;
|
||||
width: 101.25%;
|
||||
}
|
||||
|
||||
.skin-match__image--cheek {
|
||||
top: 0;
|
||||
left: -2.71%;
|
||||
width: 103.75%;
|
||||
}
|
||||
|
||||
.skin-match__body {
|
||||
max-width: 990px;
|
||||
margin: 50px auto 0;
|
||||
color: #808181;
|
||||
font-size: 20px;
|
||||
font-weight: 300;
|
||||
line-height: 30px;
|
||||
}
|
||||
|
||||
.skin-match__lead {
|
||||
color: #000;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.skin-match__rest strong {
|
||||
color: #000;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.skin-match__button {
|
||||
display: flex;
|
||||
width: 326px;
|
||||
height: 50px;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
margin: 50px auto 0;
|
||||
padding: 15px;
|
||||
border: 0;
|
||||
border-radius: 60px;
|
||||
background: #9dd6c7;
|
||||
color: #000;
|
||||
font-family: inherit;
|
||||
font-size: 16px;
|
||||
font-weight: 300;
|
||||
line-height: normal;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.skin-match__button:hover {
|
||||
filter: brightness(0.96);
|
||||
}
|
||||
|
||||
.skin-match__button:focus-visible {
|
||||
outline: 2px solid #000;
|
||||
outline-offset: 2px;
|
||||
}
|
||||
|
||||
@media (max-width: 1439px) {
|
||||
.skin-match__canvas {
|
||||
width: min(1705px, calc(100% - 80px));
|
||||
}
|
||||
|
||||
.skin-match__heading {
|
||||
font-size: 26px;
|
||||
}
|
||||
|
||||
.skin-match__subheading,
|
||||
.skin-match__body {
|
||||
font-size: 18px;
|
||||
line-height: 26px;
|
||||
}
|
||||
|
||||
.skin-match__gallery {
|
||||
gap: 20px;
|
||||
margin-top: 40px;
|
||||
}
|
||||
|
||||
.skin-match__body,
|
||||
.skin-match__button {
|
||||
margin-top: 36px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 1024px) {
|
||||
.skin-match {
|
||||
padding-bottom: 40px;
|
||||
}
|
||||
|
||||
.skin-match__canvas {
|
||||
width: min(382px, calc(100% - 30px));
|
||||
}
|
||||
|
||||
.skin-match__blob--blue {
|
||||
top: 3%;
|
||||
left: 58%;
|
||||
width: 42%;
|
||||
aspect-ratio: 199 / 194;
|
||||
}
|
||||
|
||||
.skin-match__blob--peach {
|
||||
top: 16%;
|
||||
left: -8%;
|
||||
width: 36%;
|
||||
aspect-ratio: 179 / 194;
|
||||
}
|
||||
|
||||
.skin-match__blob--green {
|
||||
top: 44%;
|
||||
left: 62%;
|
||||
width: 46%;
|
||||
aspect-ratio: 224 / 253;
|
||||
}
|
||||
|
||||
.skin-match__blob--pink {
|
||||
top: 62%;
|
||||
left: -18%;
|
||||
width: 52%;
|
||||
aspect-ratio: 246 / 236;
|
||||
}
|
||||
|
||||
.skin-match__content {
|
||||
padding: 0 0 8px;
|
||||
}
|
||||
|
||||
.skin-match__heading {
|
||||
font-size: 20px;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.skin-match__subheading {
|
||||
max-width: 198px;
|
||||
margin-top: 10px;
|
||||
font-size: 14px;
|
||||
line-height: normal;
|
||||
}
|
||||
|
||||
.skin-match__gallery {
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 10px;
|
||||
margin-top: 30px;
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
.skin-match__photo--serum {
|
||||
order: 1;
|
||||
grid-column: 1 / -1;
|
||||
width: 65.45%;
|
||||
justify-self: center;
|
||||
}
|
||||
|
||||
.skin-match__photo--dropper {
|
||||
order: 2;
|
||||
}
|
||||
|
||||
.skin-match__photo--cheek {
|
||||
order: 3;
|
||||
}
|
||||
|
||||
.skin-match__photo--jar {
|
||||
order: 4;
|
||||
grid-column: 1 / -1;
|
||||
width: 65.45%;
|
||||
justify-self: center;
|
||||
}
|
||||
|
||||
.skin-match__body {
|
||||
max-width: none;
|
||||
margin-top: 30px;
|
||||
font-size: 14px;
|
||||
line-height: 22px;
|
||||
}
|
||||
|
||||
.skin-match__button {
|
||||
width: min(300px, 100%);
|
||||
height: 45px;
|
||||
margin-top: 30px;
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
}
|
||||
}
|
||||
{% endstylesheet %}
|
||||
|
||||
{% schema %}
|
||||
{
|
||||
"name": "t:skin_match.name",
|
||||
|
||||
Reference in New Issue
Block a user