/*博客代码字体设置开始*/
.cnblogs-markdown pre,#cnblogs_post_body pre{
/*控制代码不换行*/
white-space: pre;
word-wrap: normal;
}

#cnblogs_post_body .hljs
{
/*设置字体*/
font-size:14px !important;
font-family:"Consolas", "Courier New", "monospace" !important;
}

pre code.hljs {
    display: block !important; 
    overflow-x: auto !important;
    padding: 1em !important
}

code.hljs {
    padding: 3px 5px !important
}

.hljs {
    background: #fff !important;
    color: #000 !important
}

.xml .hljs-meta {
    color: silver !important
}

.hljs-comment,
.hljs-quote {
    color: #007400 !important
}

.hljs-attribute,
.hljs-keyword,
.hljs-literal,
.hljs-name,
.hljs-selector-tag,
.hljs-tag {
    color: #aa0d91 !important
}

.hljs-template-variable,
.hljs-variable {
    color: #3f6e74 !important
}

.hljs-code,
.hljs-meta .hljs-string,
.hljs-string {
    color: #c41a16 !important
}

.hljs-link,
.hljs-regexp {
    color: #0e0eff !important
}

.hljs-bullet,
.hljs-number,
.hljs-symbol,
.hljs-title {
    color: #1c00cf !important
}

.hljs-meta,
.hljs-section {
    color: #643820 !important
}

.hljs-built_in,
.hljs-class .hljs-title,
.hljs-params,
.hljs-title.class_,
.hljs-type {
    color: #5c2699 !important
}

.hljs-attr {
    color: #836c28 !important
}

.hljs-subst {
    color: #000 !important
}

.hljs-formula {
    background-color: #eee !important;
    font-style: italic
}

.hljs-addition {
    background-color: #baeeba !important
}

.hljs-deletion {
    background-color: #ffc8bd !important
}

.hljs-selector-class,
.hljs-selector-id {
    color: #9b703f !important
}

.hljs-doctag,
.hljs-strong {
    font-weight: 700
}

.hljs-emphasis {
    font-style: italic !important
}

/*更换背景*/
.cnblogs_code_toolbar a:hover, 
.cnblogs_code_toolbar a:link,
.cnblogs_code_toolbar a:visited,
.cnblogs_code_toolbar a:active,
.cnblogs_code_toolbar a:link img,
.cnblogs_code_toolbar a:visited img,
.cnblogs_code_toolbar,
.cnblogs_code,
.cnblogs-markdown pre code { 
    background-color: #eee !important;
    color: #000!important;
 }