/*覆盖全局css样式*/


/* 滚动侧边栏 */
#sideBarMain{
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    overflow: scroll;
    height: 100vh;
}


#header{
    display:none;
    background: rgb(255,255,255,0.1);
    overflow-x: visible;
}
#navigator{
    border: none;
    /*background-color: #0184b2;*/
    width: 100%;
}
#navList{
    width: 100%;
}
#navList li{
    min-width:140px;
    text-align: center;
}

#navList a:link{
    text-shadow: none;
}
#navList a:hover{
    /*color: #0184b2;*/
    color: #169fe6;
}
#navList a{
    font-size: 18px;
}

.blogStats{
    display: inline;
    color: white;
    /* width: 100%; */
    position: absolute;
    right: 0px;
    bottom: 0px;
}

.day{
    box-shadow: 0 1px 3px rgba(0,0,0,.12), 0 1px 2px rgba(0,0,0,.24);
    border: none;
}
#blog-calendar:hover,.day:hover,.newsItem,.sidebar-block:hover,.newsItem:hover{
    box-shadow: 0 3px 6px rgba(0,0,0,.16), 0 3px 6px rgba(0,0,0,.23);
    border: none;
}
/*#profile_block{display: none;border:1px solid #fff;}*/

/*我加的侧边栏公告*/
#blog-news > img {
    /*头像*/
    display: block;
    margin: auto;
}

#profile_block {
    font-size: 15px;
    padding: 20px;
    line-height: 1.8;
}

#profile_block > a:link {
    color: #F60;
}
/*我加的公告结束*/

#blogCalendar td:hover{
    background-color: #012;
    color: #fff;
    border-radius: 3px;
}
#blogCalendar td{
cursor: pointer;
}
#blog-calendar{
    background-color: #fff;
    padding: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,.12), 0 1px 2px rgba(0,0,0,.24);
}
.newsItem,.sidebar-block{
    border-color: transparent;
    box-shadow: 0 1px 3px rgba(0,0,0,.12), 0 1px 2px rgba(0,0,0,.24);
}
.catListPostArchive ul,.catListPostArchive ul,.sidebar-block ul{
    border-color: transparent;
}
.sidebar-block ul:last-child{
    border-bottom: none;
}
#profile_block:hover {
    border-color: transparent;
}
#footer{display:none}
.forFlow .day+.day{margin-top:20px;}
/*icon*/
.icon-menu{
    position: relative;
    width: 16px;
    height: 2px;
    background: #fff;
    margin: 12px auto;
    display: inline-block;
}
.icon-menu:before,.icon-menu:after{
    content: '';
    display: inline-block;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    background-color: #fff;
    transition: all 300ms ease-in-out;
}
.icon-menu:before{
    top: -6px;
}
.icon-menu:after{
    bottom: -6px;
}
/*手机端导航栏*/
#header-mobile{
    height: 44px;
    background: #012;
    padding: 5px 10px;
    box-sizing: border-box;
    position: fixed;
    width: 100%;
    top: 0;
    box-shadow: 0 1px 3px rgba(0,0,0,.12), 0 1px 2px rgba(0,0,0,.24);
}
#header-mobile > div {
    width: 100%;
    height: 100%;
    position: relative;
    text-align: center;
    color: #fff;
}
#header-mobile > div > .icon {
    position: absolute;
    right: 0;
    top: 4px;
    width: 26px;
    height: 26px;
    border: 1px solid #fff;
    border-radius: 3px;
    transition: all 300ms ease-in-out;
}

#header-mobile > div > p{
    font-size: 1.125rem;
    line-height: 34px;
}

.icon-menu-active .icon{
    border-radius: 26px !important;
}
.icon-menu-active .icon-menu:before{
    top: 0;
    transform: rotateZ(120deg);
}
.icon-menu-active .icon-menu:after{
    bottom: 0;
    transform: rotateZ(60deg);
}
#header-pad{
    display:none;
}

.navLink{
    display: none;
}

