110 lines
1.8 KiB
Stylus
110 lines
1.8 KiB
Stylus
@require "common/variables.styl"
|
|
@require "common/magic-theme.styl"
|
|
|
|
.home-content-container {
|
|
|
|
.home-article-list {
|
|
|
|
.home-article-item {
|
|
|
|
background: var(--background-color);
|
|
|
|
if (hexo-config('magic.enable') == true) {
|
|
|
|
magic-container(1.02);
|
|
margin-bottom: 30px;
|
|
|
|
} else {
|
|
margin-bottom: 70px;
|
|
}
|
|
|
|
.home-article-title {
|
|
position: relative;
|
|
font-weight: 600;
|
|
color: var(--second-text-color);
|
|
font-size: 1.5em;
|
|
margin: 0;
|
|
|
|
if (hexo-config('magic.enable') == true) {
|
|
padding-bottom: 20px;
|
|
border-bottom: 1px solid var(--border-color);
|
|
} else {
|
|
a {
|
|
color: var(--second-text-color);
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
.home-article-content {
|
|
|
|
text-align: justify;
|
|
|
|
if (hexo-config('magic.enable') == true) {
|
|
margin: 30px 0 45px 0;
|
|
} else {
|
|
margin: 30px 0;
|
|
}
|
|
line-height: 2em;
|
|
}
|
|
|
|
.home-article-meta-info {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
color: var(--third-text-color);
|
|
font-size: 1em;
|
|
|
|
|
|
.article-date {
|
|
letter-spacing: 0.5px;
|
|
|
|
span {
|
|
margin-right: 15px;
|
|
|
|
ul, li {
|
|
display: inline;
|
|
}
|
|
}
|
|
}
|
|
|
|
hr {
|
|
border: none;
|
|
flex: 1;
|
|
height: 1px;
|
|
background: var(--border-color);
|
|
margin: 0 10px;
|
|
}
|
|
|
|
a {
|
|
color: var(--third-text-color);
|
|
|
|
&:hover {
|
|
color: var(--primary-color)
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
}
|
|
|
|
|
|
.paginator {
|
|
|
|
padding-bottom: 40px;
|
|
|
|
.page-number {
|
|
display: none !important;
|
|
}
|
|
|
|
a.prev {
|
|
float: left;
|
|
}
|
|
|
|
a.next {
|
|
float: right;
|
|
}
|
|
|
|
}
|
|
|
|
} |