mirror of
https://github.com/WarlockFish/WarlockFish.github.io.git
synced 2026-02-12 14:45:14 +08:00
75 lines
1.9 KiB
Stylus
75 lines
1.9 KiB
Stylus
.post-body {
|
|
font-family: $font-family-posts;
|
|
+mobile() {
|
|
word-break: break-word;
|
|
}
|
|
}
|
|
|
|
.post-body .fancybox img {
|
|
display: block !important;
|
|
margin: 0 auto;
|
|
cursor: pointer;
|
|
cursor: zoom-in;
|
|
cursor: -webkit-zoom-in;
|
|
}
|
|
|
|
.post-body .image-caption {
|
|
margin: -20px auto 15px;
|
|
text-align: center;
|
|
font-size: $font-size-base;
|
|
color: $grey-dark;
|
|
font-weight: bold;
|
|
line-height: 1;
|
|
}
|
|
|
|
.post-body .figure .caption {
|
|
@extend .post-body .image-caption;
|
|
}
|
|
|
|
.post-sticky-flag {
|
|
display: inline-block;
|
|
font-size: 16px;
|
|
-ms-transform: rotate(30deg);
|
|
transform: rotate(30deg);
|
|
}
|
|
|
|
.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-title { opacity: 0; } }
|
|
}
|
|
|
|
@import "post-expand";
|
|
@import "post-collapse";
|
|
@import "post-type";
|
|
@import "post-title";
|
|
@import "post-meta";
|
|
@import "post-button";
|
|
@import "post-tags";
|
|
@import "post-nav";
|
|
@import "post-eof";
|
|
@import "post-gallery";
|
|
@import "post-reward" if hexo-config('alipay') or hexo-config('wechatpay') or hexo-config('bitcoin');
|
|
@import "post-copyright" if hexo-config('post_copyright.enable');
|
|
@import "post-widgets" if (hexo-config('facebook_sdk.enable') and hexo-config('facebook_sdk.like_button')) or (hexo-config('vkontakte_api.enable') and hexo-config('vkontakte_api.like')) or hexo-config('rating.enable') or (hexo-config('needmoreshare2.enable') and hexo-config('needmoreshare2.postbottom.enable'));
|
|
@import "post-rtl";
|
|
|
|
// 文章内链接文本样式
|
|
.post-body p a{
|
|
color: #0593d3;
|
|
border-bottom: none;
|
|
border-bottom: 1px solid #0593d3;
|
|
&:hover {
|
|
color: #f41111;
|
|
border-bottom: none;
|
|
border-bottom: 1px solid #f41111;
|
|
}
|
|
}
|
|
|
|
@import "my-post-copyright"
|