重写驭鑫网站 当前已完成 首页、关于驭鑫页面
This commit is contained in:
648
驭鑫/new yxsilicon/css/index.css
Normal file
648
驭鑫/new yxsilicon/css/index.css
Normal file
@@ -0,0 +1,648 @@
|
||||
body{
|
||||
background-color: #FBFBFB;
|
||||
}
|
||||
|
||||
|
||||
/* Banner区 */
|
||||
.banner-section { width: 100%;
|
||||
height: 90vh;
|
||||
|
||||
background-image: url(../imgs/home/bannerbg.png);
|
||||
background-size: 98vw 100%;
|
||||
background-position: center -3vw;
|
||||
background-repeat: no-repeat;
|
||||
position: relative;
|
||||
|
||||
}
|
||||
|
||||
.banner-bg{
|
||||
position: absolute;
|
||||
bottom: 3.2vw;
|
||||
right: 1.5vw;
|
||||
width: 25vw;
|
||||
height: 50vh;
|
||||
background-color: #F0F1F6;
|
||||
border-radius: 20px 20px 40px 20px;
|
||||
box-shadow: 5px 8px 10px 2px rgba(0, 0, 0, 0.3);
|
||||
/* background: palegoldenrod; */
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.banner-card{
|
||||
/* background: palegoldenrod; */
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
/* display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center; */
|
||||
/* justify-content: center; */
|
||||
padding: 1vw;
|
||||
text-align: center;
|
||||
|
||||
}
|
||||
.banner-card img{
|
||||
width: 100%;
|
||||
height: 55%;
|
||||
}
|
||||
|
||||
.banner-card-content{
|
||||
margin: 0 auto;
|
||||
width: 90%;
|
||||
height: 45%;
|
||||
/* background: paleturquoise; */
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.banner-card-content h3{
|
||||
font-size: 1.2vw;
|
||||
font-weight: bold;
|
||||
color: #09A3D4;
|
||||
margin-top: 2vh;
|
||||
letter-spacing: 0.1vw;
|
||||
}
|
||||
|
||||
.banner-card-content ul{
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
margin-left: 1.5vw;
|
||||
margin-top: 1vh;
|
||||
/* background:palevioletred; */
|
||||
}
|
||||
|
||||
.banner-card-content ul li{
|
||||
font-size: 0.9vw;
|
||||
color: rgba(0, 0, 0, 0.8);
|
||||
list-style: disc;
|
||||
}
|
||||
|
||||
.banner-card-content ul li::marker {
|
||||
font-size: 1.5em; /* 放大圆点 */
|
||||
|
||||
}
|
||||
|
||||
.arrowBox{
|
||||
width:3.3vw;
|
||||
height: 3.3vw;
|
||||
background: #00A0D2;
|
||||
position: absolute;
|
||||
bottom: 5vw;
|
||||
right: 3vw;
|
||||
border-radius: 50%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
transition: transform 0.3s ease-in-out;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.arrowBox img{
|
||||
width: 1.5vw;
|
||||
height: auto;
|
||||
|
||||
}
|
||||
|
||||
.arrowBox:hover{
|
||||
transform: scale(1.1);
|
||||
box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.3);
|
||||
background: #fff;
|
||||
|
||||
}
|
||||
|
||||
.about-us{
|
||||
width: 15vw;
|
||||
height: 8vw;
|
||||
position: absolute;
|
||||
bottom: 3vw;
|
||||
right: 28vw;
|
||||
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
/* background: palegoldenrod; */
|
||||
|
||||
}
|
||||
.about-us h3{
|
||||
font-size: 1.2vw;
|
||||
color: #fff;
|
||||
margin-top: 1vh;
|
||||
letter-spacing: 0.1vw;
|
||||
text-shadow:
|
||||
1px 1px 0 #aaa,
|
||||
2px 2px 0 #777,
|
||||
3px 3px 0 #555,
|
||||
2px 2px 0 #333,
|
||||
2px 2px 0 #000;
|
||||
}
|
||||
.about-us-arrow{
|
||||
width: 5vw;
|
||||
height: 5vw;
|
||||
background: #00A0D2;
|
||||
border-radius: 50%;
|
||||
transition: transform 0.3s ease-in-out;
|
||||
cursor: pointer;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
margin-left: 1vw;
|
||||
transition: background 0.5s;
|
||||
transition: transform 0.3s ease-in-out;
|
||||
}
|
||||
.about-us-arrow:hover{
|
||||
transform: scale(1.1);
|
||||
box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
.about-us-arrow img{
|
||||
width: 1.5vw;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.about-us-arrow:hover {
|
||||
background: #fff;
|
||||
}
|
||||
/* -----------------------芯片代理区-------------------------------- */
|
||||
.chip-agent-section{
|
||||
width: 100%;
|
||||
height: 100vh;
|
||||
/* background: palegoldenrod; */
|
||||
background-image: url(../imgs/home/chipAgentbg.png);
|
||||
background-size: 100% 100%;
|
||||
/* background-position: center; */
|
||||
background-repeat: no-repeat;
|
||||
padding: 2vw;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.chip-agent-section h2{
|
||||
width: 90%;
|
||||
font-size: 4vw;
|
||||
color: #1F599B;
|
||||
margin-top: 1vh;
|
||||
letter-spacing: 0.6vw;
|
||||
font-weight: 300;
|
||||
padding-left: 5vw;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.chip-agent-underline {
|
||||
position: absolute;
|
||||
top: 6vw;
|
||||
left: 1vw;
|
||||
width: 90%;
|
||||
height: 2vw;
|
||||
margin: 0.5vw 0 0 0;
|
||||
background: linear-gradient(
|
||||
90deg,
|
||||
#f7fcfe 8%,
|
||||
#e3f6fd 20%,
|
||||
#e3f6fd 30%,
|
||||
#f7fcfe 50%
|
||||
);
|
||||
z-index: -1;
|
||||
}
|
||||
.desc{
|
||||
width: 70%;
|
||||
font-size: 1.68vw;
|
||||
margin-top: 1vh;
|
||||
letter-spacing: 0.1vw;
|
||||
margin: 0 auto;
|
||||
margin-top: 6vw;
|
||||
color:rgba(0, 0, 0, 0.8);
|
||||
line-height: 3.2vw;
|
||||
}
|
||||
|
||||
|
||||
/* --------------------芯片代理区滚动图区-------------------------------- */
|
||||
|
||||
|
||||
.brand-carousel-section {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
margin: 40px 0;
|
||||
|
||||
|
||||
}
|
||||
.brand-carousel-bg {
|
||||
position: relative;
|
||||
width: 92vw;
|
||||
border-radius: 24px;
|
||||
box-shadow: 0 4px 24px rgba(54,198,240,0.10);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 0 0;
|
||||
overflow: hidden;
|
||||
background: linear-gradient(
|
||||
90deg,
|
||||
#f3f2fa 0%,
|
||||
#FCFCFC 12%,
|
||||
#FCFCFC 88%,
|
||||
#f3f2fa 99%
|
||||
);
|
||||
height: 8vw;
|
||||
|
||||
}
|
||||
.brand-carousel-container {
|
||||
overflow-x: hidden;
|
||||
white-space: nowrap;
|
||||
flex: 1;
|
||||
padding: 1vw 0;
|
||||
scrollbar-width: none;
|
||||
-ms-overflow-style: none;
|
||||
}
|
||||
.brand-carousel-container::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
.brand-carousel-list,
|
||||
.brand-carousel-list-clone {
|
||||
display: inline-flex !important;
|
||||
align-items: center;
|
||||
vertical-align: top;
|
||||
}
|
||||
.brand-item {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
min-width: 160px;
|
||||
max-width: 180px;
|
||||
/* background: palegoldenrod; */
|
||||
margin-right: 2vw;
|
||||
}
|
||||
.brand-item:first-child {
|
||||
margin-left: 2vw;
|
||||
}
|
||||
.brand-item img {
|
||||
height: 1.8vw;
|
||||
object-fit: contain;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
.brand-name {
|
||||
font-size: 1rem;
|
||||
color: rgba(0, 0, 0, 0.8);
|
||||
text-align: center;
|
||||
font-weight: 500;
|
||||
letter-spacing: 1px;
|
||||
|
||||
}
|
||||
|
||||
/* 按钮样式 */
|
||||
.brand-btn {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
z-index: 2;
|
||||
width: 2vw;
|
||||
height: 100%;
|
||||
border: none;
|
||||
background: #fff;
|
||||
font-size: 1.5rem;
|
||||
cursor: pointer;
|
||||
box-shadow: 0 2px 8px rgba(54,198,240,0.10);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
transition: background 0.2s, color 0.2s;
|
||||
outline: none;
|
||||
margin-left: 0;
|
||||
color: #00A0D2;
|
||||
text-align: center;
|
||||
}
|
||||
.brand-btn.left { left: 0px; }
|
||||
.brand-btn.right { right: 0px; }
|
||||
|
||||
.brand-btn:focus,
|
||||
.brand-btn:hover { /* background: #F4F3FA; */
|
||||
color: #000;
|
||||
box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
|
||||
.section-btn-box{
|
||||
width: 100%;
|
||||
|
||||
text-align: right;
|
||||
padding-right: 5vw;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-end;
|
||||
margin-top: 3vw;
|
||||
}
|
||||
.section-btn{
|
||||
display: inline-block;
|
||||
width: 13vw;
|
||||
height: 4vw;
|
||||
background: #00A0D2;
|
||||
color: #fff;
|
||||
font-size: 1vw;
|
||||
border-radius: 40px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: right;
|
||||
padding: 0 0.8vw;
|
||||
}
|
||||
.section-btn-arrow{
|
||||
width: 3vw;
|
||||
height: 3vw;
|
||||
background: #fff;
|
||||
border-radius: 50%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
margin-left: 1vw;
|
||||
}
|
||||
.section-btn-arrow img{
|
||||
width: 1vw;
|
||||
}
|
||||
.section-btn:hover {
|
||||
background: #fff;
|
||||
color: #00A0D2;
|
||||
transform: translateX(5px);
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.section-btn:hover .section-btn-arrow {
|
||||
background: #00A0D2;
|
||||
transform: translateX(5px);
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.section-btn:hover .section-btn-arrow img {
|
||||
filter: brightness(0) invert(1); /* 让箭头图标变成白色 */
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
/* ------------------------------电子产品设计生产制造服务区-------------------------------- */
|
||||
|
||||
.product-design-section{
|
||||
width: 100%;
|
||||
height: 120vh;
|
||||
/* background: palegoldenrod; */
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.product-design-bg{
|
||||
width: 90vw;
|
||||
height: 120vh;
|
||||
margin: 0 auto;
|
||||
background-image: url(../imgs/home/electronicProductbg.png);
|
||||
background-size: 100% 100%;
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
border-radius: 20px;
|
||||
position: relative;
|
||||
box-sizing: border-box;
|
||||
padding-top: 5vw;
|
||||
}
|
||||
|
||||
.product-design-bg h2{
|
||||
width: 90%;
|
||||
font-size: 4vw;
|
||||
color: #1F599B;
|
||||
margin-top: 1vh;
|
||||
letter-spacing: 0.6vw;
|
||||
font-weight: 300;
|
||||
padding-left: 5vw;
|
||||
z-index: 2;
|
||||
position: absolute;
|
||||
top: -4.6vw;
|
||||
left: 0vw;
|
||||
|
||||
}
|
||||
|
||||
.product-design-bg .desc{
|
||||
|
||||
width: 70%;
|
||||
font-size: 1.55vw;
|
||||
margin-top: 1vh;
|
||||
letter-spacing: 0.1vw;
|
||||
|
||||
|
||||
}
|
||||
.card-carousel-section{
|
||||
margin-top: 10vh;
|
||||
padding-left: 5vw;
|
||||
|
||||
}
|
||||
|
||||
|
||||
.card-carousel-container {
|
||||
overflow-x: hidden;
|
||||
white-space: nowrap;
|
||||
width: 100%;
|
||||
scrollbar-width: none;
|
||||
-ms-overflow-style: none;
|
||||
}
|
||||
|
||||
.card-carousel-container::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.card-carousel-list {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
.card-list{
|
||||
width: 90%;
|
||||
margin: 0 auto;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-around;
|
||||
/* background: palegoldenrod; */
|
||||
margin-top: 5vw;
|
||||
}
|
||||
.card{
|
||||
width: 25vw;
|
||||
height: 25vw;
|
||||
border-radius: 20px 20px 40px 20px;
|
||||
/* overflow: hidden; */
|
||||
box-shadow: 5px 5px 10px 5px rgba(0, 0, 0, 0.1);
|
||||
background: #F0F1F6;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
padding: 10px;
|
||||
white-space: normal; /* 允许卡片内容换行 */
|
||||
/* justify-content: center; */
|
||||
flex-shrink: 0;
|
||||
margin-right: 2vw;
|
||||
|
||||
}
|
||||
|
||||
.card:first-child {
|
||||
margin-left: 2vw;
|
||||
}
|
||||
.card img{
|
||||
width: 100%;
|
||||
height:auto;
|
||||
|
||||
}
|
||||
.card-title{
|
||||
font-size: 0.9vw;
|
||||
color: rgba(0, 0, 0, 0.8);
|
||||
margin-top: 2vh;
|
||||
letter-spacing: 0.1vw;
|
||||
}
|
||||
|
||||
.electronicProduct-btn{
|
||||
position: absolute;
|
||||
bottom: 4vw;
|
||||
right: 5vw;
|
||||
|
||||
|
||||
}
|
||||
|
||||
/* ------------------------------云计算服务器设计生产制造销售区-------------------------------- */
|
||||
|
||||
.cloud-server-section{
|
||||
width: 100%;
|
||||
height: 130vh;
|
||||
/* background: palegoldenrod; */
|
||||
position: relative;
|
||||
}
|
||||
.cloud-server-card-list{
|
||||
padding: 0px 5vw;
|
||||
}
|
||||
|
||||
.cloud-server-btn{
|
||||
position: absolute;
|
||||
bottom: 2vw;
|
||||
right: 5vw;
|
||||
}
|
||||
|
||||
/* ------------------------------服务案例区-------------------------------- */
|
||||
.service-case-section{
|
||||
width: 100%;
|
||||
height: 130vh;
|
||||
/* background: palegoldenrod; */
|
||||
background: #fbfbfb;
|
||||
border-radius: 0px 0px 80px 80px;
|
||||
z-index: 2;
|
||||
}
|
||||
.service-case-bg{
|
||||
background-image: url(../imgs/home/casebg.png);
|
||||
background-size: 100%;
|
||||
background-repeat: no-repeat;
|
||||
/* background-position: center; */
|
||||
padding-top: 2vw;
|
||||
position: relative;
|
||||
}
|
||||
.service-case-bg h2{
|
||||
position: absolute;
|
||||
top: -4vw;
|
||||
left: 0vw;
|
||||
}
|
||||
|
||||
|
||||
.service-case-card{
|
||||
width: 22vw;
|
||||
height: 30vw;
|
||||
padding: 20PX;
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
.card-title{
|
||||
font-size: 1.2vw;
|
||||
color: rgba(0, 0, 0, 0.8);
|
||||
margin-top: 2vh;
|
||||
letter-spacing: 0.1vw;
|
||||
}
|
||||
|
||||
.card-content{
|
||||
width: 95%;
|
||||
height: 18vh;
|
||||
}
|
||||
|
||||
.card-content h4{
|
||||
color: #00A0D2;
|
||||
margin-top: 2vh;
|
||||
letter-spacing: 0.1vw;
|
||||
font-size: 1vw;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.card-content ul{
|
||||
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
margin-left: 1.5vw;
|
||||
margin-top: 1.5vh;
|
||||
}
|
||||
|
||||
.card-content ul li{
|
||||
font-size: 0.9vw;
|
||||
color: rgba(0, 0, 0, 0.8);
|
||||
list-style: disc;
|
||||
margin-top: 1vh;
|
||||
}
|
||||
.card-btn{
|
||||
width: 100%;
|
||||
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: right;
|
||||
}
|
||||
.card-btn a {
|
||||
width: 3vw;
|
||||
height: 3vw;
|
||||
background: #00A0D2;
|
||||
border-radius: 50%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
.card-btn a img{
|
||||
width: 1.2vw;
|
||||
}
|
||||
|
||||
.service-case-card:hover{
|
||||
background: #00A0D2;
|
||||
}
|
||||
.card-content-title{
|
||||
display: inline-block;
|
||||
padding: 5px 10px;
|
||||
border-radius: 20px;
|
||||
}
|
||||
|
||||
|
||||
.service-case-card:hover .card-content-title{
|
||||
|
||||
background: #fff;
|
||||
|
||||
}
|
||||
|
||||
.service-case-card:hover .card-btn a{
|
||||
|
||||
background: #fff;
|
||||
|
||||
}
|
||||
|
||||
.service-case-card:hover .card-btn a img {
|
||||
filter: brightness(0) saturate(100%) invert(41%) sepia(99%) saturate(749%) hue-rotate(162deg) brightness(97%) contrast(101%);
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.service-case-card:hover ul li{
|
||||
|
||||
color: #fff;
|
||||
|
||||
}
|
||||
|
||||
.service-case-card:hover .card-title{
|
||||
|
||||
color: #fff;
|
||||
|
||||
}
|
||||
|
||||
|
||||
.service-case-btn{
|
||||
position: absolute;
|
||||
bottom: 13vw;
|
||||
right: 5vw;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user