/*代码块换行*/
.hljs {
    white-space: pre-wrap;
    word-wrap: break-word;
}

#cnblogs_post_body table {
    max-width: initial!important;
}



/*字体图标*/
@font-face {
  font-family: 'iconfont';  /* Project id 2570772 */
  src: url('//at.alicdn.com/t/font_2570772_i3mlylbxt8d.woff2?t=1625544180294') format('woff2'),
       url('//at.alicdn.com/t/font_2570772_i3mlylbxt8d.woff?t=1625544180294') format('woff'),
       url('//at.alicdn.com/t/font_2570772_i3mlylbxt8d.ttf?t=1625544180294') format('truetype');
}
.iconfont{
    font-family:"iconfont" !important;
    font-size:16px;font-style:normal;
    -webkit-font-smoothing: antialiased;
    -webkit-text-stroke-width: 0.2px;
    -moz-osx-font-smoothing: grayscale;
}
.return_top{
     font-size:44px;
     color:lightgreen;
}

.returntop{
    background:#F5F6F6;
    position: fixed;
    bottom: 10%;
    right: 5%;
    text-align: center;
    cursor: pointer;
    border-radius:6px;
    display:none;
    margin-right: -44px;
}

/* 博客内容背景色*/
#cnblogs_post_body{
    background-color: #F5F6F6;
}

/*
    https://www.dmoe.cc/random.php
    https://img.paulzzh.tech/touhou/random
*/
body{
    width:100%;
    height:100%;
    background: url(https://www.dmoe.cc/random.php)  no-repeat fixed #cbdcec;     
    background-size:cover; 
}
    
#main{
    opacity:0.9;
    display: flex;
}
#mainContent{
    flex:4;
}
#sideBar{
    flex:1;
    margin-left:0px;
}
   
#cnblogs_c1{
    display: none;
}

#home{
    min-width: 980px;
    width: 90%;
}

#blogTitle h2{
    margin: auto;
    width: auto;
    text-align: right;
    float: right;
}
#blogTitle h1{
    width: 100%;
}
#navigator{
    margin-top:5px;
}
#ad_t2,#under_post_card2{
    display:none;
}


.dw-toc {
        position: fixed;
        top: 30%;
        right: 10px;
        height: auto;
        margin: 0 0 1.5em 1.5em;
        z-index: 9;
    }

    #dw__toc .toc-title {
        cursor: pointer;
        margin-top: 0;
    }

    .toc-panel .panel-heading {
        margin-bottom: 0;
        padding: 5px;
    }

    * {
        box-sizing: border-box;
    }

    .panel-default>.panel-heading {
        color: #333333;
        background-color: #f5f5f5;
        border-color: #dddddd;
    }

    .panel-heading {
        padding: 10px 15px;
        border-bottom: 1px solid transparent;
        border-top-left-radius: 3px;
        border-top-right-radius: 3px;
    }

    h6,.h6 {
        font-size: 14px;
    }

    h4,.h4,h5,.h5,h6,.h6 {
        margin-top: 11px;
        margin-bottom: 11px;
    }

    h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6 {
        font-family: "Raleway", "Helvetica Neue", Helvetica, Arial, sans-serif;
        font-weight: bold;
        line-height: 1.1;
        color: inherit;
    }

    .panel-default {
        border-color: #dddddd;
    }

    .panel {
        box-shadow: none;
        margin-bottom: 22px;
        background-color: #ffffff;
        border: 1px solid transparent;
        border-radius: 4px;
        box-shadow: 0 1px 1px rgb(0 0 0 / 5%);
    }

    small,.small {
        font-size: 74%;
    }

    nav {
        display: block;
    }

    .test {
        display: inline-block;
        margin-left: 2px;
        vertical-align: middle;
        border-bottom: 1em dashed;
        border-right: 1em solid transparent;
        border-left: 1em solid transparent;
    }

    .caret {
        display: inline-block;
        margin-left: 2px;
        vertical-align: middle;
        border-top: 1em dashed;
        border-bottom: 0em dashed;
        border-right: 1em solid transparent;
        border-left: 1em solid transparent;
    }

    .toc-panel .panel-body {
        padding: 0;
    }

    .collapse.in {
        display: block;
    }

    .panel-body {
        padding: 0px;
    }

    .collapse {
        display: none;
    }

    #dw__toc .toc-body>ul {
        overflow-y: auto !important;
    }

    .nav {
        padding-left: 0;
        margin-bottom: 0;
        list-style: none;
    }

    ul,ol {
        margin-top: 0;
        margin-bottom: 11px;
    }

    * {
        box-sizing: border-box;
    }

    

    #dw__toc .nav>li>a {
        font-weight: 500;
        display: block;
        word-break: keep-all;
        color: rgb(51, 51, 51);
    }

    .nav>li>a {
        position: relative;
        display: block;
    }

    a {
        color: #4582ec;
        text-decoration: none;
        background-color: transparent;
    }
    .nav {
        padding-left: 0;
        margin-bottom: 0;
        list-style: none;
    }

    .nav>li {
        position: relative;
        display: block;
        white-space: nowrap;
    }

    .level6>a {
        padding-left: 50px;
    }
    .level5>a {
        padding-left: 40px;
    }
    .level4>a {
        padding-left: 30px;
    }

    .level3>a {
        padding-left: 20px;
    }
    .level2>a {
        padding-left: 10px;
    }
    .level1>a {
        padding-left: 0px;
    }


    .dir {
        max-height: 800px;
        overflow-y: scroll;
    }
    .dw-toc nav svg{
        width: 2em;
        height: 2em;
    }
    .dw-toc nav span{
        font-size: 1.5em;
    }
    .dw-toc nav span,.dw-toc nav svg,.dw-toc nav i{
        
    }

    .dw-toc nav div.head>div{
        height: 2em;
        line-height: 2em;
        display: inline-block;
        vertical-align: middle;
        
    }
    .active{
        color: black!important;
        font-weight: bold!important;
    }
    