feat: added reviews adaptive
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
.reviews {
|
||||
margin: 100px 0 98px;
|
||||
overflow: hidden;
|
||||
|
||||
@include tablet {
|
||||
margin: 77px 0 92px;
|
||||
@@ -13,6 +14,69 @@
|
||||
}
|
||||
}
|
||||
|
||||
&__slider {
|
||||
& .swiper {
|
||||
overflow: visible;
|
||||
}
|
||||
}
|
||||
|
||||
&__slide {
|
||||
padding: 34px;
|
||||
border: 1px solid rgba(255, 255, 255, 0.2);
|
||||
border-radius: 10px 40px;
|
||||
background-color: $white;
|
||||
|
||||
@include laptop {
|
||||
padding: 19px;
|
||||
}
|
||||
|
||||
&-video {
|
||||
height: 205px;
|
||||
margin: 0 0 15px;
|
||||
overflow: hidden;
|
||||
border-radius: 10px 40px;
|
||||
background-color: $blue;
|
||||
|
||||
@include laptop {
|
||||
height: 160px;
|
||||
}
|
||||
|
||||
@include tablet {
|
||||
height: 136px;
|
||||
}
|
||||
|
||||
& > * {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
&-name {
|
||||
margin: 0 0 8px;
|
||||
font-weight: 600;
|
||||
font-size: 26px;
|
||||
line-height: 146%;
|
||||
color: $darkgrey;
|
||||
|
||||
@include tablet {
|
||||
font-size: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
&-text {
|
||||
font-style: italic;
|
||||
font-weight: 400;
|
||||
font-size: 17px;
|
||||
line-height: 146%;
|
||||
color: $grey;
|
||||
|
||||
@include tablet {
|
||||
font-size: 14px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&__slider-controls {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
|
||||
Reference in New Issue
Block a user