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

32 lines
572 B
Stylus
Raw Normal View History

2020-04-01 12:09:06 +08:00
@require 'common/variables.styl'
.category-container {
2020-04-29 18:41:29 +08:00
background: var(--background-color);
if (hexo-config('magic.enable')) {
2020-04-30 00:14:16 +08:00
magic-container(1.02, 1.02, 30px);
2020-06-04 22:11:27 +08:00
+ils-tablet() {
magic-container(1.01, 1.01, 20px);
}
2020-04-29 18:41:29 +08:00
}
.category-name {
color: var(--second-text-color);
font-size: 1.6em;
2020-06-04 22:11:27 +08:00
+ils-tablet() {
font-size: 1.5em;
}
+ils-mobile() {
font-size: 1.4em;
}
font-weight: 600;
2020-04-29 18:41:29 +08:00
padding-bottom: 20px;
margin-bottom: $component-interspace;
border-bottom: 1px solid var(--border-color);
}
}