*{
    box-sizing: border-box;
}

body{
    /* background: rgba(12, 100, 129, 1) url(https://img2020.cnblogs.com/blog/1736414/202105/1736414-20210506144925305-1644649775.jpg) fixed no-repeat; */
    background-position: 50% 5%;
    background-size: cover;
    background-color:#f0eef5;
}
a:hover {
    color: #00f;
}

.postCon a, .postBody a, .feedbackCon a {
    /* border-bottom: 0; */
}

#cnblogs_post_body a{
    color: #1a8bc8;
}

#cnblogs_post_body img, .cnblogs-post-body img{
    border: 1px solid #f0eef5 !important;
}

.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;
}

#blogTitle {
    clear: both;
    width: 90pc;
    margin: 0 auto;
    padding: 6px 0;
}

#blogTitle .title {
    font-size:36px;
}

/* #blogTitle {
    clear: both;
    padding: 21px 0 21px 216px;
} */

#navigator {
    top: 0;
    z-index: 99;
    font-size: 16px;
    height: 30px;
    width: 90pc;
    margin: 0 auto;
    background: #009ad9;
    border: 0;
    text-align: center;
    font-size: 12px;
    padding: 0;
}

#navList li {
    line-height: 30px;
    display: inline-block;
    float: left;
}

#navList li a {
    padding: 0 8px;
    text-decoration: none;
    line-height: 30px;
    border: 0;
    color: #fff;
    display: -moz-inline-box;
    display: inline-block;
}

#navList li a:hover {
    background: #13b4f6;
}
.blogStats {
    height: 30px;
    color: #fff;
    line-height: 30px;
    display: inline-block;
    float: right;
    padding-right: 15px;
}

#navList {
    width: 90pc;
    margin: 0 auto;
    /* height: inherit; */
}

/* #navList {
    padding: 0 0 0 200px;
} */


.day {
    padding: 0;
}

.postCon a {
    border-bottom: none;
    color: #000;
}

.cnblogs_code pre {
    font-family: Courier New;
    font-size: 12px;
    white-space: pre-wrap!important;
    word-wrap: break-word!important;
    *white-space: normal!important;
}

/* #main{
    margin: 30px 0;
} */

#main {
    display: flex;
    max-width: 90pc;
    margin: 20px auto 0;
    clear: both;
    overflow: hidden;
}

#mainContent {
    flex: 0 1 calc(90pc - 300px);
    background: none;
    overflow: visible;
    text-overflow: ellipsis;
    max-width: calc(90pc - 300px);
    padding-right: 20px;
    word-break: break-all;
    float: none;
    margin-left: 0;
    background-color: white;
    padding: 0 20px;
    /* border: 1px solid #E8E7D0; */
}

#sideBar {
    flex: 0 0 300px;
    width: 300px;
    float: none;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    overflow: visible;
    word-break: break-all;
    border: none;
    padding: 0 0px 0 20px;
}

#mainContent .forFlow {
    float: none;
    width: 100%;
    margin: 0;
}

/* div#blog-news::before {
    content: '';
    display: inline-block;
    background: #f6f6f6 url(https://avatars.githubusercontent.com/u/20642702?v=4) no-repeat;
    background-size: contain;
    margin-top: 10px;
    width: 198px;
    height: 198px;
} */

#sideBarMain>div, #blog-sidecolumn>div, #sidebar_categories>div {
    margin-bottom: 20px;
}

#sidebar_news, #calendar, .mySearch, #sidebar_shortcut, #sidebar_recentposts, #sidebar_toptags, .catListPostCategory, .catListPostArchive, #topview_posts_wrap, #sidebar_topcommentedposts, #sidebar_topdiggedposts, #sidebar_recentcomments {
    /*border: 1px solid #E8E7D0; */
    background-color: white;
    padding: 10px;
}

#sideBar h3, #MyIng .ing_title {
    margin: 0;
}
.postTitle, .entrylistPosttitle, .feedback_area_title {
    border-bottom: none;
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0 10px 0;
}

.postDesc, .entrylistItemPostDesc {
    border-bottom: 1px dotted  #b1b1b1;
    color: #999;
    text-align: right;
    padding: 10px 0;
}

.c_b_p_desc {
    word-wrap: break-word;
    word-break: break-all;
    line-height: 1.5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    position: relative;
    padding-right: 60px;
}

.c_b_p_desc>a {
    position: absolute;
    right: 0;
}

