项目样式

.content{
width: 1000px;
margin: 0 auto;
}
.content h1{
color: #de4767;
text-align: center;
font-size: 60px;
font-weight: normal;
}
.content ul{
padding-left: 0px;
text-align: center;
}
/* 精灵图 */
.content ul li{
/* display: inline-block; 显示一行 */
display: inline-block;
background-image:url(img/buyer/mod_circle.png);
background-position: center 5px;
/* background-repeat: no-repeat; 不重铺 */
background-repeat: no-repeat;
width: 80px;
height: 30px;
}
.content ul li:hover{
background-position: center -95px;
}
.content ul li a{
padding-top: 40px;
display: block;
text-decoration: none;
color: #333;
}
.content ul li a:hover{
color: #DE4767;
}
.content .type h3{
background-image:url(img/buyer/mod_title.png);
background-position: 0 -190px;
/* background-repeat: no-repeat; 不重铺 */
background-repeat: no-repeat;
width: 300px;
height: 50px;
}
.content .type .text{
border: 2px solid #ccc;
border-radius: 10px;
padding: 25px 20px;
text-align: center;
}
.content .type .text p{
text-align: left;
font-size: 14px;
text-indent: 2em;
line-height: 2em;
margin: 0;
}
.content .type2 h3{
background-image:url(img/buyer/mod_title.png);
background-position: 0 0px;
/* background-repeat: no-repeat; 不重铺 */
background-repeat: no-repeat;
width: 300px;
height: 50px;
}
.content .type2 .text{
border: 2px solid #ccc;
border-radius: 10px;
padding: 25px 20px;
text-align: center;
}
.content .type2 .text p{
text-align: left;
font-size: 14px;
text-indent: 2em;
line-height: 2em;
margin: 0;
}
.content .type3 h3{
background-image:url(img/buyer/mod_title.png);
background-position: 0 -89px;
/* background-repeat: no-repeat; 不重铺 */
background-repeat: no-repeat;
width: 300px;
height: 50px;
}
.content .type3 .text{
border: 2px solid #ccc;
border-radius: 10px;
padding: 25px 20px;
text-align: center;
}
.content .type3 .text p{
text-align: left;
font-size: 14px;
text-indent: 2em;
line-height: 2em;
margin: 0;
}
.content .type4 h3{
background-image:url(img/buyer/mod_title.png);
background-position: 0 -280px;
/* background-repeat: no-repeat; 不重铺 */
background-repeat: no-repeat;
width: 300px;
height: 50px;
}
.content .type4 .text{
border: 2px solid #ccc;
border-radius: 10px;
padding: 25px 20px;
text-align: center;
}
.content .type4 .text p{
text-align: left;
font-size: 14px;
text-indent: 2em;
line-height: 2em;
margin: 0;
}
.content .type5 h3{
background-image:url(img/buyer/mod_title.png);
background-position: 0 -592px;
/* background-repeat: no-repeat; 不重铺 */
background-repeat: no-repeat;
width: 300px;
height: 50px;
}
.content .type5 .text{
border: 2px solid #ccc;
border-radius: 10px;
padding: 25px 20px;
text-align: center;
}
.content .type5 .text p{
text-align: left;
font-size: 14px;
text-indent: 2em;
line-height: 2em;
margin: 0;
}
.content .type5 .text p span{
color: crimson;
}
.content .type5 .text p.p5{
color: white;
background-color: crimson;
}
.db ul li{
display: block;
text-align: center;
text-decoration: none;
}

posted @ 2021-10-25 17:14  与神明画过押  阅读(40)  评论(0)    收藏  举报