/* 调整界面 */
html,
body {
    font-family: "PingFang SC", "Lantinghei SC", "Hiragino Sans GB", "Heiti SC", "MicrosoftYaHeiUI", "MicrosoftYaHei", "Microsoft Sans Serif", "Noto Sans", Arial, sans-serif;
    color: #24292e;
    background-color: #f4f4f4;
}

#main {
    background-color: #fff;
    padding: 4px 32px 8px;
    max-width: 1080px !important;
    margin: 0 auto;
    border: 0px solid #E5E8ED;
    border-top: 0px solid #666;
    border-radius: 0px;
    margin-top: 0px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05), 0 2px 4px rgba(0, 0, 0, 0.05);
}

div.post {
    font-family: "PingFang SC", "Lantinghei SC", "Hiragino Sans GB", "Heiti SC", "MicrosoftYaHeiUI", "MicrosoftYaHei", "Microsoft Sans Serif", "Noto Sans", Arial, sans-serif;
    background: #fff;
}

div.post h2 {
    font-family: "PingFang SC", "Lantinghei SC", "Hiragino Sans GB", "Heiti SC", "MicrosoftYaHeiUI", "MicrosoftYaHei", "Microsoft Sans Serif", "Noto Sans", Arial, sans-serif;
    font-size: 1.6rem;
    font-weight: normal;
    line-height: 1.65;
    margin-top: 1rem;
    margin-bottom: .5rem;
    color: #333;
    background: #fff;
}

div.post h2 a:link {
    font-family: "PingFang SC", "Lantinghei SC", "Hiragino Sans GB", "Heiti SC", "MicrosoftYaHeiUI", "MicrosoftYaHei", "Microsoft Sans Serif", "Noto Sans", Arial, sans-serif;
    font-size: 1.6rem;
    font-weight: normal;
    line-height: 1.65;
    margin-top: 1rem;
    margin-bottom: .5rem;
    color: #333;
    background: #fff;
}

div.post h2 a:hover {
    color: #0681d0;
}

#myposts .postTitle2 {
    font-size: 16.5px;
    color: #2aa198;
    background: #fff;
}

.c_b_p_desc {
    font-family: "Hiragino Sans GB", "MicrosoftYaHeiUI", "Microsoft Yahei", sans-serif;
    word-wrap: break-word;
    word-break: break-all;
    overflow: hidden;
    line-height: 1.5;
    font-size: 14px;
    padding: 0;
}

p.postfoot {
    font-size: .75rem !important;
    color: #666;
    margin-top: 0rem !important;
    padding: 8px 0 16px;
    border-bottom: 1px solid rgba(190, 190, 190, 0.5);
}

/* 调整主页内容列表的时间戳 */
p.date img {
    vertical-align: middle
}

p.date {
    display: none;
    text-align: right;
    font-size: 0.75rem;
    color: #808080;
    margin-top: 0rem !important;
    margin-bottom: 0rem !important;
    border-bottom: 0px dotted #cccccc;
}

input.btn_my_zzk {
    vertical-align: middle;
    height: 22px;
    font-size: 0.75rem;
    padding-left: 5px;
    padding-right: 5px;
    padding-bottom: 15px;
}

#top {
    background-color: #f4f4f4;
    padding: 15px 15px 0px 10px;
    border-top: 0px double #666;
    border-radius: -8px;
    height: 20px;
}

#leftmenu {
    top: 70px;
    margin-top: 0px;
    margin-bottom: 16px;
    background-color: #f4f4f4;
}

#leftmenu h3 {
    font-family: "Noto Sans", "Noto Sans SC", "Noto Sans CJK SC", "Arial", sans-serif !important;
    font-size: 0.75rem;
    color: gray;
    background-color: #f4f4f4;
    text-transform: uppercase;
    margin-bottom: 2px;
}

/* Leftbar Color */
element {
    fill: hsla(0, 0%, 100%, .5);
    color: #313131 !important;
}

#leftmenu ul {
    list-style: none;
    color: #313131 !important;
    font-size: 0.875rem;
}

@media only screen and (max-width:1580px) {
    #main {
        margin: 0 auto;
        padding: 2px 32px
    }

    #top {
        height: 39px
    }

    #leftmenu {
        position: static;
        padding: 0 10px;
        width: auto
    }

    #leftmenu h3 {
        font-size: 1rem
    }

    #leftmenu ul {
        font-size: .8rem
    }
}