.postCon {
    color: #999;
}



#topics .postTitle {
    font-size: 28px;
    margin:0;
    line-height: 1.8;
    color: #333;
    padding: 12px 0;
    margin-bottom: 20px;
    border-bottom: 1px dotted #e8e7d0;
}

#calendar table {
    width: 100%;
}

/* #cnblogs_ch, #cnblogs_c1, #cnblogs_c2{
    display: none;
} */

/* .cnblogs_code_toolbar{
    height: 2px;
}

.cnblogs_code_toolbar>* {
    display: none;
} */

.cnblogs_code,.hljs, .cnblogs-markdown .hljs, .cnblogs-markdown .hljsln  {
    font-family: "Courier New", 微软雅黑, Consolas, Arial, 宋体;
    background-color: #F7F7FF;
    padding: 8px;
    border-left: solid 5px #6699FF;
    border-style: solid;
    border-width: 2px 2px 2px 5px;
    border-color: #F0F0FF #F0F0FF #F0F0FF #B0D8FF;
}


.hljs-comment,.hljs-quote {
	color: #5c6370;
	font-style: italic
}

.hljs-doctag,.hljs-formula,.hljs-keyword {
	color: #c678dd
}

.hljs-deletion,.hljs-name,.hljs-section,.hljs-selector-tag,.hljs-subst {
	color: #e06c75
}

.hljs-literal {
	color: #56b6c2
}

.hljs-addition,.hljs-attribute,.hljs-meta-string,.hljs-regexp,.hljs-string {
	color: #98c379
}

.hljs-built_in,.hljs-class .hljs-title {
	color: #e6c07b
}

.hljs-attr,.hljs-number,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-pseudo,.hljs-template-variable,.hljs-type,.hljs-variable {
	color: #d19a66
}

.hljs-bullet,.hljs-link,.hljs-meta,.hljs-selector-id,.hljs-symbol,.hljs-title {
	color: #61aeee
}

.hljs-emphasis {
	font-style: italic
}

.hljs-strong {
	font-weight: 700
}

.hljs-link {
	text-decoration: underline
}

.hljs-built_in,.hljs-keyword,.hljs-name,.hljs-selector-tag,.hljs-tag {
	color: #7171bf
}

.cnblogs_code div{
    background-color: #F7F7FF;
}

#post_next_prev a.p_n_p_prefix:link {
    text-decoration: none;
    display: none;
}

#sideBar li, .divRecentCommentAticle {
    text-indent: 0;
    margin-left: 0;
}

li.recent_comment_title a {
    color: #cfcfcf;
}

#cnblogs_post_body blockquote {
    font-size: 15px;
    margin: 18px 35px;
    padding: 15px 20px 15px 60px;
    background: #fbfbf3 url(https://img2022.cnblogs.com/blog/626637/202204/626637-20220417141319973-870349002.png) no-repeat 9px 0px;
    font-family: Georgia, 'Microsoft Yahei';
    box-shadow: 0 0 8px #aaa;
    clear: both;
}
#cnblogs_post_body ul, #cnblogs_post_body ol{
    margin-left: 18px;
    padding-left: 0;
}

#cnblogs_post_body ul li, #cnblogs_post_body ol li{
    padding: 5px 0;
}
#cnblogs_post_body h1,#cnblogs_post_body h2,#cnblogs_post_body h3,#cnblogs_post_body h4,#cnblogs_post_body h5,#cnblogs_post_body h6{
    padding: 10px 0;
    font-family: "Helvetica Neue", Helvetica, Verdana, Arial, sans-serif;
}
.cnblogs-toc-button {
    display: inline;
}
.cnblogs-toc-button{
    opacity: 0;
}
.cnblogs-toc-button:hover{
    opacity: 100%;
}
#cnblogs_post_body h1{
    font-size: 30px;
    /* text-align: center;
    background-color: #c7f9ed;
    margin: 10px 0; */
}

#cnblogs_post_body h2,#cnblogs_post_body h3,#cnblogs_post_body h4,#cnblogs_post_body h5,#cnblogs_post_body h6 {
}

#cnblogs_post_body h2{
    font-size: 27px;
}

#cnblogs_post_body h3{
    font-size: 24px;
}

#cnblogs_post_body h4{
    font-size: 21px;
}

#cnblogs_post_body h5 {
    font-size:18px;
}
#calendar{
    display: none;
}

