旧版本是这样的,列表模式
CSS后是这样的,变成网格模式
美化CSS
/*b2文档美化*/
.tax-document_cat {}
.b2-document-single {
margin: 0;
padding-top: 15px;
}
.document-breadcrumb a {
color: #606266;
}
.b2-document-single .b2-single-content {
margin-top: 20px;
}
.b2-document-content {
margin-top: 15px;
}
.document-content .document-cat-top {
margin-bottom: 60px;
}
.document-content .document-cat-top h2 {
margin-top: 0;
margin-bottom: 15px;
}
.document-content .document-cat-top p {
color: #909399;
font-size: 15px;
letter-spacing: .5px;
}
.document-left-item {
padding: 20px;
}
.document-left-item h2 {
font-size: 16px;
font-weight: normal;
border-bottom: 1px solid #ebeef5;
padding-bottom: 15px;
}
.document-left-item ul li {
color: #909399;
margin-top: 25px;
}
.document-left-item ul li a {
color: #606266;
}
.single-document-search input {
background: #fff;
border-radius: 4px;
padding: 8px;
padding-left: 40px;
border: 0;
}
.single-document-search button {
padding: 5px 10px;
}
.document-content {}
.document-content .box {
background: transparent;
}
.document-content .box .document-row {
float: left;
width: 25%;
position: relative;
display: block;
height: 120px;
border-right: 1px solid #ebeef5;
background: #fff;
transition: all .3s;
}
.document-content .box .document-row:hover {
transform: translateY(-5px);
box-shadow: 0 10px 30px 0px #d6dce5;
}
.document-content .box .document-row .document-cat-rot a {
color: #909399;
font-size: 13px;
}
.document-content .box .document-row h3 {
min-height: 46px;
font-weight: normal;
font-size: 16px;
}
.document-content .box .document-row .document-row-right {
width: auto;
text-align: left;
position: absolute;
bottom: 10px;
left: 0;
padding-left: 15px;
font-size: 14px;
color: #909399;
}
.document-row + .document-row {
border-top: 1px solid #ebeef5;
}
.document-row a:hover {
text-decoration: none;
}
© 版权声明
文章版权归作者所有,未经允许请勿转载。
相关文章
暂无评论...