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

52 lines
907 B
Stylus
Raw Normal View History

@require "./common/variables.styl";
@require "./common/magic-theme.styl";
$archive-year-font-size = 1.8em;
$article-title-font-size = 1.12em;
$article-date-font-size = 0.8em;
.archive-container {
background: var(--background-color);
2020-04-28 23:20:17 +08:00
magic-container(1.01, 30px);
.archive-item {
2020-04-01 17:00:26 +08:00
margin-bottom: 40px;
.archive-item-header {
.archive-year {
font-size: $archive-year-font-size;
color: var(--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 {
.article-item {
margin: 22px 0;
2020-04-01 23:03:38 +08:00
font-size: $article-title-font-size;
a.article-title {
color: var(--normal-text-color);
&:hover {
2020-04-01 22:42:24 +08:00
color: $primary-color;
}
}
.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;
}
}
}
}
}