2020-04-01 12:09:06 +08:00
|
|
|
@require "common/variables.styl"
|
|
|
|
|
|
|
|
.home-content-container {
|
|
|
|
|
2020-04-01 15:28:01 +08:00
|
|
|
.home-article-list {
|
2020-04-01 12:09:06 +08:00
|
|
|
|
2020-04-01 15:28:01 +08:00
|
|
|
.home-article-item {
|
2020-04-01 12:09:06 +08:00
|
|
|
|
2020-04-01 16:41:30 +08:00
|
|
|
margin-bottom: 60px;
|
2020-04-01 15:28:01 +08:00
|
|
|
padding-bottom: 30px;
|
2020-04-01 12:09:06 +08:00
|
|
|
|
2020-04-01 15:28:01 +08:00
|
|
|
.home-article-title {
|
2020-04-01 16:41:30 +08:00
|
|
|
position: relative;
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
top: 50%;
|
|
|
|
transform: translateY(-50%);
|
|
|
|
left: -16px;
|
2020-04-07 11:57:53 +08:00
|
|
|
width: 3px;
|
|
|
|
height: 22px;
|
2020-04-01 22:42:24 +08:00
|
|
|
background: $primary-color;
|
2020-04-01 16:41:30 +08:00
|
|
|
transition: all 0.5s ease;
|
|
|
|
}
|
2020-04-01 12:09:06 +08:00
|
|
|
|
2020-04-01 16:41:30 +08:00
|
|
|
font-weight: 600;
|
2020-04-02 20:37:34 +08:00
|
|
|
color: var(--second-text-color);
|
2020-04-07 11:57:53 +08:00
|
|
|
font-size: 1.5em;
|
2020-04-01 16:41:30 +08:00
|
|
|
margin: 0;
|
|
|
|
|
2020-04-01 15:28:01 +08:00
|
|
|
a {
|
2020-04-02 20:37:34 +08:00
|
|
|
color: var(--second-text-color);
|
2020-04-01 12:09:06 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-04-01 15:28:01 +08:00
|
|
|
.home-article-content {
|
2020-04-01 16:41:30 +08:00
|
|
|
margin: 45px 0;
|
2020-04-01 15:28:01 +08:00
|
|
|
line-height: 2em;
|
2020-04-01 12:09:06 +08:00
|
|
|
}
|
|
|
|
|
2020-04-01 16:41:30 +08:00
|
|
|
.home-article-meta-info {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
2020-04-07 11:57:53 +08:00
|
|
|
color: var(--third-text-color);
|
|
|
|
font-size: 0.9em;
|
2020-04-01 16:41:30 +08:00
|
|
|
|
2020-04-07 11:57:53 +08:00
|
|
|
span.article-date {
|
|
|
|
letter-spacing: 0.5px;
|
2020-04-01 16:41:30 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
hr {
|
|
|
|
border: none;
|
|
|
|
flex: 1;
|
|
|
|
height: 1px;
|
2020-04-07 11:57:53 +08:00
|
|
|
background: var(--border-color);
|
2020-04-01 16:41:30 +08:00
|
|
|
margin: 0 10px;
|
|
|
|
}
|
2020-04-07 11:57:53 +08:00
|
|
|
|
|
|
|
a {
|
|
|
|
color: var(--third-text-color);
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: var(--primary-color)
|
|
|
|
}
|
|
|
|
}
|
2020-04-01 16:41:30 +08:00
|
|
|
}
|
|
|
|
|
2020-04-01 15:28:01 +08:00
|
|
|
}
|
2020-04-01 12:09:06 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2020-04-01 15:28:01 +08:00
|
|
|
.paginator {
|
2020-04-01 12:09:06 +08:00
|
|
|
|
2020-04-01 15:28:01 +08:00
|
|
|
padding-bottom: 40px;
|
2020-04-01 12:09:06 +08:00
|
|
|
|
2020-04-01 15:28:01 +08:00
|
|
|
.page-number {
|
|
|
|
display: none !important;
|
|
|
|
}
|
2020-04-01 12:09:06 +08:00
|
|
|
|
2020-04-01 15:28:01 +08:00
|
|
|
a.prev {
|
|
|
|
float: left;
|
|
|
|
}
|
2020-04-01 12:09:06 +08:00
|
|
|
|
2020-04-01 15:28:01 +08:00
|
|
|
a.next {
|
|
|
|
float: right;
|
2020-04-01 12:09:06 +08:00
|
|
|
}
|
2020-04-01 15:28:01 +08:00
|
|
|
|
2020-04-01 12:09:06 +08:00
|
|
|
}
|
2020-04-01 15:28:01 +08:00
|
|
|
|
2020-04-01 12:09:06 +08:00
|
|
|
}
|