fenggu/pages/works/works.wxss

75 lines
1.5 KiB
Plaintext

/* pages/works/works.wxss */
page {
background-color: #F5f5f5;
}
.title-box {
display: flex;
justify-content: space-around;
margin-top: 20rpx;
}
.title-btn {
font-size: 28rpx;
color: #999;
}
.workActive {
color: #2a7be9!important;
text-shadow: 2rpx 2rpx 2rpx rgba(0,0,0,1);
}
.img-list {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
padding: 20rpx;
}
.img-list .item-box{
position: relative;
display: flex;
flex-direction: column;
align-items: center;
width: 48%;
background-color: #fff;
margin-bottom: 20rpx;
}
.share-box {
position: absolute;
top: 20rpx;
right: 20rpx;
display: flex;
justify-content: center;
align-items: center;
width: 60rpx;
height: 60rpx;
border-radius: 6rpx;
background-color: #fff;
box-shadow: 3rpx 3rpx ,10rpx rgba(0,0,0,.8);
}
.share-box image {
width: 40rpx!important;
height: 40rpx;
}
.img-list image {
width: 100%;
}
.img-list text {
width: 100%;
height: auto;
font-size: 26rpx;
color: #333;
padding: 10rpx 20rpx;
line-height: 40rpx;
}
.time {
width: 100%;
font-size: 24rpx;
color: #999;
text-align: left;
padding: 20rpx;
}
.activeIng {
width: auto;height: auto;padding: 6rpx 10rpx;color: #2a7be9; font-size: 24rpx;
}
.activeBtn {
background-color: #2a7be9; width: 100%;height: auto;padding: 20rpx; text-align: center; color: #fff; font-size: 28rpx;
}
.clips2{display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 2;overflow: hidden;text-overflow: ellipsis;word-wrap: break-word;word-break:break-all;}