style: modified category list style

This commit is contained in:
XPoet 2021-01-27 16:39:55 +08:00
parent 44a2d6b723
commit a99ed0170a
1 changed files with 6 additions and 11 deletions

View File

@ -9,24 +9,19 @@
li.all-category-list-item { li.all-category-list-item {
font-size: 1rem; font-size: 1rem;
margin-bottom: 15px; margin-bottom: 15px;
display: flex;
justify-content: space-between;
align-items: center;
&:last-child { &:last-child {
margin-bottom: 0; margin-bottom: 0;
} }
span.all-category-list-count { span.all-category-list-count {
float: right;
color: var(--default-text-color); color: var(--default-text-color);
background: var(--second-background-color);
padding: 2px 8px;
&::before { border-radius: 2px;
content: '';
}
&::after {
content: '';
}
} }