Styling the Syntax Highlighter

I am using the Syntax Highlighter Evolved by Alex Gorbatchev and for those of you who are curious, this is how I styled the code block.

I have added a border and change the font size to 16px so that it could better fit into the post.

.syntaxhighlighter {
	background-color: white !important;
	border: 1px solid #DADAD9 !important;
	margin-bottom: 20px !important;
}

body .syntaxhighlighter .code {
	font-size: 16px !important;
}

body .syntaxhighlighter .gutter {
	font-size: 16px !important;
}

Leave a comment

Leave a Reply