yxsilicon/css/serviceCases.css

222 lines
4.3 KiB
CSS
Raw Normal View History

2025-05-22 06:44:57 +00:00
.chipAgent-section{
width: 100%;
height: 70vh;
background: #fbfbfb;
}
.chipAgent-section-bg{
width: 98%;
height: 100%;
background-image: url(../imgs/case/casebg.png);
background-size: 100% 100%;
background-repeat: no-repeat;
margin: 0 auto;
background-position: top center;
}
.chipAgent-section-content{
width: 43%;
height: 80%;
padding-top: 6vw;
padding-left: 10vw;
}
.chipAgent-section-content h3{
font-size: 4vw;
font-weight: 300;
color: #fff;
letter-spacing: 0.15vw;
}
.chipAgent-section-content p{
font-size: 1.58vw;
font-weight: 400;
color: rgba(255, 255, 255, 0.9);
line-height: 3vw;
letter-spacing: 0.1vw;
margin-top: 2vw;
text-align: justify;
}
/* -------------------服务案例 */
.case-section {
position: relative;
width: 100%;
min-height: 150vh;
background: #fff;
overflow: hidden;
z-index: 5;
border-radius: 0 0 80px 80px;
}
.case-section-bg {
width: 100%;
height: 100%;
position: absolute;
left: 0; top: 0; right: 0; bottom: 0;
background: url('../imgs/case/bg.png') no-repeat center center;
background-size: cover;
}
.case-container {
position: relative;
z-index: 1;
display: flex;
justify-content: left;
align-items: flex-start;
padding: 5vw;
width: 80%;
margin: 0 auto;
/* background: palegoldenrod; */
height: 150vh;
padding-left: 8vw;
}
.case-list {
display: flex;
flex-direction: column;
align-items: center;
gap: 80px;
margin-right: 5vw;
width: 20%;
height: 100%;
}
.case-btn {
width: 18vw;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 32px 0 24px;
height: 5vw;
border: 2px solid #00A0D2;
border-radius: 77px;
background: #fff;
font-size: 1vw;
font-weight: 500;
cursor: pointer;
transition: background 0.2s, color 0.2s;
outline: none;
position: relative;
}
.case-btn-arrow{
width: 3vw;
height: 3vw;
background: #00A0D2;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
transition: background 0.3s;
}
.case-btn-arrow img{
width: 50%;
height: auto;
transition: all 0.3s;
}
.case-btn:hover{
background: #00A0D2;
color: #fff;
}
.case-btn:hover .case-btn-arrow {
background: #fff;
}
.case-btn:hover .case-btn-arrow img{
filter: brightness(0) saturate(100%) invert(41%) sepia(99%) saturate(749%) hue-rotate(162deg) brightness(97%) contrast(101%);
}
.case-btn.active {
background: #00A0D2;
color: #fff;
}
.case-btn.active .case-btn-arrow {
background: #fff;
}
.case-btn.active .case-btn-arrow img {
filter: brightness(0) saturate(100%) invert(41%) sepia(99%) saturate(749%) hue-rotate(162deg) brightness(97%) contrast(101%);
}
.case-detail {
background: #F0F1F6;
border-radius: 20px;
box-shadow: 5px 5px 10px 5px rgba(0,0,0,0.08);
padding: 40px 36px 36px 36px;
width: 40vw;
height: 120vh;
display: flex;
flex-direction: column;
align-items: center;
margin-left: 10vw;
}
.case-detail-img{
width: 85%;
height: 40%;
background: #fff;
display: flex;
align-items: center;
justify-content: center;
border-radius: 20px 20px 0 0;
}
.case-detail-img img {
width: 70%;
height: auto;
}
.case-detail-title {
font-size: 1.5vw;
font-weight: 600;
margin-bottom: 18px;
text-align: center;
margin-top: 3vh;
font-weight: 400;
}
.case-detail-section {
margin-bottom: 12px;
width: 85%;
}
.case-detail-section p {
color: #00A0D2;
font-weight: 600;
margin-right: 8px;
font-size: 1.2vw;
font-weight: 400;
}
.case-detail-section span {
display: inline-block;
font-size: 0.9vw;
color: rgba(0, 0, 0, 0.8);
font-weight: 400;
margin-top: 2vh;
line-height: 1.5vw;
}
.case-detail-section ul {
margin: 0 0 0 18px;
padding: 0;
list-style: disc;
margin-left: 2vw;
}
.case-detail-section ul li {
font-size: 0.9vw;
color: rgba(0, 0, 0, 0.8);
font-weight: 400;
line-height: 1.5vw;
list-style: disc;
margin-top: 1vh;
}