87 lines
1.6 KiB
Stylus
87 lines
1.6 KiB
Stylus
// 文章内链接文本样式
|
|
.post-body p a{
|
|
color: #0593d3; //原始链接颜色
|
|
border-bottom: none;
|
|
border-bottom: 1px solid #0593d3; //底部分割线颜色
|
|
&:hover {
|
|
color: #fc6423; //鼠标经过颜色
|
|
border-bottom: none;
|
|
border-bottom: 1px solid #fc6423; //底部分割线颜色
|
|
}
|
|
}
|
|
|
|
|
|
.post-body {
|
|
font-family: $font-family-posts;
|
|
word-wrap();
|
|
|
|
+desktop-large() {
|
|
font-size: $font-size-large;
|
|
}
|
|
|
|
.exturl .fa {
|
|
font-size: $font-size-small;
|
|
margin-left: 4px;
|
|
}
|
|
|
|
.image-caption, .figure .caption {
|
|
color: $grey-dark;
|
|
font-size: $font-size-small;
|
|
font-weight: bold;
|
|
line-height: 1;
|
|
margin: -20px auto 15px;
|
|
text-align: center;
|
|
}
|
|
}
|
|
|
|
.post-sticky-flag {
|
|
display: inline-block;
|
|
transform: rotate(30deg);
|
|
}
|
|
|
|
.post-button {
|
|
margin-top: 40px;
|
|
text-align: center;
|
|
}
|
|
|
|
.use-motion {
|
|
if (hexo-config('motion.transition.post_block')) {
|
|
.post-block, .pagination, .comments {
|
|
opacity: 0;
|
|
}
|
|
}
|
|
|
|
if (hexo-config('motion.transition.post_header')) {
|
|
.post-header {
|
|
opacity: 0;
|
|
}
|
|
}
|
|
|
|
if (hexo-config('motion.transition.post_body')) {
|
|
.post-body {
|
|
opacity: 0;
|
|
}
|
|
}
|
|
|
|
if (hexo-config('motion.transition.coll_header')) {
|
|
.collection-header {
|
|
opacity: 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
@import 'post-collapse';
|
|
@import 'post-eof';
|
|
@import 'post-expand';
|
|
@import 'post-gallery';
|
|
@import 'post-header';
|
|
@import 'post-nav';
|
|
@import 'post-rtl';
|
|
@import 'post-tags';
|
|
@import 'post-widgets';
|
|
@import 'post-reward';
|
|
|
|
@import 'post-copyright' if (hexo-config('creative_commons.post'));
|
|
|
|
@import 'post-followme' if (hexo-config('follow_me'));
|