/*博客 响应式*/
@media (min-width: 769px) {/*电脑*/
    #header-mobile{
        display: none;
    }
    #mainContent{
        display: inline-block;
        /*width: 65% !important;*/
        /*我的width*/
        width: 68% !important;
        width: auto;
    }
    #sideBar{
        display:inline-block;
        width: 33.5%;
        margin-left: 1.5%;
        vertical-align: top;
        float: none;
        font-size: 0.875rem;
    }
}

/* 注释掉平板的响应式，使用手机的，更方便 */
/* @media (min-width: 481px) and (max-width: 768px) { // 平板
    #header{
        display: none !important;
    }
    .sidebar-block h3{
        border-color: #012;
        background-color: #012;
    }
    #header-mobile{
        display: none;
    }
    body{
        background: none;
        height: 100%;
        -webkit-transform:transition3d(0,0,0);
        transform:transition3d(0,0,0)
    }
    #main{
        // margin: 55px 8px 0 8px;
        // 我改的top
        margin: 55px 8px 0 8px;
    }
    #mainContent{
        display: inline-block;
        width: 65% !important;
        // 我的width
        // width: 100% !important;
        width: auto;
    }
    #sideBar{
        display:inline-block;
        width: 33.5%;
        margin-left: 1.5%;
        vertical-align: top;
        float: none;
        font-size: 0.875rem;
    }

    #main{
        font-size: 0;
    }

    #header-pad{
        display:block;
        position: fixed;
        width: 100%;
        top: 0px;
        height: 45px;
        background-color: #012;
        box-shadow: 0 1px 3px rgba(0,0,0,.12), 0 1px 2px rgba(0,0,0,.24);
        z-index: 80;
    }
    #header-pad > div{
        font-size: 0;
        height: 100%;
    }
    #header-pad > div > div {
        display: inline-block;
        font-size: 1rem;
        height: 100%;
    }
    #header-pad > div > .nav-left {
        font-weight: 600;
        color: #fff;
        height: 100%;
        line-height: 45px;
        vertical-align: top;
        width: 150px;
        text-align: center;
        font-size: 1.275rem;
    }
    #header-pad > div > div > ul{
        padding: 0;
        margin: 0;
        width: 400px;
        height: 100%;
    }
    #header-pad > div > div > ul > li {
        list-style: none;
        float: left;
        width: 100px;
        text-align: center;
        height: 100%;
    }
    #header-pad > div > div > ul > li > a {
        display: inline-block;
        width: 100%;
        height: 100%;
        color: #fff;
        height: 100%;
        line-height: 45px;
    }
    .dayTitle{
        padding: 0;
        height: 20px;
        text-align: center;
        float: none;
    }

} */

.dayTitle{
    background-color: transparent;
}
.dayTitle a {
    color: #012;
}
@media (max-width: 768px){ /*手机*/
    #header{
        display: none !important;
    }
    #header-mobile{
        display: block;
        z-index: 100;
    }
    .sidebar-block h3 {
        border-color: #012;
        background-color: #012;
    }
    body{
        background: none;
        height: 100%;
        -webkit-transform:transition3d(0,0,0);
        transform:transition3d(0,0,0);
    }

    #main{
        height: 100%;
        margin-top: 10px; 
    }
    #home{
        /*margin-top: 44px;*/
        /*我改的top*/
        margin-top: 44px;
        position: relative;
        overflow: hidden;
    }
    #home .plecehode{
        position: fixed;
        width: 100%;
        height: 100%;
        top: 0;
        background-color: rgba(33,33,33,.75); 
        opacity: 0;
        display: none;
        transition: opacity 300ms ease-in-out;
    }
    .showPlecehode{
        opacity: 1 !important;
    }
    #mainContent{
        /*margin: 10px;*/
        /*我改的margin*/
        margin: 0px;
        width: 100% !important;
    }
    #sideBar{
        position: fixed;
        top: 44px;
        right: 0;
        background: #fff;
        transform: translateX(110%); 
        transition: all 300ms ease-in-out;
        padding: 10px;
        box-shadow: -2px 0 15px rgba(0,0,0,.35);
        height: 100%;
        overflow: auto;
        z-index: 50;
    }
    .sideBar-show{
        transform: translateX(0%) !important; 
    }
    .day{
        position: relative;
    }
    .dayTitle{
        text-align: center;
        position: absolute;
        top: -4px;
        width: 100%;
        left: 0;
        color: #45bcf9;
        background-color: transparent;
    }
    .dayTitle a{
        color: #012;
    }
    .topicListFooter{
        margin-top: 0px;
        height: 100px;
        line-height: 68px;
        font-size: 16px;
    }
    #sideBarMain{
        margin-bottom: 80px;
    }
    .navLink {
        display:block;
    }
    .navLink ul li {
        list-style: none;
        width: 25%;
        display: inline-block;
    }
    .navLink ul{
        background-color: #012;
        text-align: center;
    }
    .navLink ul li a{
        color:#fff;
    }
}















































































