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

文章中的catalog怎样实现多级菜单 #116

Closed
bianergege opened this issue Oct 10, 2016 · 4 comments
Closed

文章中的catalog怎样实现多级菜单 #116

bianergege opened this issue Oct 10, 2016 · 4 comments
Labels

Comments

@bianergege
Copy link

bianergege commented Oct 10, 2016

文章侧边栏的catalog中,h1、h2、h3是同样大小同样缩进,h4,h5,h6也是同样大小同样缩进。但是我的文章比较长,能不能实现每种目录都不同的多级菜单呢。ok,在#24 看到了大家的讨论,不知道现在可以实现了吗

@bianergege
Copy link
Author

ok,已找到解决办法,在blog.min.css中修改即可

@wudashan
Copy link

wudashan commented Jun 3, 2017

@bianergege 你好,想请问一下你具体是怎么解决的?

@bianergege
Copy link
Author

@wudashan
在 blog.min.css 中,有这样一段代码

.side-catalog .catalog-body .h1_nav,
.side-catalog .catalog-body .h2_nav,
.side-catalog .catalog-body .h3_nav {
  margin-left: 0;
  font-size: 13px;
  font-weight: bold;
}
.side-catalog .catalog-body .h4_nav,
.side-catalog .catalog-body .h5_nav,
.side-catalog .catalog-body .h6_nav {
  margin-left: 10px;
  font-size: 12px;
}

是用来控制菜单字体和缩进的,按需修改即可

@wudashan
Copy link

wudashan commented Jun 7, 2017

@bianergege 成功了,感谢!

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

No branches or pull requests

3 participants