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

59 lines
857 B
Stylus
Raw Normal View History

2020-09-02 17:49:53 +08:00
.category-list-container {
2021-01-21 18:23:22 +08:00
keep-container(false, 0, 0, 30px, 30px);
2020-09-02 17:49:53 +08:00
.category-list-content {
.all-category-list {
li.all-category-list-item {
2021-01-21 18:23:22 +08:00
font-size: 1rem;
2020-09-02 17:49:53 +08:00
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;
}
}
}
}
}
}
}