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

48 lines
846 B
Stylus
Raw Normal View History

2020-04-01 12:09:06 +08:00
@require 'common/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-04-01 17:00:26 +08:00
margin-bottom: 40px;
.archive-item-header {
.archive-year {
font-size: $archive-year-font-size;
2020-04-01 22:42:24 +08:00
color: $second-text-color;
2020-04-01 17:00:26 +08:00
font-weight: 600;
margin-right: 20px;
}
}
2020-04-01 17:00:26 +08:00
.article-list {
2020-04-01 17:00:26 +08:00
padding-left: 20px;
.article-item {
2020-04-01 17:00:26 +08:00
margin: 20px 0;
2020-03-22 20:31:13 +08:00
font-size: $archive-article-item-title-font-size;
a.article-title {
2020-04-01 22:42:24 +08:00
color: $normal-text-color;
&:hover {
2020-04-01 22:42:24 +08:00
color: $primary-color;
}
}
.article-date {
2020-03-22 20:31:13 +08:00
font-size: $archive-article-date-font-size;
float: right;
}
}
}
}
}