hexo-theme-keep/source/css/layout/category-list.styl

54 lines
909 B
Stylus

.category-list-container {
keep-container(false, 0, 0, 30px, 30px);
.category-list-content {
.all-category-list {
li.all-category-list-item {
font-size: 1rem;
margin-bottom: 15px;
display: flex;
justify-content: space-between;
align-items: center;
&:last-child {
margin-bottom: 0;
}
span.all-category-list-count {
color: var(--default-text-color);
background: var(--second-background-color);
padding: 2px 8px;
border-radius: 2px;
}
ul.all-category-list-child {
margin-left: 10px;
margin-top: 15px;
li {
&::before {
content: '- ';
}
margin-bottom: 10px;
&:last-child {
margin-bottom: 0;
}
}
}
}
}
}
}