/*#标题样式*/
#cnblogs_post_body {
    color: black;
    font: 0.875em/1.5em "微软雅黑", "PTSans", "Arial",sans-serif;
    font-size: 15px;
}

/*#各个等级标题的颜色样式*/
#cnblogs_post_body h2 {
    border: 1px solid #81D4FA;
    border-left-width: 5px;
    border-radius: 10px;
    border-right-width: 5px;
    background-color: #FBF9F9;
    background-position: left center;
    padding: 3px 5px;
    width: 100%;
    display: inline-block;
    box-sizing: border-box;
    font-size: 26px;
    line-height: 1.5;
}

#cnblogs_post_body h3 {
    border: 1px solid #4FC3F7;
    border-left-width: 5px;
    border-radius: 10px;
    border-right-width: 5px;
    background-color: #FBF9F9;
    background-position: left center;
    padding: 3px 5px;
    width: 100%;
    display: inline-block;
    box-sizing: border-box;
    font-size: 24px;
    line-height: 1.5;
}

#cnblogs_post_body h4 {
    border: 1px solid #29B6F6;
    border-left-width: 5px;
    border-radius: 7px;
    border-right-width: 5px;
    background-color: #F5F5F5;
    background-position: left center;
    padding: 2px 3px;
    width: 100%;
    display: inline-block;
    box-sizing: border-box;
    font-size: 20px;
    line-height: 1.5;
}

#cnblogs_post_body h5 {
    border: 1px solid #03A9F4;
    border-left-width: 5px;
    border-radius: 7px;
    border-right-width: 5px;
    background-color: #F5F5F5;
    background-position: left center;
    padding: 2px 3px;
    width: 100%;
    display: inline-block;
    box-sizing: border-box;
    font-size: 18px;
    line-height: 1.5;
}

#cnblogs_post_body h6 {
    border: 1px solid #039BE5;
    border-left-width: 5px;
    border-radius: 7px;
    border-right-width: 5px;
    background-color: #F5F5F5;
    background-position: left center;
    padding: 2px 3px;
    width: 100%;
    display: inline-block;
    box-sizing: border-box;
    font-size: 16px;
    line-height: 1.5;
}


/*#页面中标题位置*/
#cnblogs_post_body h1 {
    color: black;
}

#cnblogs_post_body h1:hover {
    /*color: rgb(255, 102, 0);*/
    color: #169fe6;
}

#cnblogs_post_body h2 {
    color: black;
}

    #cnblogs_post_body h2:hover {
        /*color: rgb(255, 102, 0);*/
        color: #169fe6;
    }

#cnblogs_post_body h3 {
    color: black;
}

    #cnblogs_post_body h3:hover {
        /*color: rgb(255, 102, 0);*/
        color: #169fe6;
    }

#cnblogs_post_body h4 {
    color: black;
}

    #cnblogs_post_body h4:hover {
        /*color: rgb(255, 102, 0);*/
        color: #169fe6;
    }

#cnblogs_post_body h5 {
    color: black;
}

    #cnblogs_post_body h5:hover {
        /*color: rgb(255, 102, 0);*/
        color: #169fe6;
    }


