Hexo修改highlight代码样式

如修改code样式

1
themes/hiker/source/css/_partial/highlight.styl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
.article-entry
pre, code
font-family: font-mono
code
background: rgba(208,211,248,0.2)
//color: color-default
color: #E96900
padding: 0 0.3em
pre
@extend $code-block
code
background: none
text-shadow: none
padding: 0

Powered by AppBlog.CN     浙ICP备14037229号

Copyright © 2012 - 2020 APP开发技术博客 All Rights Reserved.

访客数 : | 访问量 :