/* 移动端 */
@media screen and (max-width: 767px){
    body{
        background-color: white;
    }
    #navigator{
        padding:0 20px 0;
        width: inherit;
    }
    #main {
        width: auto;
        flex-wrap: wrap;
    }
    #mainContent {
        padding: 0;
        border: 0;
    }
    .day, .entrylistTitle, .entrylistItem, #taglist_main {
        padding: 0 20px 10px;
    }

    #topics {
        padding: 0 20px 20px;
    }

    .commentform{
        margin-left: 0 !important;
    }
    div.forFlow {
        margin: 0 !important;
    }
    #navList {
        width: auto;
    }
    #blogTitle {
        width: auto;
        padding: 10px 20px;
    }
    #sideBar {
        flex: 1;
        padding: 0;
    }
    #sideBarMain>div{
        margin-top: 20px;
    }

    #sidebar_news, #calendar, .mySearch, #sidebar_shortcut, #sidebar_recentposts, #sidebar_toptags, .catListPostCategory, .catListPostArchive, #topview_posts_wrap, #sidebar_topcommentedposts, #sidebar_topdiggedposts, #sidebar_recentcomments{
        border: 0;
        padding: 0 20;
    }
    .cnblogs_code {
        border-left: none;
        border-style: solid;
        border-width: 2px;
        border-color: #F0F0FF;
    }
    
    .blogStats{
        color: #000;
    }
    #cnblogs_post_body blockquote {
        margin: 6px 8px;
        padding: 15px 20px 15px 60px;
    }
}

/* 目录导航 */
 /******** 导航目录 *********/
@media screen and (min-width: 0px) {
    #sideBar li.scroller-offset1 {
        text-indent: 0;
        overflow: hidden;
        text-overflow: ellipsis !important;
    }

    #sideBar li.scroller-offset2 {
        text-indent: 1.5em;
        overflow: hidden;
        text-overflow: ellipsis !important;
    }

    #sideBar li.scroller-offset3 {
        text-indent: 3em;
        overflow: hidden;
        text-overflow: ellipsis !important;
    }

    #sideBar li.scroller-offset4 {
        text-indent: 4.5em;
        overflow: hidden;
        text-overflow: ellipsis !important;
    }

    #sideBar li.scroller-offset5 {
        text-indent: 6em;
        overflow: hidden;
        text-overflow: ellipsis !important;
    }

    #sideBar li.scroller-offset6 {
        text-indent: 7.5em;
        overflow: hidden;
        text-overflow: ellipsis !important;
    }

    .nav .active {
        background-color: #f4f6fa;
        border-radius: 2px;
        margin: 0 6px;
    }

    .nav .active a {
        color: #00a1d6;
    }

    .nav {
        max-height: 800px;
        overflow-y: auto;
        /*padding:10px;*/
        overflow-x: hidden;
        white-space: nowrap;
    }

    .nav li {
        padding: 2px 10px;
    }

    .nav li a {
        text-overflow: ellipsis !important;
        width: 100px !important;
        white-space: nowrap;
    }
}

@media screen and (max-width: 960px) {
    #sidebar_scroller {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0;
        opacity: 0.98;
        width: auto !important;
        max-width: 100%;
        margin-bottom: 0 !important;
        display: none;
        max-height: 100vh;
        padding-bottom: 60px;
        overflow: auto;
        border-radius: 0 !important;
        border: none !important;
        border-bottom: 1px solid #eee;
        z-index: 999999999;
    }
}

/******** 导航目录按钮 *********/
@media screen and (min-width: 0px) {
    .mytoolbar {
        position: fixed;
        z-index: 9999999999999999999999;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 10px;
        font-size: 20px;
    }

    .mytoolbar #toolbtn {
        display:grid;
        width:fit-content;
        grid-template-columns:auto auto auto;
        margin: 0 auto;
    }

    .mytoolbar #toolbtn li a {
        color: inherit;
    }

    .mytoolbar #toolbtn li {
        text-align: center;
        padding: 6px 12px;
        margin: 0 10px;
        background-color: var(--BlockColor);
        border: 1px solid var(--DividColor);
        border-radius: 4px;
        list-style-type: none !important;
        /*line-height: 18px;*/
    }
}

/* 侧边栏 */
@media screen and (min-width:0px) {
    .sidebar-block ul a:hover {
        color: #00a1d6
    }
}