Merge remote-tracking branch 'site/1.1' into 1.1

This commit is contained in:
merdan 2021-06-17 17:33:00 +05:00
commit e4dada3e36
3 changed files with 17 additions and 15 deletions

View File

@ -44,7 +44,7 @@
left: 5px;
width: calc(100% - 10px);
height: calc(100% - 10px);
background: rgb(0, 0, 0);
background: rgb(0, 0, 0);
background: linear-gradient(
0deg,
rgba(0, 0, 0, 1) 0%,
@ -53,11 +53,15 @@
z-index: 1;
}
&-content {
flex-direction: column;
justify-content: space-between;
position: absolute;
left: 20px;
bottom: 20px;
width: calc(100% - 40px);
left: 30px;
top: 30px;
width: calc(100% - 60px);
z-index: 2;
height: calc(100% - 60px);
display: flex;
&-date {
display: flex;
align-items: center;
@ -81,9 +85,6 @@
color: $text-color-white;
font-size: 16px;
line-height: 25px;
height: 50px;
overflow: hidden;
text-overflow: ellipsis;
font-weight: 700;
display: block;
}

View File

@ -997,11 +997,15 @@ li {
z-index: 1;
}
.newsSlider .newsSlider__item-content {
flex-direction: column;
justify-content: space-between;
position: absolute;
left: 20px;
bottom: 20px;
width: calc(100% - 40px);
left: 30px;
top: 30px;
width: calc(100% - 60px);
z-index: 2;
height: calc(100% - 60px);
display: flex;
}
.newsSlider .newsSlider__item-content-date {
display: flex;
@ -1026,9 +1030,6 @@ li {
color: #ffffff;
font-size: 16px;
line-height: 25px;
height: 50px;
overflow: hidden;
text-overflow: ellipsis;
font-weight: 700;
display: block;
}

View File

@ -19,8 +19,8 @@ $(".swiper-wrapper").slick({
slidesToScroll: 1,
arrows: true,
infinite: true,
autoplay: true,
speed: 500,
prevArrow: $(".p3"),
nextArrow: $(".n3"),
});