Closed rushingFiend closed 8 years ago
主题自定义了无序列表的样式,兼容性不是很好。你可以修改成像 GitHub 显示的小圆圈。
https://github.com/MOxFIVE/hexo-theme-yelee/blob/master/source/css/_partial/article.styl#L163
ul{
li:before{
display inline-block;
content: "";
width: .4em;
height: .4em;
margin-right: .5em;
margin-bottom: .11em;
border: 1px solid lightgray;
border-radius: 50%;
background: lightgray;
}
}
删掉上面代码,用下面的替换
ul li {
list-style-type: circle;
margin-left: 1.2em;
}
贴图: 直接把图片托到评论框
按你说的处理了之后还是有问题。。是不是跟有序列表的兼容性也有关?
我的疏漏,下面的样式也要改一下,ul
去掉:
https://github.com/MOxFIVE/hexo-theme-yelee/blob/master/source/css/_partial/article.styl#L180
li{
- ul,ol{
+ ol {
margin-left: 30px;
li:before{
content: "";
background: #dedede;
}
}
}
嗯嗯,可以了,谢谢!!
当输入以下 markdown 时
test
test
test
出来的效果有问题,话说要怎么在这里贴图片来着。。。。