/*首页*/
:root {
	--color-bg: #D3ECE8;
	--color-light: #ffb5ad;
	--color-font: #111;
	--color-border:#efefef;
	--color-boxs-light: #f8f8f8;
        --color-boxs-dark: #ececec;
         --color-dashed:#0071B4;
	--color-hover-purple:#7540eecc;
}
body{
	font-family: Helvetica,arial;
        font-size:14px;
	background: var(--color-bg);
        cursor: url(https://blog-static.cnblogs.com/files/StarRoadTang/xxx.ico),default;
}
#home{
	position: relative;
	padding: 100px 40px 100px 50px;
	outline: 1px solid #000;
	box-sizing: border-box;
}
body > #home:before {
    position: absolute;
    content: "";
    width: calc(100% - 45px);
    height: calc(100% - 50px);
    left: 25px;
    border: 2px dashed #0071B4 !important;
	top: 15px;

	z-index: -4;
}
body > #home:after {
    content: "";
    position: absolute;
    background: url(https://images.cnblogs.com/cnblogs_com/71yishen/1812324/o_220705064314_1.jpg);
    /*background: url(https://www.cnblogs.com/skins/coffee/images/bg_body.gif);*/
    background: #fefef2;
    width: calc(100% - 91px);
    height: calc(100% - 100px);
    top: 50px;
	left: 50px;

 

	bottom:10px;
	z-index: -4;
}
a{
color: var(--color-font);
transition:color .2s ease-in-out;
}
a:hover {
    color: var(--color-light);
}
#home {
	width: 100%;
}
#header {
    border:none;
	padding:0 0;
	margin: 0 0px;
}
#blogTitle{
	padding:10px 0 30px;
	overflow: hidden;
}
#blogTitle h1 {
    font-size: 42px;
    margin: 0;
	line-height: 1.3;
    margin:0 auto;
    width: auto;
	display: block;
	text-align:center;
	float:none;
}
#blogTitle h1  a{
	color:var(--color-light);
}
#blogTitle h2 {
	display: block;
    margin:10px auto;
    line-height: 1em;
	width: auto;
	text-align:center;
	float: none;
	color: #777;
}
#navigator {
	position: relative;
    background-color: transparent;
    height:auto;
	clear: both;
	border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}
#navList {
    width: 92%;
    max-width: 1300px;
    margin: 0 auto;
    float: none;
    overflow: hidden;
    min-height:auto;
    font-size:0;
}
#navList li {
        width:calc(100% / 8);
        float:none;
        display:inline-block;
}
#navList a {
       display:block;
	height:100%;
	width: 100%;
        text-align: left;
	padding: 10px 0px;
        margin:0;
	border:none;
	color:var(--color-font);
	font-size:16px;
        letter-spacing:2px;
	transition: all .5s;
}
#navList a:link, #navList a:visited, #navList a:active {
	color:var(--color-font);
	/* font-weight: bold; */
}
#navList a:hover {
        text-shadow: 5px 0 10px var(--color-light);
	background-color: transparent;
}
.blogStats {
    float: none;
    color: #777;
    margin-top: 0;
    margin-right: 0;
    text-align: right;
    position: absolute;
    right: 2%;
    bottom: 10px;
   font-size:12px;
}
#main {
    /*width: 92%;
    max-width: 1300px;*/
    margin: 30px  auto;
    overflow: hidden;

   
}
#mainContent{
    display: inline-block;
    width: 70%;
    float:none;
   margin-left:0;
   margin-right:0%
}
#mainContent .forFlow {
    margin-left: 0em;
}
#sideBar {
    padding: 0px 10px 0px 5px;
    display: inline-block;
    width: 29%;
    vertical-align: top;
    box-sizing: border-box;
   float:none;
}

