115 lines
2.0 KiB
Stylus
115 lines
2.0 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, 1.02, 30px);
|
|
margin-bottom: $component-interspace;
|
|
|
|
} 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);
|
|
|
|
|
|
if (hexo-config('magic.enable') == true) {
|
|
font-size: 1em;
|
|
} else {
|
|
font-size: 0.9em;
|
|
}
|
|
|
|
.article-date {
|
|
letter-spacing: 0.5px;
|
|
|
|
span {
|
|
margin-right: 10px;
|
|
|
|
&:last-child {
|
|
margin-right: 0;
|
|
}
|
|
|
|
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;
|
|
|
|
a.prev {
|
|
float: left;
|
|
}
|
|
|
|
a.next {
|
|
float: right;
|
|
}
|
|
|
|
}
|
|
|
|
} |