【7b2主题美化】网格样式文章鼠标悬浮弹出分类角标

2023-02-01 09:36:16 浏览数 (1)

角标颜色和站点主颜色相同

有子主题的复制进style.css即可

代码语言:javascript复制
.post-1 a.post-list-cat-item {
    background:  var(--b2color);
    color: #fff!important;
    padding: 4px;
    line-height: 12px;
    border-radius: 4px;
}
.post-list-meta-box {
	justify-content: space-between;
	margin: 0px;
	color: #AAAEB3;
}
.post-list-cat {
    font-size: 12px;
    margin: 10px;
    top: 0px;
    position: absolute;
    z-index: 2;
    display: none;
}
.post-list .b2_gap .post-list-item :hover .post-list-cat{
	display: block;
}
css

0 人点赞