2022-09-30 10:51:42 +08:00
|
|
|
$archive-year-font-size = 1.8rem
|
|
|
|
$archive-year-count-font-size = 1.2rem
|
|
|
|
$article-title-font-size = 1.2rem
|
|
|
|
$article-date-font-size = 1rem
|
2020-04-29 18:41:29 +08:00
|
|
|
|
|
|
|
.archive-list-container {
|
2020-11-17 18:21:16 +08:00
|
|
|
|
2020-04-29 18:41:29 +08:00
|
|
|
.archive-item {
|
2022-09-30 10:51:42 +08:00
|
|
|
margin-bottom $component-spacing-value
|
2020-04-29 18:41:29 +08:00
|
|
|
|
|
|
|
&:last-child {
|
2022-09-30 10:51:42 +08:00
|
|
|
margin-bottom 0
|
2020-04-29 18:41:29 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.archive-item-header {
|
2022-09-30 10:51:42 +08:00
|
|
|
margin-bottom 0.8rem
|
2020-11-17 18:21:16 +08:00
|
|
|
|
2020-04-29 18:41:29 +08:00
|
|
|
.archive-year {
|
2022-09-30 10:51:42 +08:00
|
|
|
margin-right 6px
|
|
|
|
color var(--second-text-color)
|
|
|
|
font-weight 600
|
|
|
|
font-size $archive-year-font-size
|
2020-06-04 22:11:27 +08:00
|
|
|
|
2020-11-20 12:02:22 +08:00
|
|
|
+keep-tablet() {
|
2022-09-30 10:51:42 +08:00
|
|
|
font-size $archive-year-font-size - 0.2rem
|
2020-06-04 22:11:27 +08:00
|
|
|
}
|
2020-09-02 12:16:49 +08:00
|
|
|
}
|
|
|
|
|
2020-12-01 16:51:38 +08:00
|
|
|
|
2020-09-02 12:16:49 +08:00
|
|
|
.archive-year-post-count {
|
2022-09-30 10:51:42 +08:00
|
|
|
color var(--second-text-color)
|
|
|
|
font-weight 500
|
|
|
|
font-size $archive-year-count-font-size
|
2020-09-02 12:16:49 +08:00
|
|
|
|
2020-11-20 12:02:22 +08:00
|
|
|
+keep-tablet() {
|
2022-09-30 10:51:42 +08:00
|
|
|
font-size $archive-year-count-font-size * 0.9
|
2020-09-02 12:16:49 +08:00
|
|
|
}
|
2020-04-29 18:41:29 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.article-list {
|
|
|
|
|
2022-09-30 10:51:42 +08:00
|
|
|
padding-left 0.8rem
|
2020-11-17 18:21:16 +08:00
|
|
|
|
2020-11-20 12:02:22 +08:00
|
|
|
+keep-tablet() {
|
2022-09-30 10:51:42 +08:00
|
|
|
padding-left 0
|
2020-11-17 18:21:16 +08:00
|
|
|
}
|
|
|
|
|
2020-04-29 18:41:29 +08:00
|
|
|
.article-item {
|
2022-09-30 10:51:42 +08:00
|
|
|
margin-top 1.2rem
|
|
|
|
font-size 1rem
|
2020-09-03 12:28:24 +08:00
|
|
|
|
2020-11-20 12:02:22 +08:00
|
|
|
+keep-tablet() {
|
2022-09-30 10:51:42 +08:00
|
|
|
margin-top 1.1rem
|
2020-09-03 12:28:24 +08:00
|
|
|
}
|
|
|
|
|
2020-11-20 12:02:22 +08:00
|
|
|
+keep-mobile() {
|
2022-09-30 10:51:42 +08:00
|
|
|
margin-top 1rem
|
2020-09-03 12:28:24 +08:00
|
|
|
}
|
2020-04-29 18:41:29 +08:00
|
|
|
|
2020-11-17 18:21:16 +08:00
|
|
|
&:hover {
|
2022-09-30 10:51:42 +08:00
|
|
|
a.article-title
|
|
|
|
.article-date {
|
|
|
|
color var(--primary-color)
|
2021-01-22 19:13:47 +08:00
|
|
|
}
|
2020-11-17 18:21:16 +08:00
|
|
|
}
|
|
|
|
|
2021-01-22 19:13:47 +08:00
|
|
|
|
2020-04-29 18:41:29 +08:00
|
|
|
a.article-title {
|
2022-09-30 10:51:42 +08:00
|
|
|
color var(--default-text-color)
|
2020-04-29 18:41:29 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.article-date {
|
2022-09-30 10:51:42 +08:00
|
|
|
float right
|
|
|
|
font-size $article-date-font-size
|
|
|
|
color var(--default-text-color)
|
2020-04-29 18:41:29 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|