问题
I'm playing with Jekyll, and have been able to change the background colour for my site. However, no matter which background or background-color properties I change in _syntax-highlighting.scss
, I still get the same light grey background (even if I restart the jekyll server).
None of the css/sass default files seem obvious to me for this, either.
回答1:
_sass/base.scss
and change pre, code
rule :
pre,
code {
...
background-color: #eef;
}
来源:https://stackoverflow.com/questions/34422103/how-do-i-change-the-background-color-for-code-block-in-jekyll