/* 调整链接 */
a,
a:visited,
a:active,
a:link {
    color: #313131;
}

a:hover {
    color: #0681d0
}

#top a,
#top a:link,
#top a:visited,
#top a:active {
    color: #333;
}

#top a:hover {
    color: #0681d0;
}



/* 调整文章内容 */
#cnblogs_post_body {
    font-family: "Hiragino Sans GB", "MicrosoftYaHeiUI", "Microsoft Yahei", sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #313131;
    background: #fff;
    padding: 0 0 20px;
}

#cnblogs_post_body p {
    margin-bottom: 1rem;
}

h1 {
    font-size: 1.8rem
}

#cnblogs_post_body h1,
#cnblogs_post_body h2,
#cnblogs_post_body h3,
#cnblogs_post_body h4,
#cnblogs_post_body h5,
#cnblogs_post_body h6 {
    font-family: "verdana", "Noto Sans", "PingFang SC", "Lantinghei SC", "Hiragino Sans GB", "Heiti SC", "MicrosoftYaHeiUI", "MicrosoftYaHei", "Microsoft Sans Serif", Arial, sans-serif;
    margin: 1.2rem 0 1rem;
}

#cnblogs_post_body h1 {
    color: #c41a16;
}

#cnblogs_post_body h2 {
    margin: 2rem 0 1.2rem;
    font-size: 1.5rem;
    color: #333;
}

#cnblogs_post_body h3 {
    font-size: 1.25rem;
}

#cnblogs_post_body h4 {
    font-size: 1.1rem;
}

#cnblogs_post_body h5 {
    font-style: italic;
    font-size: 1rem;
}

#cnblogs_post_body h6 {
    color: #777;
    font-style: normal;
    font-size: 1rem;
    padding-top: 0px;
}

#cnblogs_post_body a {
    font-style: normal;
    color: #0681d0;
    text-decoration: none;

    -webkit-tap-highlight-color: transparent;
    -webkit-text-decoration-skip: objects;
    -moz-text-decoration-skip: objects;
    text-decoration-skip: objects;
    cursor: pointer;
}

#cnblogs_post_body a:hover {
    text-decoration: underline;
}



/* 代码块 */
.cnblogs-markdown .hljs,
.cnblogs-post-body .hljs {
    font-family: "Roboto Mono", "Source Code Pro", "Anonymous Pro", "Fira Mono", "DejaVu Sans Mono", "Ubuntu Mono", "Droid Sans Mono", "Menlo", "Monaco", "Consolas", "Inconsolata", "Courier New", "Courier", "Monospace", sans-serif !important;
    font-size: 0.93em !important;
    line-height: 1.5 !important;
    padding: 16px !important;
    background: #f8f8f8;
}

.cnblogs-markdown code,
.cnblogs-post-body code {
    font-family: "Roboto Mono", "Source Code Pro", "Anonymous Pro", "Fira Mono", "DejaVu Sans Mono", "Ubuntu Mono", "Droid Sans Mono", "Menlo", "Monaco", "Consolas", "Inconsolata", "Monospace", sans-serif !important;
    font-size: 0.93em !important;
    line-height: 1.5 !important;
    color: #000;
    background-color: #f7f7f9 !important;
    border: 1px solid #e1e1e8;
    border-radius: 3px !important;
    padding: 0px 4px !important;
    margin: 0px 0px !important;
}

.cnblogs-markdown pre {
    font-size: 0.875em;
    line-height: 1.45;
    background-color: #f5f5f5 !important;
    color: #555;
    border-radius: 3px !important;
    border: 0px solid #cccccc;
    margin-bottom: 1rem;
}

.cnblogs-markdown pre code,
.cnblogs-post-body pre code {
    font-size: 0.875em !important;
    background-color: rgb(248, 248, 248) !important;
    border-color: rgb(248, 248, 248);
}



/**
 * Markdown 文档加入代码复制按钮
 * 请阅读原文：https://www.cnblogs.com/wuliytTaotao/p/11752754.html
 */

.cnblogs-markdown pre {
    position: relative;
}

.cnblogs-markdown pre>span {
    position: absolute;
    right: 0px;
    top: 1px;
    font-size: 12px;
    color: #4d4d4d;
    background: hsla(0, 0%, 100%, 1);
    padding: 1px 8px;
    border-radius: 0 0 20% 20%;
    border-top: darkred;
    margin-right: 4px;
    vertical-align: middle;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    display: none;
}

