[wordpress]修改syntax-highlighter的样式

在wordpress中装上 之后如果发现代码样式不满意,可以修改插件css设定。具体位置在/wp-content/plugins/google-syntax-highlighter/Styles/SyntaxHighlighter.css 。或者在wordpress后台找到插件的编编辑器,找到的SyntaxHighlighter.css文件。修改.dp-highlighter即可。

.dp-highlighter
{
	font-family: "Consolas", "Courier New", Courier, mono;
	font-size: 17px;
	background-color: #E7E5DC;
	width: 99%;
	overflow: auto;
	margin: 18px 0px 18px 0px;
	padding-top: 1px; /* adds a little border on top when controls are hidden */
}

相关文章:

右舷

↑ Grab this Headline Animator

Did you enjoy this post? Why not leave a comment below and continue the conversation, or subscribe to my feed and get articles like this delivered automatically to your feed reader.

Comments

No comments yet.

Leave a comment

(required)

(required)