61 lines
1.7 KiB
Stylus
61 lines
1.7 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";
|