.cnblogs-markdown h2:before{
	content: "Ⅰ";
	color: #2175bc;
	position: relative;
	top: 0;
	left: -4px;
}
.cnblogs-markdown h3:before{
	content: "Ⅱ";
	color: #2175bc;
	position: relative;
	top: 0;
	left: -4px;
}
.cnblogs-markdown h4:before{
	content: "Ⅲ";
	color: #2175bc;
	position: relative;
	top: 0;
	left: -4px;
}
.cnblogs-markdown h5:before{
	content: "Ⅳ";
	color: #2175bc;
	position: relative;
	top: 0;
	left: -4px;
}
.cnblogs-markdown h6::before{
    content: "Ⅴ";
    color: #2175bc;
    position: relative;
    top: 0;
    left: -4px;
}
















































/* 个性签名 */
#MySignature {
    box-shadow: 8px 1px 10px #989898;
    padding: 10px;
    text-shadow: 1px 1px 1px #FFF;
    font-size: 15px;
    border-left: solid 5px #55895B;
    background: #FBF9F9;
    border-radius: 10px 10px 37% 10px;
    line-height: 2.4;
    margin: 37px 0;
}

#MySignature a {
    text-decoration: none;
    color: #4183c4;
    font-weight: bold;
}

#MySignature a:hover {
    text-decoration: underline;
    color: #f60;
}

#MySignature span {
    color: #f60;
}



















/* 点赞按钮 */
/*#div_digg{
  padding: 0px;
  border-radius: 5px;
  position: fixed;
  left: 0;
  bottom: 20px;
  width:40px;
  z-index:100;
}
.diggit{
  background: url(https://images.cnblogs.com/cnblogs_com/blknemo/1650843/o_200219155441%E7%82%B9%E8%B5%9E4.png) no-repeat;
  width: 40px;
  height: 40px;
}
#div_digg .diggnum{
  position: absolute;
  bottom: -20px;
  left: 0px;
  background: #D0D0D0;
  padding: 2px 0;
  display: block;
  color: #555;
  font-size: 12px;
  text-align: center;
  width: 40px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  font-weight: bold;
}
/* 删除反对按钮,有点邪恶了 */
.buryit{
  display: none;
}
*/


/* 回到首页 */

/*#btn_home {

width: 40px;

height: 40px;

display: block;

position: fixed;

left: 0;

bottom: 200px;

background: url("https://images.cnblogs.com/cnblogs_com/blknemo/1650843/o_200219151412home.bmp" )no-repeat left top;

}
*/
   

/* 刷新页面 */

/*#btn_refresh {

width: 40px;

height: 40px;

display: block;

position: fixed;

left: 0;

bottom: 160px;

background: url("https://files.cnblogs.com/files/siwuxie095/refresh.bmp" )no-repeat left top;

}
*/
   

/* 关注博主 */

/*#btn_follow {

width: 40px;

height: 40px;

display: block;

position: fixed;

left: 0;

bottom: 120px;

background: url("https://images.cnblogs.com/cnblogs_com/blknemo/1650843/o_200219151406follow.bmp" )no-repeat left top;

}
*/
   

/* 邮件联系 */

/*#btn_at {

width: 40px;

height: 40px;

display: block;

position: fixed;

left: 0;

bottom: 80px;

background: url("https://images.cnblogs.com/cnblogs_com/blknemo/1650843/o_200219151319at.bmp" )no-repeat left top;

}
*/

   

/* 回到顶部 */

/*#btn_top {

width: 40px;

height: 40px;

display: none;

position: fixed;

left: 0;

bottom: 40px;

background: url("https://images.cnblogs.com/cnblogs_com/blknemo/1650843/o_200219151557top.bmp" )no-repeat left top;

}
*/
   























/* MarkDown样式调整 */
/* 代码块样式 */
/*#cnblogs_post_body pre {
  font-family: Monaco, Menlo, Consolas, Courier New, monospace;
}

#cnblogs_post_body pre {
  border-left: 2px  #4cff00 solid;
  overflow: auto;
  padding: 0px 0px 0px 0px;
  -webkit-border-radius: 2px;
  border-radius: 0px;
}*/

* {
    line-height: 1.8 !important;
}

/* 普通文字样式 */
#cnblogs_post_body p {
    line-height: 1.8 !important;
    /* margin: 18px auto; */
    color: #000;
    /* font-family: Consolas, "Microsoft YaHei", monospace; */
    /* 我的字体 */
    font-family: "Comic Sans MS";
    font-size: 15px;
    text-indent: 0;
}

