188 lines
3.8 KiB
CSS
188 lines
3.8 KiB
CSS
.yuedong_hot_case {
|
|
position: relative;
|
|
padding-top: 3.125rem;
|
|
padding-bottom: 30px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.yuedong_hot_case .container {
|
|
position: relative;
|
|
}
|
|
|
|
.yuedong_hot_case_bg {
|
|
width: 100%;
|
|
aspect-ratio: 1920 / 532;
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
z-index: -1;
|
|
}
|
|
|
|
.yuedong_hot_case_title {
|
|
font-size: var(--font-size-64);
|
|
font-weight: 700;
|
|
color: #fff;
|
|
text-align: center;
|
|
line-height: normal;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.yuedong_hot_case_desc {
|
|
color: #fff;
|
|
text-align: center;
|
|
font-size: var(--font-size-16);
|
|
font-weight: 400;
|
|
line-height: 1.87;
|
|
margin-top: 0.2188rem;
|
|
}
|
|
|
|
.yuedong_hot_case_list {
|
|
margin-top: 2.125rem;
|
|
background: #FFF;
|
|
box-shadow: 0 4px 14px 0 rgba(0, 0, 0, 0.12);
|
|
}
|
|
|
|
.yuedong_hot_case_item {
|
|
position: relative;
|
|
display: flex;
|
|
gap: 1.6875rem;
|
|
}
|
|
|
|
.yuedong_hot_case_item_content {
|
|
width: 56.56%;
|
|
}
|
|
|
|
.yuedong_hot_case_item_content img{
|
|
width: 100% !important;
|
|
aspect-ratio: 905/452;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.yuedong_hot_case_item_btn {
|
|
flex: 1;
|
|
padding: calc(1.125rem + max(32px, 2.1875rem) * 1.4 + 1.625rem) 1.4375rem 1.75rem 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-end;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.yuedong_hot_case_item_bg {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
width: 100%;
|
|
aspect-ratio: 1600 / 452;
|
|
text-align: right;
|
|
z-index: -1;
|
|
padding: 1.125rem 1.4375rem;
|
|
color: rgba(59, 198, 249, 0.11);
|
|
font-size: max(32px, 1.875rem);
|
|
font-weight: 700;
|
|
line-height: 1.4;
|
|
text-transform: uppercase;
|
|
background: #F8FEFF;
|
|
}
|
|
|
|
.yuedong_hot_case_item_desc {
|
|
color: var(--title-text-color);
|
|
font-size: var(--font-size-16);
|
|
font-weight: 400;
|
|
line-height: 1.5625;
|
|
padding: 1.75rem 0 1.75rem 2.125rem;
|
|
}
|
|
|
|
.yuedong_hot_case_item_title {
|
|
text-align: right;
|
|
color: var(--title-text-color);
|
|
font-size: var(--font-size-36);
|
|
font-weight: 700;
|
|
line-height: normal;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.yuedong_hot_case_item_date {
|
|
text-align: right;
|
|
color: var(--color-primary);
|
|
font-size: var(--font-size-24);
|
|
font-weight: 500;
|
|
line-height: normal;
|
|
text-transform: uppercase;
|
|
margin-top: 0.625rem;
|
|
}
|
|
|
|
.yuedong_hot_case .swiper-button-prev {
|
|
left: -1rem !important;
|
|
}
|
|
|
|
.yuedong_hot_case .swiper-button-next {
|
|
right: -1rem !important;
|
|
}
|
|
|
|
.yuedong_hot_case .swiper-button-prev,
|
|
.yuedong_hot_case .swiper-button-next {
|
|
top: 70%;
|
|
}
|
|
|
|
.yuedong_hot_case .swiper-button-prev:hover svg path,
|
|
.yuedong_hot_case .swiper-button-next:hover svg path {
|
|
stroke: #484848 !important;
|
|
fill: #484848 !important;
|
|
}
|
|
|
|
.yuedong_hot_case .swiper-button-prev svg,
|
|
.yuedong_hot_case .swiper-button-next svg {
|
|
width: 1.5625rem;
|
|
}
|
|
.yuedong_hot_case .yuedong-btn-host{
|
|
color: #000;
|
|
border: 1px solid #000;
|
|
}
|
|
.yuedong_hot_case .yuedong-btn-host:hover {
|
|
background: var(--color-primary) !important;
|
|
color: #fff !important;
|
|
border: 1px solid var(--color-primary) !important;
|
|
}
|
|
|
|
.yuedong-btn-icon-hover{
|
|
display: none;
|
|
}
|
|
|
|
.yuedong_hot_case .yuedong-btn-host:hover .yuedong-btn-icon-hover{
|
|
display: block;
|
|
}
|
|
|
|
.yuedong_hot_case .yuedong-btn-host:hover .yuedong-btn-icon{
|
|
display: none;
|
|
}
|
|
|
|
|
|
@media screen and (max-width: 768px) {
|
|
.yuedong_hot_case_item {
|
|
flex-direction: column;
|
|
gap: 0;
|
|
}
|
|
|
|
.yuedong_hot_case_item_content {
|
|
width: 100%;
|
|
}
|
|
.yuedong_hot_case_item_desc{
|
|
padding: 1.125rem;
|
|
}
|
|
|
|
.yuedong_hot_case_item_btn {
|
|
padding: 1.125rem;
|
|
align-items: flex-start;
|
|
gap: 1.125rem;
|
|
}
|
|
|
|
.yuedong_hot_case_item_title,
|
|
.yuedong_hot_case_item_date{
|
|
text-align: left;
|
|
}
|
|
.yuedong_hot_case_bg{
|
|
height: 50% !important;
|
|
aspect-ratio: none !important;
|
|
}
|
|
|
|
} |