列表页list.css
.content{
background-color:#CCCCCC;
}
.content .type-container{
background-color: white;
height: 160px;
}
.content .type{
border: 1px solid #ccc;
width: 1000px;
margin: 20px auto;
padding: 5px 20px;
height: 120px;
}
.content .type dl{
position: relative;
}
.content .type dl:first-child{
padding-bottom: 10px;
border-bottom: 1px dotted;
}
.content .type dt{
font-size: 18px;
font-weight: bolder;
}
.content .type dd{
font-size: 12px;
color: #666;
position: absolute;
top: -14px;
line-height: 30px;
}
.content .type dd ul li{
display: inline-table;
width: 120px;
}
.content .list{
width: 1042px;
margin: 0 auto;
}
.content .list ul{
padding-left: 0;
}
.content .list ul li{
width: 160px;
display: inline-table;
background-color: white;
margin: 15px;
padding: 10px;
}
.content .list ul li:nth-child(5n+1){
margin-left: 0;
}
.content .list ul li:nth-child(5n){
margin-right: 0;
}
.content .list ul li .title{
color: #666666;
font-size: 12px;
}
.content .list img{
width: 160px;
}
.content .list .title{
display: block;
}
.content .list div{
text-align: center;
margin-top: 10px;
}
.content .list div .money{
color: #DE4767;
font-size: 6px;
margin-right: 6px;
}
.content .list div .love{
background-image: url(../img/icon/ico.png);
height: 12px;
width: 12px;
display: inline-block;
background-repeat: no-repeat;
background-position: 0px -74px;
}
.content .list a{
text-decoration: none;
}
.content .list div .num{
color: #999;
font-size: 6px;
margin-left: 6px;
}