/*隐藏新闻广告
=============================================================================*/

.c_ad_block {
display: none;
}
#ad_t2 {
    display: none;
}

/* HEADERS
=============================================================================*/

#cnblogs_post_body h1, h2, h3, h4, h5, h6 {
  font-family: Microsoft YaHei UI;
  margin: 20px 0 10px;
  padding: 0;
  font-weight: bold;
  -webkit-font-smoothing: antialiased;
}

/*文章一级标题样式*/
#cnblogs_post_body h1 {
    border-top:2.2500pt solid windowtext;
    font-size: 1.6rem;
    color: #fff;
    background-color: #069;
    -moz-border-radius: 3px;
    border-radius: 3px;
    text-shadow: 1px 1px 1px #666,3px 3px 8px black;
    font-family:serif
}
/*文章二级级标题样式*/
#cnblogs_post_body h2 {
   font-size: 1.4rem;
   color: #000;
   text-shadow: 1px 1px 1px #666,3px 3px 8px #FF0000;
   font-family: bold
}

#cnblogs_post_body h3 { font-size: 1.2rem;
                        border-bottom: 1px solid #ddd;}
#cnblogs_post_body h4 { font-size: 1.1rem;}
#cnblogs_post_body h5 { font-size: 1.0rem;}
#cnblogs_post_body h6 { font-size: 0.9rem;}

/* TABLES
=============================================================================*/

#cnblogs_post_body table {  
  border-collapse:collapse;
  border-spacing:0;
  margin-top: 0.8rem;
  margin-bottom: 1.4rem;
}
#cnblogs_post_body table, td, th {
    border: 1px solid black;
}

#cnblogs_post_body th,td {
  padding: 5px 14px;
  border: 1px solid #000;
}
/*表格标题栏*/
#cnblogs_post_body th {
  text-align: center;
  font-weight: bold;
  background-color: #373737;
  color: #32fb11;
}
/*单元格*/
#cnblogs_post_body td {
  text-align: left;
  background-color: #f2f2f2;
  border-top: 1px solid #ccc;
}

/* IMAGES
=============================================================================*/

#cnblogs_post_body img {
  align="center";
  max-width: 100%；
  -webkit-border-radius:0.3em;
  -moz-border-radius:0.3em;
  -ms-border-radius:0.3em;
  -o-border-radius:0.3em;border-radius:0.3em;
  -webkit-box-shadow:rgba(0,0,0,0.15) 0 1px 4px;
  -moz-box-shadow:rgba(0,0,0,0.15) 0 1px 4px;
  -webkit-box-sizing:border-box;
  -moz-box-sizing:border-box;
  box-sizing:border-box;
}

/* HORIZONTAL RULES 分割线
=============================================================================*/
#cnblogs_post_body hr {
  width:100%;
  margin: 0 auto;
  height: 0px;
  overflow: hidden;
  border: none;
  background: transparent;
  border-bottom: 1px solid #ddd;
}

/* QUOTES 引用
=============================================================================*/

#cnblogs_post_body blockquote{
  -webkit-border-radius:0.4em;
  -moz-border-radius:0.4em;
  -ms-border-radius:0.4em;
  -o-border-radius:0.4em;
  font-style:normal;
  font-size:14px;
  color:#7CFC00;
  line-height:1.5em;padding-left:1em; 
  border-left:4px solid #000;/*FF9900*/   
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 1.5rem; 
  background-color:#333333;/*303030*/
  overflow-y: auto;
  .frame::-webkit-scrollbar:vertical { -webkit-appearance: none;}
}

#cnblogs_post_body blockquote p{
  font-style:normal;
  font-size:14px;
}

#cnblogs_post_body blockquote pre{
  color:#7CFC00;
  background-color:#333333;/*303030*/
  overflow:auto; 
  border-style:none;
}
  
#cnblogs_post_body blockquote>:first-child {
  margin-top: 0px;
}

#cnblogs_post_body blockquote>:last-child {
  margin-bottom: 0px;
}
  
/* LINKS 链接
=============================================================================*/

#cnblogs_post_body a {color: #1863a1;}
/*a:link {color:#FF0000;}*/ /* 未访问的链接 */
/*a:visited {color:#00FF00;} *//* 已访问的链接 */ 
#cnblogs_post_body a:hover   {color:red;}/* 鼠标划过链接 */
#cnblogs_post_body a:active  {color:blue;}/* 已选中的链接 */
  
/*二级代码段，在序列下会生效，如1、2、3、这样的地方*/
/* LISTS
=============================================================================*/

#cnblogs_post_body ul, ol { padding-left: 50px;}
#cnblogs_post_body ul li > :first-child, 
#cnblogs_post_body ol li > :first-child, 
#cnblogs_post_body ul li ul:first-of-type, 
#cnblogs_post_body ol li ol:first-of-type, 
#cnblogs_post_body ul li ol:first-of-type, 
#cnblogs_post_body ol li ul:first-of-type { margin-top: 0px;}

#cnblogs_post_body ul ul, ul ol, ol ol, ol ul {
  margin-bottom: 0;
}