#blog-news {
    overflow: hidden;
    display: table;
    margin: 0 auto;
    text-align:center;
}
#sidebar_news .blog-photo{
    padding: 5px;
    border-radius: 20%;
    display: inline-block;
    background: var(--color-bg);
    z-index:5;
}
.notice{
font-size: 13px;
line-height:22px;
    padding: 10px;
    border: dashed 2px var(--color-light);
    margin: 20px 10px;
}
#sidebar_news .img_avatar{
    border:2px dashed #0071B4;
    border-radius: 20%;
   padding:5px;
   display: block;
}
#sidebar_news #profile_block{
margin: 15px 0 10px 10px;
display: inline-block;
}
#blog-calendar {
	width: 100%;
    box-sizing: border-box;
    padding: 5px;
	border-radius: 8px;
	
}
#blog-calendar>table{
    box-shadow: 5px 5px 10px var(--color-boxs-dark), -5px -5px 10px var(--color-boxs-light);
}
.CalTitle {
    width: 100%;
    background: transparent;
    border-bottom: none;
}
#blog-calendar .CalNextPrev a:link, 
#blog-calendar .CalNextPrev a:visited,
#blog-calendar .CalNextPrev a:active {
    font-weight: normal;
    background-color: transparent;
}
#blog-calendar .CalTitle tr{
	border:none;
}
.CalDayHeader {
    border-bottom: none;
}
#blog-calendar tr {
    border: 1px solid #e4e4e4;
}
td.CalOtherMonthDay {
    color: #c0c0c0;
}
.CalTitle td,
.CalTitle th{
	padding: 5px;
}
td, th {
    padding: 12px 0px;
    font-weight: 400;
}
.CalTodayDay {
	color: var(--color-light);
	box-shadow: 5px 5px 10px var(--color-boxs-dark), -5px -5px 10px var(--color-boxs-light);
	border-radius: 8px;
	transition: box-shadow .2s ease-in-out,opacity .2s ease-in-out;
}
.CalTodayDay:hover {
    box-shadow: 2px 2px 5px var(--color-boxs-dark),-2px -2px 5px var(--color-boxs-light);
}
#blog-calendar table a:hover {
    color: var(--color-light);
    text-decoration: none;
	background-color: transparent;
	transition: color .2s ease-in-out;
}
.sidebar-block,
#sidebar_categories{
    padding: 0 5px;
}
#leftcontentcontainer>div>div>div{

    text-decoration: none;
    border: none;
    transition: box-shadow .2s ease-in-out,opacity .2s ease-in-out;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    box-shadow: 5px 5px 10px var(--color-boxs-dark),-5px -5px 10px var(--color-boxs-light);
	padding: 1.5em 1em;
	margin:40px 0;
    border-radius: 8px;
}
.catListTitle{
	position: relative;
	color: var(--color-font);
	background-color: #ffe9da;
	font-size: 16px;
    margin: 0 0 1em;
    border: none;
    line-height:2.5em;
z-index: -1;
}
#leftcontentcontainer div a{

	margin:5px 0;
}

#leftcontentcontainer div li{
	line-height:2em;
}
.catListComment div{
	line-height:2em;
}

#mainContent .day,
.entrylistItem{
    -webkit-box-shadow: 0px 6px 40px 0px rgba(0, 0, 0, 0.06);
    box-shadow: 0px 6px 40px 0px rgba(0, 0, 0, 0.06);
	margin: 40px;
	padding:20px;
}
.dayTitle {
    color: var(--color-light);
	margin-bottom: 10px;
	padding-bottom:10px;
    border-bottom: 2px solid var(--color-bg);
    text-align: left;
}
.dayTitle a{
    color: var(--color-light);
}
.postTitle {
	font-size:1.5em;
	
	float:none;
	border-bottom: none;
	color: var(--color-light);
}
.postTitle a:link, .postTitle a:visited, .postTitle a:active {
	color: var(--color-light);
   /* display:block; */
}
.c_b_p_desc {
    line-height: 2.5;
    font-size: 13px;
}
.postDesc{
font-size:12px;
color:#777;
}
.postDesc a:link, .postDesc a:visited, .postDesc a:active {
    color: var(--color-light);
}
.postSeparator {
	border-top: 2px dashed var(--color-dashed);
    margin: 20px auto 10px;
}
#footer{
        margin-top:40px;
	padding:30px 0 15px;
	border-top:solid 10px var(--color-bg);
	border-bottom:solid 3px var(--color-bg);
}
/*分类页*/
.entrylistTitle, .PostListTitle, .thumbTitle {
    color: var(--color-dashed);
    text-align: left;
    margin-bottom: 10px;
    margin-left:20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-bg);
}
.entrylistItem{
       -webkit-box-shadow: 0px 6px 30px 0px rgba(0, 0, 0, 0.06);
       box-shadow: 0px 6px 30px 0px rgba(0, 0, 0, 0.06);
	margin: 40px;
	padding:20px;
        width:auto;
}
.entrylistPosttitle{
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-bg);
}
.entrylistItemTitle:link, .entrylistItemTitle:visited, .entrylistItemTitle:active {
   color: var(--color-light);
}
.entrylistItemTitle:hover{
   color: var(--color-dashed);
}
/*标签页*/
.PostList {
    border-bottom: none;
    border-left: solid  5px var(--color-dashed);
    clear: both;
    padding: 2px 5px 2px 12px;
   margin-bottom: 20px;
}

