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

29 lines
538 B
Stylus
Raw Normal View History

$category-name-font-size = 1.6rem
2020-12-01 16:51:38 +08:00
.category-container {
2020-04-29 18:41:29 +08:00
keep-container(false, 0, 0, 30px, 30px)
2020-04-29 18:41:29 +08:00
.category-name {
margin-bottom $component-spacing-value
padding-bottom 20px
color var(--second-text-color)
font-weight 600
font-size $category-name-font-size
border-bottom 1px solid var(--border-color)
2020-06-04 22:11:27 +08:00
2021-01-21 20:16:30 +08:00
i {
color var(--second-text-color)
2021-01-21 20:16:30 +08:00
}
2020-11-20 12:02:22 +08:00
+keep-tablet() {
font-size $category-name-font-size * 0.9
2020-06-04 22:11:27 +08:00
}
2020-11-20 12:02:22 +08:00
+keep-mobile() {
font-size $category-name-font-size * 0.8
2020-06-04 22:11:27 +08:00
}
}
2020-11-13 14:43:22 +08:00
}