westdc-zf1/htdocs/static-sanji/css/data-list.css

217 lines
3.9 KiB
CSS
Raw Permalink Normal View History

2018-02-04 09:46:00 +00:00
h1,h2,h3,h4,h5,h6,p,ul,li,dl,dt,dd,body,ul,li,hr{
padding:0;
margin:0;
}
li{
list-style: none;
}
.clear:after{
display: block;
content: '';
clear: both;
}
a:hover{
text-decoration: none;
}
.c-f{
margin: 28px 0;
}
2018-02-04 16:47:25 +00:00
.product-nav .col-xs-12{
padding-right: 0 !important;
padding-left: 0 !important;
}
2018-02-04 09:46:00 +00:00
.product-nav .fication{
background: #f4f4f4;
height: 56px;
}
.product-nav .fication:nth-child(2){
margin-top: 1px;
padding-right:28px;
position: relative;
overflow: hidden;
}
.product-nav ul.fication:nth-child(2) span{
width:20px;
height: 20px;
cursor: pointer;
position: absolute;
right:10px;
top:18px;
2018-02-04 16:47:25 +00:00
background: url('../images/c-down.png') no-repeat center;
2018-02-04 09:46:00 +00:00
background-size: contain;
}
.product-nav ul.fication li{
line-height: 56px;
margin-left: 20px;
word-break: break-all;
display: -webkit-box;
-webkit-line-clamp: 2; /*限制在一个块元素显示的文本的行数*/
-webkit-box-orient: vertical;
overflow: hidden4px;
float: left;
color:#a8a8a8;
}
.product-nav ul.fication li a{
color: #a8a8a8;
font-size: 14px;
}
.product-nav ul.fication li a:hover{
color:#000;
}
.dropdown{
margin-top: 30px;
color:#a8a8a8;
font-size: 14px;
}
.pro-list{
margin:20px 0;
}
.btn-default{
border-color:transparent !important;
color:#a8a8a8;
font-size: 14px;
}
/* 列表 */
.c-img{
2018-02-04 16:47:25 +00:00
width:100%;
2018-02-04 09:46:00 +00:00
height:220px;
}
2018-02-04 16:47:25 +00:00
.c-img-box:hover .c-cover{
display: block;
}
.c-cover{
display: none;
position: absolute;
width:276px;
height: 220px;
background: url('../images/data/cover.jpg') no-repeat center;
background-size: cover;
transition: all .5s;
cursor: pointer;
}
.c-cover:hover{
display: block;
}
2018-02-04 09:46:00 +00:00
.c-img-box{
padding:8px;
2018-02-04 16:47:25 +00:00
position: relative;
2018-02-04 09:46:00 +00:00
}
2018-02-04 16:47:25 +00:00
2018-02-04 09:46:00 +00:00
.c-list{
border:1px solid #ccc;
border-radius: 4px;
margin-bottom: 36px;
}
.c-list-box{
padding-right: 20px;
}
2018-02-04 16:47:25 +00:00
.c-list-box h4 a{
color:#4d4d4d;
}
2018-02-04 09:46:00 +00:00
.c-list-box h4{
margin: 20px 0px;
font-size: 16px;
font-weight: 600;
}
.c-list-box .c-info span{
display: inline-block;
width: 25px;
height: 15px;
background-size: contain;
}
.c-list-box .c-author{
2018-02-04 16:47:25 +00:00
background: url('../images/c-author.png') no-repeat center;
2018-02-04 09:46:00 +00:00
}
.c-list-box .c-click{
2018-02-04 16:47:25 +00:00
background: url('../images/c-click.png') no-repeat center;
2018-02-04 09:46:00 +00:00
}
.c-list-box .c-time{
2018-02-04 16:47:25 +00:00
background: url('../images/c-time.png') no-repeat center;
2018-02-04 09:46:00 +00:00
}
.c-list-box .c-info {
color: #a6a6a6;
font-size: 12px;
}
.c-list-box .c-info i{
margin: 0 5px 0 5px;
}
.c-list-box p.c-info{
margin-bottom: 25px;
}
.c-list-box .c-con{
2018-04-19 15:52:23 +00:00
line-height: 18px;
2018-02-04 09:46:00 +00:00
padding-bottom: 14px;
border-bottom: 1px dashed #ccc;
word-break: break-all;
display: -webkit-box;
2018-04-19 15:52:23 +00:00
/*-webkit-line-clamp: 2; !*限制在一个块元素显示的文本的行数*!*/
2018-02-04 09:46:00 +00:00
-webkit-box-orient: vertical;
}
.c-left{
float: left;
line-height: 48px;
font-size: 12px;
color:#a6a6a6;
line-height: 68px;
}
.c-left a{
display: inline-block;
width: 40px;
height: 12px;
2018-02-04 16:47:25 +00:00
background: url('../images/c-downloads.png') no-repeat center;
2018-02-04 09:46:00 +00:00
background-size: contain;
}
.c-left em{
font-style: normal;
}
.c-right{
float: right;
width: 108px;
border:1px solid #309fc9;
line-height: 32px;
text-align: center;
font-size: 12px;
margin-top:20px;
2018-02-04 16:47:25 +00:00
color:#309fc9;
2018-02-04 09:46:00 +00:00
}
.c-right:hover{
background: #309fc9;
color:#fff;
}
#pagination a{
color:#525252;
}
#pagination a:hover{
color:#d31919;
}
#pagination ul{
width:496px;
margin: 0 auto;
font-size: 14px;
color:#525252;
padding-top: 15px;
}
#pagination ul li{
float:left;
margin:0 8px;
2018-02-11 07:25:21 +00:00
}
ul.thumb li.items{
width:23%;
overflow: hidden;
border:1px solid #ccc;
border-radius: 5px;
margin: 5px 5px;
}
ul.thumb li.items h4{
margin-top: 5px;
}
.pagenavi{
text-align: center;
2018-02-04 09:46:00 +00:00
}