diff --git a/source/css/_common/components/comments.styl b/source/css/_common/components/comments.styl new file mode 100644 index 0000000000..bf3edb945c --- /dev/null +++ b/source/css/_common/components/comments.styl @@ -0,0 +1 @@ +.comments { margin: 60px 20px 0; } diff --git a/source/css/_common/components/pages/post-detail.styl b/source/css/_common/components/pages/post-detail.styl new file mode 100644 index 0000000000..3f26afdb29 --- /dev/null +++ b/source/css/_common/components/pages/post-detail.styl @@ -0,0 +1,6 @@ +.page-post-detail { + + .sidebar-toggle-line { background: $sidebar-highlight; } + + .comments { overflow: hidden; } +} diff --git a/source/css/_common/components/post/post.styl b/source/css/_common/components/post/post.styl index a33b60b830..f697db956d 100644 --- a/source/css/_common/components/post/post.styl +++ b/source/css/_common/components/post/post.styl @@ -34,11 +34,6 @@ transform: rotate(30deg); } -.comments { - margin: 60px 20px 0; - overflow: hidden; -} - .use-motion { if hexo-config('motion.transition.post_block') { .post-block,