57 lines
874 B
CSS
57 lines
874 B
CSS
/*
|
|
* 分类
|
|
*/
|
|
.nav-list {
|
|
height: 38rpx;
|
|
line-height: 38rpx;
|
|
width: calc(100% - 155rpx);
|
|
}
|
|
|
|
/**
|
|
* 博客列表
|
|
*/
|
|
.blog-list .blog-img {
|
|
width: 200rpx !important;
|
|
height: 170rpx !important;
|
|
}
|
|
.blog-list .base {
|
|
width: calc(100% - 220rpx);
|
|
}
|
|
|
|
/*
|
|
* 博客滚动
|
|
*/
|
|
.hot-list swiper,
|
|
.hot-list .item .blog-img {
|
|
height: 180rpx !important;
|
|
}
|
|
.hot-list .item .blog-title {
|
|
left: 0;
|
|
bottom: 0;
|
|
width: calc(100% - 36rpx);
|
|
background-color: rgba(0,0,0,.5);
|
|
}
|
|
|
|
/**
|
|
* 推荐博文
|
|
*/
|
|
.right-list .item .blog-title {
|
|
width: calc(100% - 210rpx);
|
|
}
|
|
|
|
/**
|
|
* 商品
|
|
*/
|
|
.goods-list .item {
|
|
width: calc(50% - 10rpx);
|
|
}
|
|
.goods-list .item:nth-child(2n) {
|
|
float: right;
|
|
}
|
|
.goods-list .item:nth-child(2n+1) {
|
|
float: left;
|
|
}
|
|
.goods-list .item .goods-img {
|
|
width: 100%;
|
|
height: 380rpx !important;
|
|
} |