



/* 文章标题样式(这个不是markdown里的标题) */
#topics .postTitle a {
font-weight: bold;
    color: #169fe6;
}

/* 普通文字样式 */
#cnblogs_post_body p {
    margin: 18px auto;
    
    font-family:  "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;
}

#cnblogs_post_body h5 {
    font-family: Consolas, "Microsoft YaHei", monospace;
    font-size: 17px;
    font-weight: bold;
    margin: 10px 0;
}

#cnblogs_post_body h6 {
    font-family: Consolas, "Microsoft YaHei", monospace;
    font-size: 16px;
color:#696969;
    font-weight: bold;
    margin: 10px 0;
}
/* 标题样式设置结束 */


/* 无序列表 */
#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 {
border:none; border-left:4px solid #dcdcdc; color:var(--text-color-secondary); margin:0; padding:0 15px;
}

/* 单行代码 */
.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: 5px!important;
}


/*自动编号开始*/
.protyle-wysiwyg, .b3-typography {
    counter-reset: h1 0 h2 0 h3 0 h4 0 h5 0 h6 0;
}

.protyle-wysiwyg [data-node-id].h1, .b3-typography h1 {
    counter-reset: h2 0 h3 0 h4 0 h5 0 h6 0;
}

.protyle-wysiwyg [data-node-id].h2, .b3-typography h2 {
    counter-reset: h3 0 h4 0 h5 0 h6 0;
}

.protyle-wysiwyg [data-node-id].h3, .b3-typography h3 {
    counter-reset: h4 0 h5 0 h6 0;
}

.protyle-wysiwyg [data-node-id].h4, .b3-typography h4 {
    counter-reset: h5 0 h6 0;
}

.protyle-wysiwyg [data-node-id].h5, .b3-typography h5 {
    counter-reset: h6 0;
}

/* 设置各级列表前后的内容  */
/* 为所有标题设置统一的内容 */

.protyle-wysiwyg .h1>::before,
.b3-typography h1:before {
    counter-increment: h1;
    content: "第"counter(h1, cjk-ideographic) "章  ";
}

.protyle-wysiwyg .h2>::before,
.b3-typography h2:before {
    counter-increment: h2;
    content: "第"counter(h2, cjk-ideographic) "节  ";
}

.protyle-wysiwyg .h3>::before,
.b3-typography h3:before {
    counter-increment: h3;
    content: counter(h3, cjk-ideographic) "、";
}

.protyle-wysiwyg .h4>::before,
.b3-typography h4:before {
    counter-increment: h4;
    content: "("counter(h4, cjk-ideographic) "). ";
}

.protyle-wysiwyg .h5>::before,
.b3-typography h5:before {
    counter-increment: h5;
    content: counter(h5, decimal) ". ";
}

.protyle-wysiwyg .h6>::before,
.b3-typography h6:before {
    counter-increment: h6;
    content: "("counter(h6, decimal) "). ";
}

/* ——————————消除h1-h6标题中含有引用时导致计数出现自动编号的影响—————————— */
.protyle-attr::before,
.protyle-attr--refcount.popover__block::before {
    display: none;
}



/* -----------------------------------------------------自动编号结束-------------------------------------------- */