91 lines
1.6 KiB
CSS
91 lines
1.6 KiB
CSS
.header{
|
|
width: 100%;
|
|
height: 15vh;
|
|
background-color: #030045;
|
|
position: relative;
|
|
margin-bottom: 0;
|
|
margin-bottom: -1px;
|
|
/* background: padding-box; */
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.header .bg{
|
|
width: 20vw;
|
|
height: 35%;
|
|
/* background: palegoldenrod; */
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 24vw;
|
|
}
|
|
.header .bg img{
|
|
width: 100%;
|
|
height:auto;
|
|
|
|
}
|
|
.header .container{
|
|
width: 100%;
|
|
height: 65%;
|
|
display: flex;
|
|
align-items: start;
|
|
justify-content: space-between;
|
|
/* background: palegoldenrod; */
|
|
}
|
|
.logo{
|
|
width: 20%;
|
|
height: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
.logo img{
|
|
width: 3.5vw;
|
|
height: auto;
|
|
}
|
|
.header ul{
|
|
width: 45%;
|
|
height: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
/* background: palevioletred; */
|
|
margin-left: 5vw;
|
|
padding-right: 10vw;
|
|
}
|
|
.header ul li{
|
|
width: 100%;
|
|
height: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 0.9vw;
|
|
|
|
|
|
}
|
|
.header ul li a{
|
|
display: inline-block;
|
|
color: #009FD1;
|
|
transition: all 0.2s ease;
|
|
font-weight: 600;
|
|
font-size: 1vw;
|
|
position: relative;
|
|
padding-bottom: 2vh;
|
|
}
|
|
.header ul li a:hover{
|
|
font-size: 1vw;
|
|
color: #fff;
|
|
text-shadow: 0 0 10px rgba(41, 111, 216, 0.5);
|
|
}
|
|
/* .active{
|
|
background: palegoldenrod;
|
|
} */
|
|
.actives::before{
|
|
content:url(../imgs/svg/页面选择图标.svg);
|
|
width: 100%;
|
|
height: auto;
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
}
|