.cnblogs-markdown pre:hover>span {
    display: block;
}

.cnblogs-markdown pre>.copyed {
    background: white;
    color: #00bcd4;
    background: hsla(0, 0%, 100%, 1);
}



/* 定制 Markdown 折叠效果 */
#cnblogs_post_body details summary:hover {
    cursor: pointer;
}



/* 块/段落引用 */
blockquote {
    color: #6a737d !important;
    border: none;
    border-left: .25em solid #dfe2e5;
    word-break: break-word;
    position: relative;
    font-style: normal !important;
    padding: 0 1em !important;
    margin: 1em 3em 1rem 2em;
}



/* Tables */
#cnblogs_post_body table,
.cnblogs-post-body table {
    font-size: 0.9rem;
    border-collapse: collapse;
    border-spacing: 0 !important;
    word-break: break-word;
    margin-bottom: 1rem;
}

#cnblogs_post_body th,
.cnblogs-post-body th {
    border: none;
    padding: 0;
    color: inherit;
}

#cnblogs_post_body th,
#cnblogs_post_body td,
.cnblogs-post-body th,
.cnblogs-post-body td {
    border: 1px solid #eaeaea;
    border-collapse: collapse;
    padding: 0.5em 1em;
    color: #404040;
}



/* 限制图片最大宽度 */
#cnblogs_post_body img {
    max-width: 75% !important;
    display: block;
}



/**
 * 返回顶部按钮
 * 参考本文「添加 “返回顶部” 按钮」部分
 */
#back-to-top {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 26px;
    height: 26px;
    width: 48px;
    height: 58px;
    border-radius: 6px;
    color: #8c8c8c;
    font-size: 16px;
    background-color: none;
    position: fixed;
    right: 15px;
    bottom: 3%;
    z-index: 1001;
}



/**
 * 生成博客目录 
 * 参考本文「添加目录导航」部分
 */
#uprightsideBar {
    font-size: 18px;
    font-family: "PingFang SC", "Lantinghei SC", "Hiragino Sans GB", "Heiti SC", "MicrosoftYaHeiUI", "MicrosoftYaHei", "Microsoft Sans Serif", "Noto Sans", Arial, sans-serif;
    position: fixed;

    width: auto;
    height: auto;
    right: 6px;
    top: 10.5%;

    border: 0px solid #D9DBE1;
    border-radius: 5px;
    margin: 0;
    padding: 0;
}

#sideBarTab {
    float: right;
    width: 23px;
    border: 0px solid #0a0a0a;
    padding: 6px 1px;
    text-align: center;
    background-color: #4169E1;
    background-color: #0681d0;
    background-color: rgba(6, 129, 208, 0.5);
    color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05), 0 2px 4px rgba(0, 0, 0, 0.05);
}

#sideBarContents {
    font-size: 15px;
    float: left;
    overflow: auto;
    overflow-x: hidden !important;
    width: 220px;
    min-height: 108px;
    max-height: 500px;
    border-left: 1px solid #4169E1;
    border-left: 1px solid #ddd;
    border-radius: 6px 0px 6px 6px;
    padding: 5px 16px 20px;
    color: #000;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05), 0 2px 4px rgba(0, 0, 0, 0.05);
}

#sideBarContents dl {
    margin: 0;
    padding: 0;
}

#sideBarContents dt {
    margin-top: 5px;
    margin-left: 5px;
}

#sideBarContents dd,
dt {
    cursor: pointer;
}

#sideBarContents dd:hover,
dt:hover {
    color: #0681d0;
    background: #f2f8fc;
    font-style: normal;
    font-weight: 400;
}



/**
 * 显示推荐按钮 

#div_digg {
    padding: 10px;
    position: fixed;
    max-width: 46px;
    _position: absolute;
    z-index: 1000;
    bottom: 20px;
    right: 10px;
    _right: 5px;
    border: 1px solid #D9DBE1;
    background-color: hsla(0, 0%, 100%, .3);
    border-radius: 5px !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05), 0 2px 4px rgba(0, 0, 0, 0.05);
    text-align: center;
}

 */


/**
 * 不显示反对按钮
 * 别人的反馈至关重要，反对，说明自己有问题
 * 自己没问题，又何必在乎反对？

.buryit{display:none;}

 */