2020-04-01 12:09:06 +08:00
|
|
|
@require "common/variables.styl"
|
2020-04-24 22:49:10 +08:00
|
|
|
@require "common/magic-theme.styl"
|
2020-04-01 12:09:06 +08:00
|
|
|
|
|
|
|
.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-10-28 00:20:32 +08:00
|
|
|
position: relative;
|
|
|
|
|
|
|
|
.top-icon {
|
|
|
|
position: absolute;
|
|
|
|
top: 6px;
|
|
|
|
right: 10px;
|
|
|
|
font-size: 1.8em;
|
|
|
|
transform: rotate(50deg);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2020-04-24 22:49:10 +08:00
|
|
|
background: var(--background-color);
|
2020-04-01 12:09:06 +08:00
|
|
|
|
2020-09-05 22:41:10 +08:00
|
|
|
if (hexo-config('magic.enable')) {
|
2020-04-01 16:41:30 +08:00
|
|
|
|
2020-04-30 00:14:16 +08:00
|
|
|
magic-container(1.02, 1.02, 30px);
|
2020-04-29 18:41:29 +08:00
|
|
|
margin-bottom: $component-interspace;
|
2020-04-24 22:49:10 +08:00
|
|
|
|
2020-06-04 22:11:27 +08:00
|
|
|
+ils-tablet() {
|
|
|
|
magic-container(1.01, 1.01, 20px);
|
|
|
|
margin-bottom: $component-interspace - 10px;
|
|
|
|
}
|
|
|
|
|
2020-04-24 22:49:10 +08:00
|
|
|
} else {
|
|
|
|
margin-bottom: 70px;
|
|
|
|
}
|
2020-04-01 12:09:06 +08:00
|
|
|
|
2020-04-24 22:49:10 +08:00
|
|
|
.home-article-title {
|
|
|
|
position: relative;
|
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-09-03 15:12:32 +08:00
|
|
|
line-height: 1.5em;
|
2020-06-04 22:11:27 +08:00
|
|
|
|
|
|
|
+ils-tablet() {
|
|
|
|
font-size: 1.3em;
|
|
|
|
}
|
|
|
|
|
|
|
|
+ils-mobile() {
|
|
|
|
font-size: 1.2em;
|
|
|
|
}
|
|
|
|
|
2020-04-01 16:41:30 +08:00
|
|
|
margin: 0;
|
|
|
|
|
2020-09-05 22:41:10 +08:00
|
|
|
if (hexo-config('magic.enable')) {
|
2020-09-09 16:30:18 +08:00
|
|
|
//TODO: ....
|
|
|
|
|
2020-04-24 22:49:10 +08:00
|
|
|
} else {
|
|
|
|
a {
|
|
|
|
color: var(--second-text-color);
|
|
|
|
}
|
2020-04-01 12:09:06 +08:00
|
|
|
}
|
2020-04-24 22:49:10 +08:00
|
|
|
|
2020-04-01 12:09:06 +08:00
|
|
|
}
|
|
|
|
|
2020-09-09 16:30:18 +08:00
|
|
|
|
2020-04-01 15:28:01 +08:00
|
|
|
.home-article-content {
|
2020-04-24 22:49:10 +08:00
|
|
|
|
|
|
|
text-align: justify;
|
|
|
|
|
|
|
|
if (hexo-config('magic.enable') == true) {
|
2020-09-09 16:30:18 +08:00
|
|
|
margin: 20px 0;
|
2020-04-24 22:49:10 +08:00
|
|
|
} else {
|
|
|
|
margin: 30px 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);
|
2020-04-01 16:41:30 +08:00
|
|
|
|
2020-04-26 18:34:51 +08:00
|
|
|
if (hexo-config('magic.enable') == true) {
|
|
|
|
font-size: 1em;
|
|
|
|
} else {
|
|
|
|
font-size: 0.9em;
|
|
|
|
}
|
|
|
|
|
2020-04-24 22:49:10 +08:00
|
|
|
.article-date {
|
2020-04-07 11:57:53 +08:00
|
|
|
letter-spacing: 0.5px;
|
2020-04-24 22:49:10 +08:00
|
|
|
|
|
|
|
span {
|
2020-04-26 18:34:51 +08:00
|
|
|
margin-right: 10px;
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
2020-04-24 22:49:10 +08:00
|
|
|
|
|
|
|
ul, li {
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
}
|
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-09-02 13:11:09 +08:00
|
|
|
}
|