2020-04-01 12:09:06 +08:00
|
|
|
@require 'common/variables.styl'
|
2020-04-28 23:20:17 +08:00
|
|
|
@require 'common/magic-theme.styl'
|
2020-03-21 23:04:01 +08:00
|
|
|
|
2020-10-27 18:11:10 +08:00
|
|
|
$avatarWidth = 46px;
|
|
|
|
|
2020-04-01 12:09:06 +08:00
|
|
|
.article-content-container {
|
2020-03-18 23:14:09 +08:00
|
|
|
|
2020-11-13 14:43:22 +08:00
|
|
|
ils-container(1.008, 1.002, 30px);
|
2020-04-24 22:49:10 +08:00
|
|
|
|
2020-03-19 22:12:09 +08:00
|
|
|
.article-title {
|
2020-10-27 18:11:10 +08:00
|
|
|
color: var(--second-text-color);
|
|
|
|
font-weight: 600;
|
|
|
|
font-size: 1.8em;
|
2020-03-14 16:17:04 +08:00
|
|
|
|
2020-10-27 18:11:10 +08:00
|
|
|
+ils-tablet() {
|
|
|
|
font-size: 1.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
+ils-mobile() {
|
|
|
|
font-size: 1.2em;
|
|
|
|
}
|
|
|
|
}
|
2020-06-04 22:11:27 +08:00
|
|
|
|
2020-11-13 14:43:22 +08:00
|
|
|
|
2020-10-27 18:11:10 +08:00
|
|
|
.article-header {
|
|
|
|
position: relative;
|
|
|
|
padding-left: $avatarWidth;
|
|
|
|
width: 100%;
|
|
|
|
height: $avatarWidth;
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
|
|
|
.avatar {
|
|
|
|
position: absolute;
|
|
|
|
top: 0
|
|
|
|
left: 0;
|
|
|
|
width: $avatarWidth;
|
|
|
|
height: $avatarWidth;
|
|
|
|
padding: 1px;
|
|
|
|
box-sizing: border-box;
|
|
|
|
border: 1px solid var(--border-color);
|
|
|
|
border-radius: 50%;
|
|
|
|
|
|
|
|
img {
|
|
|
|
border-radius: 50%;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2020-06-04 22:11:27 +08:00
|
|
|
}
|
|
|
|
|
2020-03-18 23:14:09 +08:00
|
|
|
}
|
2020-03-14 16:17:04 +08:00
|
|
|
|
2020-10-27 18:11:10 +08:00
|
|
|
|
|
|
|
.info {
|
|
|
|
padding: 2px 0;
|
|
|
|
margin-left: 10px;
|
|
|
|
box-sizing: border-box;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: space-between;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
|
|
|
|
.author {
|
|
|
|
font-weight: 600;
|
|
|
|
font-size: 1.18em;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
.level {
|
|
|
|
margin-left: 10px;
|
|
|
|
color: #fff;
|
|
|
|
font-size: 12px;
|
|
|
|
font-weight: 500;
|
|
|
|
background: var(--selection-color);
|
|
|
|
padding: 0 4px;
|
|
|
|
border-radius: 5px;
|
|
|
|
}
|
|
|
|
}
|
2020-03-14 16:17:04 +08:00
|
|
|
}
|
|
|
|
|
2020-03-15 15:45:38 +08:00
|
|
|
}
|
|
|
|
|
2020-03-14 16:17:04 +08:00
|
|
|
|
2020-11-13 14:43:22 +08:00
|
|
|
.article-header, .article-header-meta-info {
|
2020-10-28 22:25:26 +08:00
|
|
|
margin-top: 16px;
|
|
|
|
+ils-tablet() {
|
|
|
|
transform: scale(0.88);
|
|
|
|
transform-origin: left top;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-11-13 14:43:22 +08:00
|
|
|
|
2020-03-19 22:12:09 +08:00
|
|
|
.article-content {
|
2020-10-27 18:11:10 +08:00
|
|
|
margin-top: 30px;
|
2020-04-24 22:49:10 +08:00
|
|
|
text-align: justify;
|
2020-04-07 11:57:53 +08:00
|
|
|
padding-bottom: 30px;
|
2020-09-05 22:41:10 +08:00
|
|
|
border-bottom: 1px solid var(--border-color);
|
2020-03-19 14:51:48 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2020-03-19 22:12:09 +08:00
|
|
|
.article-nav {
|
2020-06-06 18:16:50 +08:00
|
|
|
height: 40px;
|
|
|
|
margin: 40px 0;
|
2020-03-19 18:11:13 +08:00
|
|
|
|
2020-03-19 22:12:09 +08:00
|
|
|
.article-prev {
|
2020-06-06 18:16:50 +08:00
|
|
|
float: left;
|
2020-03-19 18:11:13 +08:00
|
|
|
}
|
|
|
|
|
2020-03-19 22:12:09 +08:00
|
|
|
.article-next {
|
2020-06-06 18:16:50 +08:00
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
.post-nav-item {
|
|
|
|
display: none;
|
|
|
|
|
|
|
|
+ils-tablet() {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.post-nav-title-item {
|
|
|
|
|
|
|
|
+ils-tablet() {
|
|
|
|
display: none;
|
|
|
|
}
|
2020-03-19 18:11:13 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|
2020-04-28 23:20:17 +08:00
|
|
|
}
|
|
|
|
|