zxf/css/style.less

116 lines
2.2 KiB
Plaintext
Raw Normal View History

2023-09-27 00:33:44 +08:00
@import 'common/var.less';
@import 'common/common.less';
2023-09-26 17:55:52 +08:00
2023-09-27 00:33:44 +08:00
.section {
.section-title {
text-align: center;
2023-09-26 17:55:52 +08:00
}
2023-09-27 00:33:44 +08:00
.section-title.style-1 {
.title {
font-size: 36px;
line-height: 36px;
font-weight: bold;
color: #141414;
2023-09-26 17:55:52 +08:00
display: flex;
2023-09-27 00:33:44 +08:00
align-items: center;
justify-content: center;
2023-09-26 17:55:52 +08:00
2023-09-27 00:33:44 +08:00
.rtext {
color: #E50020;
}
2023-09-26 17:55:52 +08:00
}
2023-09-27 00:33:44 +08:00
.title::before,
.title::after {
content: '';
display: inline-block;
width: 58px;
height: 3px;
background: #D4D4D4;
margin: 0 15px;
2023-09-26 17:55:52 +08:00
}
2023-09-27 00:33:44 +08:00
}
}
2023-09-26 17:55:52 +08:00
2023-09-27 00:33:44 +08:00
.section.idx-about {
margin-top: 60px;
.idx-about-container {
margin-top: 70px;
font-size: 20px;
color: #666666;
line-height: 36px;
2023-09-26 17:55:52 +08:00
}
}
2023-09-27 00:33:44 +08:00
.main-banner {
width: 100%;
.swiper-slide {
display: flex;
}
.swiper-pagination-bullet {
width: 40px;
height: 2px;
background: #F8F8F8;
border-radius: 0;
opacity: 1;
}
2023-09-26 17:55:52 +08:00
2023-09-27 00:33:44 +08:00
.swiper-pagination-bullet-active {
background: #E50020;
}
2023-09-26 17:55:52 +08:00
2023-09-27 00:33:44 +08:00
.swiper-pagination {
bottom: 40px;
}
.item {
display: flex;
justify-content: center;
align-items: center;
width: 100%;
height: 720px;
background-repeat: no-repeat;
background-position: center center;
}
.text-box {
color: #FFFFFF;
text-align: center;
p:nth-child(1),
p:nth-child(2) {
transform: translate3d(0, 20px, 0);
opacity: 0;
2023-09-26 17:55:52 +08:00
}
2023-09-27 00:33:44 +08:00
p:nth-child(1) {
font-size: 38px;
margin-bottom: 25px;
line-height: 38px;
transition: .8s ease .4s;
2023-09-26 17:55:52 +08:00
}
2023-09-27 00:33:44 +08:00
p:nth-child(2) {
font-size: 30px;
line-height: 30px;
transition: .8s ease .6s;
2023-09-26 17:55:52 +08:00
}
2023-09-27 00:33:44 +08:00
.cname {
color: #E30020;
2023-09-26 17:55:52 +08:00
}
}
2023-09-27 00:33:44 +08:00
.swiper-slide-active .text-box {
p:nth-child(1),
p:nth-child(2) {
opacity: 1;
transform: translate3d(0, 0, 0);
}
}
}