body {
    url(images/body_bg.png) repeat-x scroll 0 0 #D2D8DE;   
}
/* 普通文字样式 */
#cnblogs_post_body p {
    margin: 18px auto;
    color: #000;
    font-family: Consolas, "Microsoft YaHei", monospace;
    font-size: 16px;
    text-indent: 0;
}

/* 标题样式 */
#cnblogs_post_body h1 {
    font-family: Consolas, "Microsoft YaHei", monospace;
    font-size: 32px;
    font-weight: bold;
    line-height: 1.5;
    margin: 10px 0;
}

#cnblogs_post_body h2 {
    font-family: Consolas, "Microsoft YaHei", monospace;
    font-size: 26px;
    font-weight: bold;
    line-height: 1.5;
    margin: 20px 0;
}

#cnblogs_post_body h3 {
    font-family: Consolas, "Microsoft YaHei", monospace;
    font-size: 20px;
    font-weight: bold;
    line-height: 1.5;
    margin: 10px 0;
}

#cnblogs_post_body h4 {
    font-family: Consolas, "Microsoft YaHei", monospace;
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0;
     padding: 2px 10px;
    border-left: 5px solid #169fe6;
}
/* 标题样式设置结束 */

/* 去除双下划线斜体样式 */
em {
    font-style: normal;
    color: #000;
}

/* 无序列表 */
#cnblogs_post_body ul li {
    font-family: Consolas, "Microsoft YaHei", monospace;
    color: #000;
    font-size: 16px;
    list-style-type: disc;
}

/* 有序列表 */
#cnblogs_post_body ol li {
    font-family: Consolas, "Microsoft YaHei", monospace;
    color: #000;
    font-size: 16px;
    list-style-type: decimal;
}

/* 超链接 */
#cnblogs_post_body a:link {
    text-decoration: none;
    color: #002C99;
}

/* 引用背景 */
#topics .postBody blockquote {
    background: #fff3d4;
    border: none;
    border-left: 5px solid #f6b73c;
    margin: 0;
    padding-left: 10px;
}

/* 单行代码 */
.cnblogs-markdown code {
    font-family: Consolas, "Microsoft YaHei", monospace !important;
    font-size: 16px!important;
    line-height: 20px;
    background-color: #f5f5f5!important;
    border: 1px solid #ccc!important;
    padding: 0 5px!important;
    border-radius: 3px!important;
    line-height: 1.8;
    margin: 1px 5px;
    vertical-align: middle;
    display: inline-block;
}

/* 多行代码, 引用 */
.cnblogs-markdown .hljs {
    font-family: Consolas, "Microsoft YaHei", monospace !important;
    font-size: 16px!important;
    line-height: 1.5!important;
    padding: 10px 15px !important;
}

/*文章标题*/
#topics .postTitle {
    font-size: 130%;
    font-weight: bold;
    border-bottom: 1px solid #999;
    float: left;
    line-height: 2em;
    width: 100%;
    padding-left: 5px;
}

/*改变页面布局*/
#main {
	width: 100%;
	padding: 20px 0 0 10px;
        margin-top: 0;
}
#mainContent {
	background: none;
    float: right;
    overflow: visible;
    text-overflow: ellipsis;
    width: calc(100% - 280px);
    word-break: break-all;
    margin-right: 20px;
}
#sideBar {
    width: 230px;
    margin-left: 0;
    padding: 0px 0 0px 5px;
}
.newsItem .catListTitle {
	display: none;
}
#profile_block {
	padding: 10px;
	border: none;
       color:#333;
      background: none;
}
#profile_block:hover {
    border:none;
}
#profile_block a {color: #333;}
.newsItem, #blog-calendar {
   margin-bottom: 15px;
    text-indent: 0;
    padding: 10px;
    background: #FAFCFD;
    border-radius: 7px;
    box-shadow: 1px 1px 2px #A7A8AD;
    line-height: 1.5;
}
#blog-news {
	margin-bottom: 0;
}
div#topics, .newsItem, #blog-calendar, .catListEssay, .catListLink, .catListNoteBook, .catListTag, .catListPostCategory, .catListPostArchive, .catListImageCategory, .catListArticleArchive, .catListView, .catListFeedback, .mySearch, .catListComment, .catListBlogRank, .catList, .catListArticleCategory {
    border-radius: 0px; }
#widget_my_zzk {
	padding: 10px 0 10px 15px;
}
.input_my_zzk {
	width: 100px;
	height: 20px;
}
input.btn_my_zzk {
	height: 22px; 
	line-height: 22px;
}
.sidebar-block ul li {
	padding: 10px;
}
.sidebar-block ul li a {
	font-size: 13px;
	color: #333;
}
.sidebar-block h3 {
	font-size: 16px;
	padding: 5px 10px;
}

/* 文章标题样式 */
#topics .postTitle {font-size: 22px;}

/*
 代码高亮开始，使用了一个叫Monokai Sublime的黑色主题皮肤，直接拿过来还不行，有一些样式冲突，还要自己稍微改一些地方
Monokai Sublime style. Derived from Monokai by noformnocontent https://nn.mit-license.org/
*/
pre {
/*控制代码不换行*/
    white-space: pre;
    word-wrap: normal;
}
.cnblogs-markdown .hljs {
    display: block;
    overflow-x: auto;
    padding: 0.5em;
    background: #23241f !important;
    color: #FFF;
    white-space: pre;
    word-break: normal;
}

.hljs,
.hljs-tag,
.hljs-subst {
  color: #f8f8f2;
}

.hljs-strong,
.hljs-emphasis {
  color: #a8a8a2;
}

.hljs-bullet,
.hljs-quote,
.hljs-number,
.hljs-regexp,
.hljs-literal,
.hljs-link {
  color: #ae81ff;
}

.hljs-code,
.hljs-title,
.hljs-section,
.hljs-selector-class {
  color: #a6e22e;
}

.hljs-strong {
  font-weight: bold;
}

.hljs-emphasis {
  font-style: italic;
}

.hljs-keyword,
.hljs-selector-tag,
.hljs-name,
.hljs-attr {
  color: #f92672;
}

.hljs-symbol,
.hljs-attribute {
  color: #66d9ef;
}

.hljs-params,
.hljs-class .hljs-title {
  color: #f8f8f2;
}

.hljs-string,
.hljs-type,
.hljs-built_in,
.hljs-builtin-name,
.hljs-selector-id,
.hljs-selector-attr,
.hljs-selector-pseudo,
.hljs-addition,
.hljs-variable,
.hljs-template-variable {
  color: #e6db74;
}

.hljs-comment,
.hljs-deletion,
.hljs-meta {
  color: #75715e;
}

/*黑色主题皮肤结束*/