/*文章页*/
#post_detail{
overflow:hidden;
margin:10px 20px;
}
#topics .postTitle {
    padding-bottom:10px;
    border-bottom: 1px solid var(--color-light);
}
#post_detail h2{
font-size: 19px;
text-shadow: 5px 0 10px var(--color-light);
letter-spacing: 2px;
}
#post_detail h3{
font-size: 17px;
text-shadow: 5px 0 10px var(--color-light);
letter-spacing: 2px;
}
#cnblogs_post_body  p {
    line-height: 2;
    margin:0;
    font-family: Raleway,Helvetica,arial;
}
#cnblogs_post_body ul li{
    margin: 0;
}
.c_ad_block{
display:none;
}
/*页数*/
.topicListFooter {
    text-align: center;
    margin:auto;
}
.topicListFooter a{
color:  var(--color-dashed);
}
.topicListFooter a:hover{
color:  var(--color-light);
}
.pager,#myposts .pager {
    text-align: center;
    margin:auto;
   color:  var(--color-light);
}
.pager a {
    border: none;
    color:  var(--color-dashed);
    margin: 0;
    padding: 2px 7px;
    text-decoration: none;
}


/*文章页自定义*/
.ch3{
background: #f1f3f5;
border-radius: 16px;
box-shadow: 5px 5px 5px #ccc;
color: var(--color-light);
font-size: 17px;
font-weight: bold;
margin:10px 10px 10px 0 !important;
padding-left:20px !important;
}
.ch1{
box-shadow: 0px 0px 3px 3px rgba(254, 90, 133, 0.45);
    padding: 10px;
    margin: 0 auto;
    background-color: #fe5b85;
    color: #fff;
    font-weight: 550;
}
.perface{
   box-shadow: 5px 1px 7px #989898;
    padding: 10px;
    text-shadow: 1px 1px 1px #FFF;
    border-left: solid 5px #55895B;
    background: #F3F3F3;
    border-radius: 10px 50% 10px 10px;
}
.title_1{
    box-shadow: 5px 1px 7px #989898;
    padding: 0px 10px;
    text-shadow: 1px 1px 1px #FFF;
    border-left: solid 5px #55895B;
    background: #F3F3F3;
    border-radius: 10px 50% 10px 10px;
    margin-right: 15px !important;
}
.preface{
   box-shadow: 5px 1px 7px #989898;
    padding: 10px;
    text-shadow: 1px 1px 1px #FFF;
    border-left: solid 5px #55895B;
    background: #F3F3F3;
    border-radius: 10px 15px 5px 10px;
}

#cnblogs_post_body .preface{
   margin-right:10px;
   margin-top:15px;
}
#cnblogs_post_body .perface{
   margin-right:10px;
  margin-top:15px;
}

#table1{
}
#table1 td{
padding:5px;
}
.cnblogs_code {
   border:none;
    box-shadow: inset 3px 3px 6px #e4e2e2, inset -6px -6px 12px #f3f3f3;
  padding:10px;
}
/*内容详情页a标签css*/
.blogpost-body a:link, .blogpost-body a:visited, .blogpost-body a:active {
    color: red;
    text-decoration: none;
    transition: all 0.3s linear 0s;
}
.blogpost-body a:hover {
    color: #000;
    text-decoration: underline;
}

