Hexo-theme-next: 如何修改NexT主题Markdown分割线渲染效果?

Created on 12 Jun 2016  ·  3Comments  ·  Source: iissnan/hexo-theme-next

个人感觉NexT主题Markdown分割线渲染结果不是很好看,想请教一下,如何修改Markdown渲染方式?

Most helpful comment

hr的样式么?搜一下styl文件就知道了。

\source\css\_common\scaffolding\base.styl
在Line71处。

hr {
  margin: 40px 0;
  height: 3px;
  border: none;
  background-color: $gray-lighter;
  background-image: repeating-linear-gradient(
    -45deg,
    white,
    white 4px,
    transparent 4px,
    transparent 8px
  );
}

部分样式可能在其他文件中有覆盖:
\source\css\_schemes\Mist\_base.styl
在Line9处。

hr {
  margin: 20px 0;
  height: 2px;
}

All 3 comments

hr的样式么?搜一下styl文件就知道了。

\source\css\_common\scaffolding\base.styl
在Line71处。

hr {
  margin: 40px 0;
  height: 3px;
  border: none;
  background-color: $gray-lighter;
  background-image: repeating-linear-gradient(
    -45deg,
    white,
    white 4px,
    transparent 4px,
    transparent 8px
  );
}

部分样式可能在其他文件中有覆盖:
\source\css\_schemes\Mist\_base.styl
在Line9处。

hr {
  margin: 20px 0;
  height: 2px;
}

谢谢,通过修改这个文件\source\css\_common\scaffolding\base.sty,分割线改成我想要的样式了。
注释掉了这一段:

background-image: repeating-linear-gradient(
    -45deg,
    white,
    white 4px,
    transparent 4px,
    transparent 8px
  );

@jwwangchn dont understand u, write in English if not solved. If solved, close it please. Thank's!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

chy9002 picture chy9002  ·  3Comments

LionWY picture LionWY  ·  3Comments

ifyour picture ifyour  ·  4Comments

Nirvanada picture Nirvanada  ·  4Comments

bingstyle picture bingstyle  ·  3Comments