anxiao_web/pages/index/css/mainHeader.css

151 lines
2.3 KiB
CSS
Raw Normal View History

2024-07-24 09:22:32 +08:00
/* 2022/09/21 qiuli */
.mainHeaderTop {
height: 83px;
background: url("../image/headerBg.jpg") no-repeat center;
background-size: 100% auto;
}
.mainHeaderTop>div:nth-child(2) {
float: left;
width: calc(100% - 896px);
height: 83px;
line-height: 68px;
text-align: center;
}
.mainHeaderTop>div:nth-child(2)>p {
text-align: center;
font-size: 26px;
height: 83px;
}
.mainTopMenuList{
float:left;
width: 448px;
height:78px;
}
.mainTopLeft>div{
float:left;
width:100px;
height:78px;
}
.mainTopLeft>div>p{
line-height:20px;
color:#54D5FC;
}
.mainTopLeft>div>p:first-child{
margin-top:19px;
}
.mainTopLeft>div:first-child>p:first-child{
font-size:20px;
}
.mainTopLeft>div:nth-child(2)>p:last-child{
width:30px;
background-color: #2DCC32;
margin-left:35px;
color:#fff;
border-radius: 2px;
}
.mainTopMenuList>ul>li {
float: left;
width: 165px;
height: 45px;
line-height: 45px;
text-align: center;
background: url("./image/HeaderTopLiBg.png") no-repeat;
}
.mainTopMenuList>ul>li:hover {
cursor: pointer;
}
.mainTopMenuList>ul {
clear: both;
}
.mainTopMenuList>ul>li {
position: relative;
}
.mainTopMenuList>ul>li:hover>ul {
display: block;
}
.mainTopMenuList>ul>li>ul {
display: none;
width: 144px;
top: 39px;
left: 6px;
position: absolute;
z-index: 9999999;
background: #094F85;
box-sizing: border-box;
border: 1px solid #1985B2;
}
.mainTopMenuList>ul>li>ul>li {
height: 32px;
line-height: 32px;
border-bottom: 1px solid #1985B2;
font-size: 14px !important;
}
.mainTopMenuList>ul>li>ul>li:last-child {
border-bottom: 0 !important;
}
.mainTopMenuList:nth-child(3)>div{
overflow: hidden;
width:298px;
text-align: right;
margin-top:5px;
margin-left:145px;
height:30px;
line-height:30px;
font-size:14px;
}
.mainTopMenuList:nth-child(3)>div:last-child{
margin-top:10px;
}
.mainTopMenuList:nth-child(3)>div>p {
float:right;
margin-left:30px;
}
.mainTopMenuList:nth-child(3)>div>p:hover {
cursor: pointer;
}
.mainTopMenuList:nth-child(3)>div>p>img {
float: left;
margin:7px 7px 7px 0;
}
.mainTopMenuOne>p {
padding: 0 10px;
float: left !important;
line-height: 23px !important;
}
.mainTopMenuOne>p>img {
margin:0 5px !important;
}
.mainTopMenuOne>p>span {
font-size: 16px;
}
.mainTopMenuUl {
float: right;
}