hexo-theme-keep/source/css/layout/archive-post.styl

43 lines
778 B
Stylus
Raw Normal View History

@require 'variables.styl'
$archive-year-font-size = 24px;
2020-03-22 20:31:13 +08:00
$archive-article-item-title-font-size = 16px;
$archive-article-date-font-size = 14px;
.archive-container {
.archive-item {
2020-03-22 20:31:13 +08:00
margin-bottom: 20px;
.archive-year {
font-size: $archive-year-font-size;
2020-03-22 20:31:13 +08:00
color: $article-title-color;
font-weight: 600;
}
.article-list {
2020-03-22 20:31:13 +08:00
padding-left: 10px;
.article-item {
2020-03-22 20:31:13 +08:00
margin: 10px 0;
font-size: $archive-article-item-title-font-size;
a.article-title {
2020-03-22 20:31:13 +08:00
color: $archive-article-title-color;
&:hover {
color: $a-hover-color;
}
}
.article-date {
2020-03-22 20:31:13 +08:00
font-size: $archive-article-date-font-size;
float: right;
}
}
}
}
}