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

59 lines
833 B
Stylus
Raw Normal View History

2020-09-02 17:49:53 +08:00
.category-list-container {
keep-container(1.005, 1.01, 30px, 30px);
2020-09-02 17:49:53 +08:00
.category-list-content {
.all-category-list {
li.all-category-list-item {
margin-bottom: 15px;
&:last-child {
margin-bottom: 0;
}
span.all-category-list-count {
float: right;
color: var(--default-text-color);
2020-09-02 17:49:53 +08:00
&::before {
content: '';
}
&::after {
content: '';
}
}
ul.all-category-list-child {
margin-left: 10px;
margin-top: 15px;
li {
&::before {
content: '· ';
}
margin-bottom: 10px;
&:last-child {
margin-bottom: 0;
}
}
}
}
}
}
}