#cnblogs_post_body dl {
  padding: 0;
}

#cnblogs_post_body dl dt {
  font-size: 14px;
  font-weight: bold;
  font-style: italic;
  padding: 0;
  margin: 15px 0 5px;
}

#cnblogs_post_body dl dt:first-child {
  padding: 0;
}

#cnblogs_post_body dl dt>:first-child {
  margin-top: 0px;
}

#cnblogs_post_body dl dt>:last-child {
  margin-bottom: 0px;
}

#cnblogs_post_body dl dd {
  margin: 0 0 15px;
  padding: 0 15px;
}

#cnblogs_post_body dl dd>:first-child {
  margin-top: 0px;
}

#cnblogs_post_body dl dd>:last-child {
  margin-bottom: 0px;
}
  
/* CODE
=============================================================================*/
#cnblogs_post_body p{
    font-family: Microsoft YaHei UI;
	font-size:1.3em;
}

#cnblogs_post_body pre,code,p code,li code{
  font-family:Menlo,Monaco,"Andale Mono","lucida console","Courier New",monospace
}

/*一级代码段*/
#cnblogs_post_body pre{
 margin: 0 0px;
  -webkit-border-radius:0.4em;
  -moz-border-radius:0.4em;
  -ms-border-radius:0.4em;
  -o-border-radius:0.4em;
  border-radius:0.4em;
  border:1px solid #000;
  line-height:1.45em;
  font-size:0.9rem;
  margin-bottom:2.1em;
  padding:.8em 1em;
  color:#fff;
  overflow:auto; 
  background-color:#6384A5;
}

#cnblogs_post_body pre code{
	border-style:none !important;
	border:none !important;
	background:none !important;
}

/*二级代码段，在序列下会生效，如1、2、3、这样的地方*/
#cnblogs_post_body li code{
  -webkit-border-radius:0.4em;
  -moz-border-radius:0.4em;
  -ms-border-radius:0.4em;
  -o-border-radius:0.4em;
  display:inline-block;
  white-space:no-wrap;
  background:transparent;
  font-size:1.2rem;
  line-height:1.5em;
  color:#fff;
  border:transparent;
  border-radius:0.4em;
  padding:0 .3em;
  margin:-1px 4px;
}

/*单行代码，可以用于特殊标记的字体，用单个`进行标记*/
#cnblogs_post_body p code{
  -webkit-border-radius:0.4em;
  -moz-border-radius:0.4em;
  -ms-border-radius:0.4em;
  -o-border-radius:0.4em;
  display:inline-block;
  white-space:no-wrap;
  background:transparent;
  font-size:1.2rem;
  line-height:1.5em;
  color:#FF0000;
  border:transparent;
  border-radius:0.4em;
  padding:0 .3em;
  margin:-1px 4px;
  font-weight:bold;
}

#cnblogs_post_body p pre code,li pre code{
  font-size:1em !important;
  background:none;border:none;
  color:#FFFFFF;
}



/*注释 注意文字的样式--属性，调用方法<p class="des">内容</p>,也可以是<table>中的<tr>*/
.des {
  margin: 0 0px;
  background-color: #FF0000;
  border: 1px solid #000000;
  color:#fff;
  font-size: 16px;
  line-height: 20px;
  padding: 6px 20px;
  border-radius: 3px;
  overflow: auto;
}

  
/*主页标题
=============================================================================*/
.posthead {
    background-color: #8bbfec;}

/*
返回顶部功能
*/
#back-to-top {
    bottom: 0;
    /*box-shadow: 0 0 6px ;
    padding: 2px 2px;*/
    position: fixed;
    right: 20px;
    cursor: pointer;
}

/*代码样式
===============================================================
*/

.cnblogs-markdown .hljs {
  display: block;
  overflow-x: auto;
  padding: 0.5em;
  background: #272822; color: #ddd;
}

.hljs-tag,
.hljs-keyword,
.hljs-selector-tag,
.hljs-literal,
.hljs-strong,
.hljs-name {
  color: #f9e326;
}

.hljs-code {
  color: #66d9ef;
}

.hljs-class .hljs-title {
  color: white;
}

.hljs-attribute,
.hljs-symbol,
.hljs-regexp,
.hljs-link {
  color: #8709b9;
}

.hljs-string,
.hljs-bullet,
.hljs-subst,
.hljs-title,
.hljs-section,
.hljs-emphasis,
.hljs-type,
.hljs-built_in,
.hljs-builtin-name,
.hljs-selector-attr,
.hljs-selector-pseudo,
.hljs-addition,
.hljs-variable,
.hljs-template-tag,
.hljs-template-variable {
  color: #1d05cc;
}

.hljs-comment,
.hljs-quote,
.hljs-deletion,
.hljs-meta {
  color: #00ff21;
}

.hljs-keyword,
.hljs-selector-tag,
.hljs-literal,
.hljs-doctag,
.hljs-title,
.hljs-section,
.hljs-type,
.hljs-selector-id {
  font-weight: bold;
}