2025-01-02 10:46:09 +08:00

91 lines
1.3 KiB
CSS

/* 头尾各个页面相同的样式 */
/* 版心 */
.wrapper {
margin: 0 auto;
width: 1240px;
}
/* 快捷导航 */
.shortcut {
height: 52px;
background-color: #333;
}
.shortcut .wrapper {
display: flex;
height: 52px;
justify-content: flex-end;
}
.shortcut ul {
display: flex;
line-height: 52px;
}
.shortcut li a {
padding-right: 15px;
padding-left: 15px;
color: white;
border-right: 1px solid #999;
font-size: 14px;
}
.shortcut li:last-child a {
border-right: none;
padding-right: 0;
}
.shortcut li .iconfont {
vertical-align: middle;
}
.shortcut li .login {
color: #5EB69C;
}
.header {
height: 88px;
margin-top: 22px;
margin-bottom: 22px;
background-color: pink;
display: flex;
}
.logo a {
display: block;
font-size: 0px;
width: 200px;
height: 88px;
background-image: url(../images/logo.png);
}
.nav {
margin-top: 33px;
margin-left: 28px;
}
.nav ul {
display: flex;
}
.nav ul li {
margin-right: 47px;
}
.nav ul li a {
padding-bottom: 10px;
}
.nav ul li a:hover {
border-bottom: 2px solid #5EB69C;
color: #5EB69C;
}
.search {
margin-top: 33px;
margin-right: 45px;
width: 170px;
height: 34px;
border-bottom: 2px solid #F4F4F4;
display: flex;
}