/* 去除双下划线斜体样式 */
em {
    font-style: normal;
    color: #000;
}

/* 无序列表 */
#cnblogs_post_body ul li {
    /* font-family: Consolas, "Microsoft YaHei", monospace; */
    /* 我的字体 */
    font-family: "Comic Sans MS";
    color: #000;
    font-size: 15px;
    list-style-type: disc;
}

/* 有序列表 */
#cnblogs_post_body ol li {
    /* font-family: Consolas, "Microsoft YaHei", monospace; */
    /* 我的字体 */
    font-family: "Comic Sans MS";
    color: #000;
    font-size: 15px;
    list-style-type: decimal;
}

/* 超链接 */
#cnblogs_post_body a:link {
    text-decoration: none;
    color: #002C99;
}

/* 引用背景 */
#topics .postBody blockquote {
    background: #169fe638;/*#f9e9f9;*/
    border: none;
    margin-bottom: 10px;
    padding: 2px 10px;
    border-left: 5px rgb(22,159,230) solid;/*#CD6839*/
}

/* 单行代码 */
/* 下面这个既包含单行代码又包含多行代码 */
/* .cnblogs-markdown code { */
/* 下面这个只包含单行代码，code没有父类pre，即为单行代码 */
.cnblogs-markdown :not(pre)>code, .blogpost-body :not(pre)>code {
    /* font-family: Consolas, "Microsoft YaHei", monospace !important; */
    /* 我的字体 */
    font-family: "Comic Sans MS";
    font-size: 15px !important;
    color: #ff0000;
    line-height: 20px;
    background-color: #f9f2f4 !important;
    padding: 0 5px !important;
    border: none;
    line-height: 1.5;
    margin: 1px 5px;
    vertical-align: middle;
    display: inline-block;
}

/* 多行代码, 引用 */
.cnblogs-markdown .hljs {
    /* font-family: Consolas, "Microsoft YaHei", monospace !important; */
    /* 我的字体 */
    font-family: "Comic Sans MS";
    font-size: 15px !important;
    /* background-color: #dfecf0 !important; */
    line-height: 1.5 !important;
    /* padding: 9px !important; */
    border: none;

    /*超出范围自动换行*/
    white-space:pre-wrap;
    word-break:break-word;

    /*超出范围不换行*/
    /* white-space: pre; */

    /*我的最大宽度*/
    max-width: 100% !important;
}

.cnblogs-markdown hr:before {
    display: table;
    content: "";
}

.cnblogs-markdown hr:after {
    display: table;
    clear: both;
    content: "";
}
/* 表格 */
.cnblogs-markdown table {
    border: none;
    width: 100%;
    overflow: auto;
    word-break: normal;
    word-break: keep-all;
    font-family: Consolas, "Microsoft YaHei", monospace !important;
    /* 我的字体 */
    /* font-family: "Comic Sans MS"; */
    font-size: 15px !important;
    /*我的最大宽度*/
    max-width: 100% !important;
}
    /* 表格 表头 */
    .cnblogs-markdown table th {
        font-weight: bold;
    }
    /* 表格 行，列 */
    .cnblogs-markdown table th,
    .cnblogs-markdown table td {
        /* padding: 6px 13px; */
        border: none;
    }

    .cnblogs-markdown table tr {
        /* background-color: #fff; */
        border-top: none;
    }

    .cnblogs-markdown table tr:nth-child(2n) {
        /* background-color: #f8f8f8; */
        /* rgba：rad green blue alpha，设置透明度 */
        background-color: rgba(0, 0, 0, 0.04);
    }

    .cnblogs-markdown table tr:hover{
        /* background: #F0F0F0; */
        background-color: rgba(0, 0, 0, 0.1);
	}

/*only for syntaxhighlighter */
/*--start--*/
.cnblogs-markdown .syntaxhighlighter table td.code {
    width: 95% !important;
}

