/* 隐藏广告 */
#ad_t2,#cnblogs_c1,#under_post_news,#cnblogs_c2,#under_post_kb,#HistoryToday{
	display: none;
}
#footer{
    margin-top: 0px;
}

/* 评论框太小 bug 修复 */
#comment_form_container .comment_textarea {
	width: 450px;
}

/* 限制 markdown 代码块高度 */
.cnblogs-markdown code,.cnblogs-post-body code{
    padding:2px 4px!important;
    color:#d83b64;
    background-color:#f9f2f4!important;
    border-radius:3px!important;
    border:0!important;
    text-indent:0!important;
    position:relative;
    bottom:1px;
    max-height: 500px;
}

/* 引言格式 */
blockquote{
    line-height:20px;
    margin:0 0 24px 0;
    padding:1.3em;
    color:#313131;
    background-color:#f7f7f7;
    font-size:13px;
    border-left:4px solid #ddd;
    font-weight:400;
    border-top:0;
    border-right:0;
    border-bottom:0;
    min-height:0
}
blockquote p{
    margin:0!important;
    padding:0;
    text-indent:0!important
}

.postBody blockquote{
	background-image: none;
    background-color: #f7f7f7;
    min-height: auto;
}

/* 自定义标题颜色方便区分 */
#cnblogs_post_body h1{
    color: #3c70a4;
}
#cnblogs_post_body h2{
    color: #64b2cd;
}
#cnblogs_post_body h3{
    color: #347474;
}
#cnblogs_post_body h4{
    color: #42b883;
}
#cnblogs_post_body h5{
    color: #363863;
}
#cnblogs_post_body h6{
    color: #635270;
}

/* 标题前缀（让标题更显目） */
#cnblogs_post_body h1::before,
#cnblogs_post_body h2::before,
#cnblogs_post_body h3::before,
#cnblogs_post_body h4::before,
#cnblogs_post_body h5::before,
#cnblogs_post_body h6::before {
	content: "▋";
}

#cnblogs_post_body h1,
#cnblogs_post_body h2,
#cnblogs_post_body h3,
#cnblogs_post_body h4,
#cnblogs_post_body h5,
#cnblogs_post_body h6{
	background-color: #e3e7f1;
    /* 调试着看(color hunt 上找个差不多的灰色) */
}



/*
#cnblogs_post_body h1::before {
	content: "Ⅰ ";
}
#cnblogs_post_body h2::before {
	content: "Ⅱ ";
}
#cnblogs_post_body h3::before {
	content: "Ⅲ ";
}
#cnblogs_post_body h4::before {
	content: "Ⅳ ";
}
#cnblogs_post_body h5::before {
	content: "Ⅴ ";
}
#cnblogs_post_body h6::before {
	content: "Ⅵ ";
}
*/


/* 整篇博客字体调整 */
body {
	font-family: -apple-system,SF UI Text,Arial,PingFang SC,Hiragino Sans GB,Microsoft YaHei,WenQuanYi Micro Hei,sans-serif;
}

/* 博客目录样式 */
#cnblogs_post_body ul {
	margin-top: 5px;
	padding-left: 0;
}

.postBody li, .postCon li {
	margin-bottom: .5em;
}

#cnblogs_post_body a:link {
	color: #2daebf;
	text-decoration: none;
}


/* 侧边栏标题前缀 */
#sideBar h1::before,
#sideBar h2::before,
#sideBar h3::before,
#sideBar h4::before,
#sideBar h5::before,
#sideBar h6::before{
	content: "▋";
}

/* 自定义标题颜色方便区分 */
#sideBar h1{
    color: #3c70a4;
}
#sideBar h2{
    color: #64b2cd;
}
#sideBar h3{
    color: #347474;
}
#sideBar h4{
    color: #42b883;
}
#sideBar h5{
    color: #363863;
}
#sideBar h6{
    color: #635270;
}


pre {
    padding-top: 1px;
    border: 1px dashed rgb(170, 170, 170);
    border-left: 2px solid #42b883;
}

/* 给有序无序列表添加颜色 */
#cnblogs_post_body li{
	color: #053f5e;
}



/* 直接拷贝复用之前的样式 -- 让折叠代码更美观 */
span.cnblogs_code {
	border: 0;
	padding: 2px 4px;
	color: #d83b64;
	background-color: #f9f2f4;
	border-radius: 3px
}

.cnblogs_code {
	line-height: 20px;
	margin: 0 auto;
	width: 94%;
	font-size: 14px!important;
	padding: 1.3em;
	background-color: #f9f9f9;
	position: relative;
	overflow: hidden;
	border: 0;
	font-family: "Source Code Pro", Consolas, Menlo, Monaco, "Courier New", monospace!important;
	font-weight: 400;
	margin-bottom: 10px;
	box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.1)
}

.cnblogs_code pre {
	font-size: 14px!important;
	word-wrap: break-word;
	white-space: pre-wrap;
	font-family: "Source Code Pro", Consolas, Menlo, Monaco, "Courier New", monospace!important;
	font-weight: 400;
	background-color: #f9f9f9
}

.cnblogs_code span {
	font-family: "Source Code Pro", Consolas, Menlo, Monaco, "Courier New", monospace!important;
	font-size: 14px!important;
	font-weight: 400;
	background-color: #f9f9f9
}

.cnblogs_code div {
	background-color: #f9f9f9
}

.cnblogs_code_collapse {
	border: 0;
	background-color: #f9f9f9;
	cursor: pointer;
	color: #555;
	top: 1px;
	font-weight: bold;
	position: relative;
	font-family: Merriweather, "Open Sans", "Microsoft Jhenghei", "Microsoft Yahei", sans-serif!important;
	display: inline
}

.cnblogs_code_toolbar {
	height: 0
}

.cnblogs_code_copy img {
	display: none
}

.cnblogs_code_copy a {
	background: url(https://files.cnblogs.com/files/icaihua/copy_16px.gif) top left;
	background-repeat: no-repeat;
	display: inline-block;
	padding: 0;
	margin: 0;
	width: 16px;
	height: 16px;
	position: absolute;
	right: 19px;
	top: 19px;
	opacity: .3
}

.code_img_closed,
.code_img_opened {
	cursor: pointer
}

.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 {
	background-color: transparent!important;
	border: none!important
}



/* 清除 markdown样式 对折叠代码块的影响 */
.cnblogs_code_hide pre span{
	background-color: inherit!important;;
	/*background-color: #f9f9f9;*/	
}

.cnblogs_code_hide pre{
	border: none;
}