mirror of
https://github.com/next-theme/hexo-theme-next.git
synced 2026-01-17 18:22:33 +00:00
66 lines
1.1 KiB
Stylus
66 lines
1.1 KiB
Stylus
.rtl {
|
|
&.post-body {
|
|
p, a, h1, h2, h3, h4, h5, h6, li, ul, ol {
|
|
direction: rtl;
|
|
font-family: UKIJ Ekran;
|
|
}
|
|
}
|
|
|
|
&.post-title {
|
|
font-family: UKIJ Ekran;
|
|
}
|
|
}
|
|
|
|
.post-button {
|
|
margin-top: 40px;
|
|
text-align: center;
|
|
}
|
|
|
|
.post-eof {
|
|
background: $grey-light;
|
|
height: 1px;
|
|
margin: $post-eof-margin-top auto $post-eof-margin-bottom;
|
|
width: 8%;
|
|
|
|
.post-block:last-of-type & {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.use-motion {
|
|
if (hexo-config('motion.transition.post_block')) {
|
|
.post-block, .pagination, .comments {
|
|
visibility: hidden;
|
|
}
|
|
}
|
|
|
|
if (hexo-config('motion.transition.post_header')) {
|
|
.post-header {
|
|
visibility: hidden;
|
|
}
|
|
}
|
|
|
|
if (hexo-config('motion.transition.post_body')) {
|
|
.post-body {
|
|
visibility: hidden;
|
|
}
|
|
}
|
|
|
|
if (hexo-config('motion.transition.coll_header')) {
|
|
.collection-header {
|
|
visibility: hidden;
|
|
}
|
|
}
|
|
}
|
|
|
|
@import 'post-collapse';
|
|
@import 'post-body';
|
|
@import 'post-gallery';
|
|
@import 'post-header';
|
|
@import 'post-nav';
|
|
@import 'post-tags';
|
|
@import 'post-widgets';
|
|
@import 'post-reward';
|
|
|
|
@import 'post-followme' if (hexo-config('follow_me'));
|