/*标题css*/
.postTitle a {
    text-shadow: 0 0 1px white;
    font-size: 18px;
   padding-right:10px;
  line-height: 1.3;
}
.postTitle a:link, .postTitle a:visited, .postTitle a:active {
    transition: all .3s ;
}
.postTitle a:hover {
   color: var(--color-hover-purple);
    margin-left: 10px;
    text-decoration: none;
    padding-right:0;
}
.entrylistItemTitle {
    text-shadow: 0 0 1px white;
    font-size: 18px;
   font-weight:bold;
}
.entrylistItemTitle:link, .entrylistItemTitle:visited, .entrylistItemTitle:active {
    transition: all .3s ;
}
#topics .entrylistItemTitle:hover {
   color: red;
    margin-left: 20px;
    text-decoration: none;
}

/*雪花效果*/
#Snow{
    position: fixed;
     top: 0;
     left: 0;
     width: 100%;
      height: 100%;
     z-index: 99999;
      pointer-events: none;
}

/*好看的滚动条*/
::-webkit-scrollbar{
    width:10px!important;
    height:10px!important;
    -webkit-appearance:none;
}
::-webkit-scrollbar-thumb{
    height:5px;border:1px solid transparent;
    border-top:none;border-bottom:none;
    -webkit-border-radius:6px;
    background-color:rgba(0,0,0,.3);
    background-clip:padding-box;
}
/*首页导航二级目录样式*/
#navList li span{
     position: absolute;
    top: 100%;
    display:none;
    border: dashed 2px var(--color-dashed);
    box-shadow: 3px 5px 5px #ccc;
    border-radius: 5px 5px 20px 20px;
    background: rgba(211,236,232,.7);
    padding: 5px 10px;
   margin-left: -50px;
   transition: 1s all ;
}
#navList li:hover span{
display:block;
}
#navList li span a{
display:block;
width:100%;
text-align: left;
}
/*随笔目录样式*/
#sidebar_scroller{
text-decoration: none;
    border: none;
    transition: box-shadow .2s ease-in-out,opacity .2s ease-in-out;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    box-shadow: 5px 5px 10px var(--color-boxs-dark),-5px -5px 10px var(--color-boxs-light);
    padding: 1.5em 1em;
    margin: 40px 0;
    border-radius: 8px;
   box-sizing: border-box;
}
#sidebar_scroller .active a{
   color:var(--color-light);
}
.scroller-offset2{
padding-left:15px;
font-size:12px;
}
/*返回顶部*/
#scrollTop{
            position:fixed;
            bottom: 20px;
            right: 20px;
            height: 0px;
            width:  45px;
            line-height: 45px;
            text-align: center;
            background-color: rgba(0,0,0,.7);
            color: #fff;
            font-weight: 600;
            border-radius: 45%;
            font-size: 13px;
            transition: .5s all;
        }
/* 找一找 */       
.input_my_zzk {
    width: calc(100% - 66px);
    height: 30px;
    border-radius: 10px;
    border: solid 1px #ffe9da;
    outline: none;
    padding: 0 5px;
    color: var(--color-light);
}
input.btn_my_zzk {
    height: 31px;
    background: white;
    border: solid 2px #ffe9da;
    font-weight: 600;
    outline: none;
}
/* 随笔分类/文章分类/我的标签*/
#sidebar_postcategory ul li,
#sidebar_articlecategory ul li,
#sidebar_toptags  ul li{
display: inline-block !important;
    margin: 0 10px;
}

/* 移动端样式 */
@media screen and (max-width:768px){
    body > #home::before {
        width: calc(100% - 20px);
        height: calc(100% - 20px);
        left: 7px;
        top: 7px;
    }
    body > #home::after {
        width: calc(100% - 40px);
        height: calc(100% - 40px);
        top: 20px;
        left: 20px;
        bottom: 10px;
    }
    #home {
        padding: 40px 20px;
    }
    #mainContent {
        width: 100%;
    }
    #navigator{
        display: none;
    }
    #mainContent .day, .entrylistItem {
        -webkit-box-shadow: none;
        box-shadow: none;
        margin: 0;
        padding: 0;
    }
    #main {
        margin: 5px 10px;
    }
    #sidebar_search .input_my_zzk {
    width: calc(100% - 66px);
    }
}