2020-04-01 12:09:06 +08:00
|
|
|
@require 'common/variables.styl'
|
2020-03-21 23:04:01 +08:00
|
|
|
|
2020-04-07 11:57:53 +08:00
|
|
|
$archive-year-font-size = 1.8em;
|
|
|
|
$article-title-font-size = 1.12em;
|
|
|
|
$article-date-font-size = 0.8em;
|
2020-03-21 23:04:01 +08:00
|
|
|
|
2020-03-17 17:58:18 +08:00
|
|
|
.archive-container {
|
|
|
|
|
2020-03-27 20:45:27 +08:00
|
|
|
.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-02 20:37:34 +08:00
|
|
|
color: var(--second-text-color);
|
2020-04-01 17:00:26 +08:00
|
|
|
font-weight: 600;
|
|
|
|
margin-right: 20px;
|
|
|
|
}
|
2020-03-17 17:58:18 +08:00
|
|
|
|
|
|
|
}
|
|
|
|
|
2020-04-01 17:00:26 +08:00
|
|
|
|
2020-03-27 20:45:27 +08:00
|
|
|
.article-list {
|
2020-03-17 17:58:18 +08:00
|
|
|
|
2020-03-27 20:45:27 +08:00
|
|
|
.article-item {
|
2020-04-07 11:57:53 +08:00
|
|
|
margin: 22px 0;
|
2020-04-01 23:03:38 +08:00
|
|
|
font-size: $article-title-font-size;
|
2020-03-17 17:58:18 +08:00
|
|
|
|
2020-03-27 20:45:27 +08:00
|
|
|
a.article-title {
|
2020-04-02 20:37:34 +08:00
|
|
|
color: var(--normal-text-color);
|
2020-03-17 17:58:18 +08:00
|
|
|
|
|
|
|
&:hover {
|
2020-04-01 22:42:24 +08:00
|
|
|
color: $primary-color;
|
2020-03-17 17:58:18 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-03-27 20:45:27 +08:00
|
|
|
.article-date {
|
2020-04-01 23:03:38 +08:00
|
|
|
font-size: $article-date-font-size;
|
2020-03-22 20:31:13 +08:00
|
|
|
float: right;
|
2020-03-17 17:58:18 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|