.cnblogs-markdown p,
.cnblogs-markdown blockquote,
.cnblogs-markdown ul,
.cnblogs-markdown ol,
.cnblogs-markdown dl,
.cnblogs-markdown table,
.cnblogs-markdown pre {
    margin-top: 0;
    margin-bottom: 16px;
}

/* 粗体样式 */
strong {
    font-weight: bold;
    /*color: rgb(71, 193, 168);*/
    color: rgb(22,159,230);
}
strong:before {
    content: "「";
}
strong:after{
    content: "」";
}
/* 水平分割线样式 */
#cnblogs_post_body hr {
    height:2px;
    border:none;
    border-top:5px dotted #185598;
}





















/*小小的美化一下博客主题*/
div.blogpost-body {
    background-color: #FFFFFF;
    background-repeat: repeat;
    background-image: linear-gradient(90deg, rgba(50, 0, 0, 0.05) 3%, rgba(0, 0, 0, 0) 3%), linear-gradient(360deg, rgba(50, 0, 0, 0.05) 3%, rgba(0, 0, 0, 0) 3%);
    background-size: 20px 20px;
    background-position: center center;
}

body {
    background-image: url(https://images.cnblogs.com/cnblogs_com/blknemo/1660473/o_200314172704o_200211141254classical.jpg);
    background-repeat: repeat;
}

/*不显示模版里的大黑板*/
#blogTitle {
    display: none;
}

/*头像和 猫和向日葵效果*/
#newsSideBar .headImage {
    padding: auto;
}
#newsSideBar .headImage img {
    border: 3px solid #2586d7;
    border-radius: 50%;
    width: 150px;
    margin: auto;
    display: block;
}
#pageBeginBar{
    background-color: rgb(255,255,255,0.1);
    height: 90px;
}
#pageBeginTitle {
    background-color: rgb(255,255,255,0.1);
    padding: 18px 20px 18px 70px;
    text-align: left;
    float: left
}
#pageBeginTitle a, #pageBeginTitle a:hover {
    color: #169fe6;
    text-decoration: none;
    font-size: 30px;
    font-weight: bold;
    padding: 10px 15px 8px 15px;
    display: block;
    float: left;
    outline: none
}
#pageBeginTitle span {
    font-size: 16px;
    font-weight: bold;
    display: block;
    float: left;
    padding: 22px 20px 13px 10px;
}
 
/*----------------上面不要删除----------------------*/
.postTitle, .entrylistPosttitle {
    /*padding-right: 64px;*/
    padding-left: 10px;
    border-left-width: 3px;
    border-left-style: solid;
    border-left-color: #008080;
    font-weight: bold;
    line-height: 1.5;
    width: 100%;
    color: #169fe6;
    margin: 0px 0px;
}











/* 随笔分类两列 */
/*
@media screen and (min-width:0px) {
	#sidebar_postcategory ul{
	display:grid;
	grid-template-columns:1fr 1fr;
	grid-gap:10px;
	}
	#sidebar_postcategory ul li{
	word-break:keep-all;
	text-overflow:ellipsis;
	}
	#sidebar_postcategory ul li a{
	background-color:var(--BackgroundColor);
	color:var(--TextColor2);
	line-height:2;
	width:100%;
	height:100%;
	display:block!important;
	padding:2px 4px;
	text-align:center;
	font-size:var(--text7);
	border-radius:4px;
	transition: all 300ms ease-in-out;
	 -webkit-transition: all 300ms ease-in-out;
	}
	#sidebar_postcategory ul li a:hover{
	background-color:var(--ThemeColor);
	color:#169fe6;
	border-color: transparent;
	transition: all 300ms ease-in-out;
		-webkit-transition: all 300ms ease-in-out;
	}
}*/
/*随笔分类灵活分列*/
#sidebar_postcategory ul {
	display: flex;
	flex-wrap: wrap;
}
#sidebar_postcategory li {
	margin: 4px;
	background: #169fe638;
	color: #fff;
	padding: 0 6px;
	border-radius: 4px;
}
#sidebar_postcategory li:hover {
	background: #169fe638;
	cursor: pointer;
}



/*点击图片放大*/
.fancybox-image{
max-width:100%!important;
margin:0 auto;
}



