Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在pisces中如何把文章间的距离改小呢? #591

Closed
Yaccc opened this issue Jan 10, 2016 · 4 comments
Closed

在pisces中如何把文章间的距离改小呢? #591

Yaccc opened this issue Jan 10, 2016 · 4 comments

Comments

@Yaccc
Copy link

Yaccc commented Jan 10, 2016

b2fb45a5-dfdb-46ae-97b9-9eaddedb6fb2

如上图所示,文章件距离太大了,是否有参数配置能改小?或者改哪个css能起作用呢?

@amoyiki
Copy link

amoyiki commented Jan 18, 2016

更改 主题路径下\source\css_common_component\posts-expand.styl 中

.posts-expand {
  .post-eof {
    display: block;
    //文章间距
    margin: 60px auto 50px;
    width: 8%;
    height: 1px;
    background: $grey-light;
    text-align: center;
  }
}

@Yaccc
Copy link
Author

Yaccc commented Jan 18, 2016

@amoyiki 非常感谢,那么文章头部的距离能否改小呢?

@ivan-nginx
Copy link
Collaborator

@Yaccc dont understand u, write in English if not solved. If solved, close it please.

@Eminem-x
Copy link

更改 主题路径下\source\css_common_component\posts-expand.styl 中

.posts-expand {
  .post-eof {
    display: block;
    //文章间距
    margin: 60px auto 50px;
    width: 8%;
    height: 1px;
    background: $grey-light;
    text-align: center;
  }
}

若版本不一致,可以在路径下 themes\next\source\css\_common\components\post\post-expand.styl 文件中,
直接添加原回答的代码,然后根据需要调节间距即可。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants