Files
ClassContent/历届学生/韩一伟/项目开发/练习项目/作业/2021.06.21/css/index.css
2024-09-27 02:06:13 +08:00

474 lines
7.9 KiB
CSS

.header {}
.header_menu {
height: 40px;
background: #333;
}
.left_menu,
.right_menu{
line-height: 40px;
}
.left_menu li,
.right_menu li{
float: left;
position: relative;
margin-right: 13px;
}
.left_menu li a,
.right_menu li a{
color: #b0b0b0;
font-size: 12px;
}
.left_menu li::after,
.right_menu li::after {
content: "";
width: 1.23px;
height: 15.6px;
background: #424242;
position: absolute;
top: 14px;
right: -7px;
}
.right_menu li:nth-child(3)::after,
.right_menu li:nth-child(4)::after {
background: #333 !important;
}
.right_menu li:nth-child(4) {
margin-left: 15px;
width: 120px;
text-align: center;
height: 40px;
color: #b0b0b0;
background: #424242;
}
.right_menu li:nth-child(4) i{
vertical-align: bottom;
}
.header_logo {
height: 100px;
position: relative;
}
.header_logo .logo {
width: 56px;
height: 56px;
margin-top: 22px;
}
.header_logo .menu {
margin-left: 116.5px;
margin-top: 38px;
}
.header_logo .menu li{
float: left;
margin-right: 20px;
height: 62px;
}
.header_logo .menu li a {
color: #333;
font-size: 16px;
}
.header_logo .search {
width: 296px;
height: 50px;
border: 1px solid #bbb8b8;
margin-top: 20px;
position: relative;
}
.header_logo .search input {
height: 100%;
border: none;
width: 223px;
padding-left: 15px;
box-sizing: border-box;
float: left;
}
.header_logo .search .icon-ziyuan {
width: 73px;
display: inline-block;
height: 100%;
float: left;
text-align: center;
line-height: 50px;
border-left: 1px solid #8d8d8d;
box-sizing: border-box;
}
.search .dropmenu {
position: absolute;
width: 225px;
top: 51px;
border: 1px solid #bbb8b8;
box-sizing: border-box;
left: -1px;
display: none;
}
.search .dropmenu li {
padding-left: 15px;
font-size: 12px;
height: 30px;
line-height: 30px;
}
.search .dropmenu li:hover {
background-color: #bbb8b8;
}
.search input:focus+.dropmenu {
display: block !important;
}
.down_menu {
position: absolute;
width: 100%;
height: 229px;
left: 0;
top: 100px;
border-top: 1px solid #e0e0e0;
display: none;
z-index: 9999;
background: #fff;
box-shadow: 0 3px 4px rgb(0 0 0 / 18%);
}
.header_logo .menu li:hover .down_menu {
display: block !important;
}
.down_menu .item {
float: left;
text-align: center;
width: 160px;
margin: 0 22px;
position: relative;
margin-top: 35px;
}
.down_menu .item::before {
content: "";
position: absolute;
width: 1px;
top: 0;
right: 0;
height: 100px;
background: #e0e0e0;
}
.down_menu .item:last-child::before {
width: 0px !important;
}
.down_menu .item img {
width: 160px;
height: 110px;
margin: 0 auto 16px;
}
.down_menu .item .title {
color: #333;
font-size: 12px;
}
.down_menu .item .price {
color: #ff6700;
font-size: 12px;
}
.banner {
height: 460px;
}
.banner_center {
position: relative;
}
.banner_menu {
width: 234px;
height: 460px;
position: absolute;
left: 0;
top: 0;
background: #000;
padding: 20px 0;
box-sizing: border-box;
background: rgba(105,101,101,.6);
}
.banner_center img {
width: 100%;
}
.banner_menu li {
padding-left: 30px;
padding-right: 20px;
height: 42px;
line-height: 42px;
position: relative;
}
.banner_menu li a{}
.banner_menu li span {
color: #fff;
}
.banner_menu li i {
color: #e0e0e0;
float: right;
}
.banner_menu li:hover {
background: #ff6700;
}
.banner_bottom {
margin-top: 14px;
}
.banner_bottom li:first-child {
width: 234px;
height: 170px;
background: #5f5750;
}
.bottom_list .item {
position: relative;
float: left;
width: 70px;
height: 82px;
margin-left: 6px;
text-align: center;
padding-top: 21px;
box-sizing: border-box;
}
.bottom_list .item::before {
content: "";
position: absolute;
width: 64px;
height: 1px;
background: #665e57;
top: 4px;
left: 0;
}
.bottom_list .item::after {
content: "";
position: absolute;
background: #665e57;
width: 1px;
height: 70px;
right: -1px;
top: 11px;
}
.bottom_list .item img {
width: 24px;
height: 24px;
margin: 0 auto 4px;
opacity: .7;
}
.bottom_list .item p {
color: #fff;
font-size: 12px;
opacity: .7;
}
.banner_bottom li:last-child {
margin-right: 0;
}
.banner_bottom li{
float: left;
width: 316px;
height: 170px;
margin-right: 14.5px;
}
.banner_bottom li img{
width: 100%;
}
.comparison_muen{
position: absolute;
width: 993px;
height: 460px;
box-shadow: 0 8px 16px rgba(0,0,0,.18);
background: #fff;
top: -20px;
left: 234px;
border: 1px solid #e0e0e0;
display: none;
}
.comparison_muen_ltem{
width: 248px;
}
.comparison_muen img{
width: 40px;
height: 40px;
float: left;
}
.comparison_muen p{
width: 172px;
line-height: 40px;
overflow: hidden;
font-size: 14px;
}
.comparison_muen_ltem{
padding: 18px 20px;
}
.item1,.item2,.item3,.item4{
float: left;
width: 248px;
}
.banner .banner_menu li:hover .comparison_muen {
display: block !important;
}
.shouji_top{
height: 58px;
}
.shouji_left{
margin: 0;
font-size: 22px;
font-weight: 200;
line-height: 58px;
color: #333;
}
.shouji_right li{
font-size: 16px;
line-height: 58px;
color: #424242;
}
.shouji_bottom img{
width: 234px;
height: 614px;
}
.shouji_title{
margin-left: 14px;
background: #fff;
padding: 20px 0;
height: 260px;
width: 234px;
margin-bottom: 14px;
}
.shouji_title img{
margin-left: 35px;
width: 160px;
height: 160px;
}
.shouji_title p{
text-align: center;
text-overflow: ellipsis;
}
.shouji_name{
margin-bottom: 2px;
font-size: 14px;
font-weight: 400;
color: #333;
}
.shouji_introduce{
height: 18px;
font-size: 12px;
color: #b0b0b0;
margin-bottom: 10px;
}
.shouji_money{
color: #ff6700;
font-size: 14px;
}
.guanggao img{
width: 1226px;
height: 120px;
margin-top: 23px;
}
.jiadian_top{
height: 58px;
}
.jiadian_top h2{
font-size: 22px;
font-weight: 200;
line-height: 58px;
color: #333;
}
.jiadian_top_right {
margin-top: 16px;
}
.jiadian_top_right li {
float: left;
font-size: 16px;
color: #424242;
margin-left: 30px;
}
.jiadian_top_right .active {
color: #ff6700;
border-bottom: 2px solid #ff6700;
padding-bottom: 2px;
}
.jiadian_bottom{
text-align: center;
}
.jiadian_bottom li:last-child{
background: #f5f5f5;
}
.jiadian_bottom li:nth-child(5n){
margin-right: 0 !important;
}
.jiadian_bottom li{
margin-right: 14px;
margin-bottom: 14px;
background: #fff;
width: 234px;
height: 300px;
float: left;
}
.jiadian_bottom .dute{
width: 234px;
height: 300px;
}
.dute{
width: 234px;
height: 300px;
}
.jiadian_name{
font-size: 14px;
font-weight: 400;
color: #333;
margin-bottom: 2px;
}
.jiadian_introduce{
margin-bottom: 10px;
font-size: 12px;
color: #b0b0b0;
}
.jiadian_money_new{
color: #ff6700;
font-size: 14px;
}
.jiadian_money_oid{
font-size: 14px;
color: #b0b0b0;
}
.top{
padding-top: 40px;
padding-left: 30px;
height: 143px;
background: #fff;
box-sizing: border-box;
}
.top img{
margin-top: -11px;
width: 80px;
height: 80px;
}
.text{
text-align: left;
}
.text p{
font-size: 14px;
font-weight: 400;
color: #333;
width: 94px;
}
.text span{
font-size: 14px;
color: #ff6700;
}
.bottom{
margin-top: 13px;
padding-top: 40px;
padding-left: 30px;
height: 143px;
background: #fff;
box-sizing: border-box;
}
.bottom p{
font-size: 18px;
color: #333;
}
.bottom span{
color: #757575;
}
.bottom img{
width: 48px;
height: 48px;
margin-top: 3px;
margin-left: 16px;
}