
/* Hearder 头部和导航栏 */
#blogTitle{
    text-align: center;
}
#blogTitle h2{
    display: inline-block;
    width: 100%;
}
#blogTitle h1 a:hover,#sideBar a:hover {
    color: #a441ff;
}
/* 侧边栏 author 简介 */
.personal-info-wrapper{
    transition: all .3s;
    box-shadow: 0 1px 4px 0 rgb(0 0 0 / 10%);
    border-radius: 0.25rem;
    margin: 4px;
    margin-bottom: 10px;
    padding: 10px 0 10px 0;
}
.personal-info-wrapper:hover{
box-shadow: 0 2px 8px 0 rgb(0 0 0 / 20%);
}
.personal-info-wrapper .num{
    display: flex;
    margin: 0 auto 1rem;
    width: 80%;
}

.personal-info-wrapper >a {
    display: inline-block;
    width: 100%;
    text-align: center;
    padding: 25px 0;
}
#blog-news .personal-info-wrapper .name {
    font-size: 1rem;
    text-align: center;
    padding-bottom: 15px;
}
.personal-info-wrapper .num>div:first-child {
    border-right: 1px solid #333;
}
.personal-info-wrapper .num>div {
    text-align: center;
    flex: 0 0 50%;
}
img.personal_img{
    width: 40%;
    border-radius: 50%;
}
.personal-info-wrapper .personal-img {
    display: block;
    margin: 2rem auto 1rem;
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
}
/* 侧边栏结束 */
body {
    padding-bottom: 1px;
    /* background-color: #9d57f28c; */
      /* 背景渐变色 - 原理2 */
      background: linear-gradient(-45deg, #f3785245, #e73c7e52, #23a6d552, #5eddbf4d);
      /* 背景尺寸 - 原理3 */
    background-size: 600% 600%;
      /* 循环动画 - 原理4 */
    animation: gradientBG 10s ease infinite;
}
}
a {
  color: #666;
  text-decoration: none;
}

a:hover {
  color: #111;
  text-decoration: none!important;
}
 #main #mainContent {
      margin-left: 0;
      width: 70%;
    }

#mainContent .forFlow {
    margin: 10px 10px 0 10px;
}
.postDesc{
    background: none;
    padding-left: 0;
    margin-top: 10px;
}
.postDesc>span{
    margin: 0 5px;

}

#home{
    height: 100%;
    width: 60%;
    min-width: 650px;
    margin-top: 30px;
    margin-bottom: 20px;
    border-radius:25px;
    padding-bottom: 10px;
}
/* 侧边栏的文章分类 */
#sideBar{
    width: 29%;
    margin: 0;
    max-width: 250px;
}

#navList>li:first-child{
    display: none;
}
#navList a:hover {
    color: #a441ff;
}
#sidebar_categories #sidebar_articlecategory ul li{
    /* margin-bottom: 0.4rem; */
    margin: 0.4rem;
    padding: 0.4rem 0.8rem;
    transition: all .5s;
    border-radius: 0.25rem;
    box-shadow:  0 1px 8px 0 rgba(0, 0, 0, 0.1);
}
#sidebar_categories #sidebar_articlecategory ul li:hover{
    transform: scale(1.04);
    cursor: pointer;
}
#sidebar_categories li a{
    color: #fff;
}
#sidebar_categories li a:hover{
    color: #fff;
    font-weight: 500;
}
a.category-item-link {
    display: inline-block;
    text-align: center;
    width: 100%;
}
/* 友链的样式 */
#friend1{
    border-radius:6px;
}
#friend1>h3 {
}
#friend1>ul {
    display: flex;
    flex-wrap: wrap;
}
#friend1>ul>li {
    flex: 33%;
    display: inline-block;
    text-align: center;
    height: 25px;
    line-height: 25px;
    /* cursor: pointer; */
    /* transition: all 0.3s ease; */
    /* background-color: #fff; */
    margin: 5px;
}
#friend1>ul>li a{
    display: inline-block;
    color: #111;
    border-radius: 4px;
    width: 100%;
    box-shadow: 0 1px 8px 0 rgb(0 0 0 / 10%);
}
#friend1>ul>li a:hover {
    color: #fff;
    font-weight: 500;
    background-color: #a441ff;
    transform: translatey(-2px);
    transition: all .5s ease;
}

#poweredby,#widget_my_google,#blog-calendar,#sidebar_search,#blog_nav_rss{
display: none!important;
}
/* 文章页的广告 */
#cnblogs_ch,#cnblogs_c1,#under_post_card1,#under_post_card2,#blog_post_info,.login_tips{
display: none;
}
.day,.entrylistItem{
    margin: 0 auto 20px;
    padding: 16px 20px;
    width: 100%;
    overflow: hidden;
    border-radius: 0.65rem;
    box-shadow: 0 1px 8px 0 rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    transition: all .3s;
    background-color: #fff;
    cursor: pointer;
}
.postTitle,.entrylistPosttitle {
    position: relative;
    border-left:none;
    margin-bottom: 0;
    padding-bottom: 10px;
    padding-left: 0;
}
.day .postTitle a,.entrylistItemTitle{
    display: inline-block;
    width: 100%;
    padding-left:0;
    color: #111111;
}
.day .postTitle a:hover,.entrylistPosttitle a:hover{
    color: #a441ff;
    margin-left: 0;
    color: ;
}
.postTitle a:hover  {
    
}
.postTitle:hover:after,.entrylistPosttitle:hover:after{
    visibility: visible;
    transform: scaleX(1);
}
.postTitle:after,.entrylistPosttitle:after{
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #a441ff;
    visibility: hidden;
    transform: scaleX(0);
    transition: .3s ease-in-out;
}

.postCon{
    padding: 5px 0;
}
.day:hover{
box-shadow: 0 2px 16px 0 rgba(0, 0, 0, 0.2);
}
.c_b_p_desc {
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    text-align: justify;
}

/* 多彩标签 */
#sideBarMain .catListTag ul{
    display: flex;
    flex-wrap: wrap;
    text-align: center;
}
#sideBarMain .catListTag li {
    flex: 33%;
    vertical-align: middle;
    margin: 4px 4px 10px;
    padding: 4px 8px;
    display: inline-block;
    cursor: pointer;
    border-radius: 0.25rem;
    color: #fff;
    line-height: 16px;
    font-size: 13px;
    box-shadow: 0 1px 8px 0 rgba(0, 0, 0, 0.1);;
    transition: all .5s;
}

.catListTag li:nth-child(9n),#sidebar_articlecategory ul li:nth-child(9n+8){
    background-color: #005cbf;
}
.catListTag li:nth-child(9n+1),#sidebar_articlecategory ul li:nth-child(9n+7){
    background-color: #99CCCC;
}
.catListTag li:nth-child(9n+2),#sidebar_articlecategory ul li:nth-child(9n+6){
    background-color:#FF6666;
}
.catListTag li:nth-child(9n+3),#sidebar_articlecategory ul li:nth-child(9n+5){
    background-color:#99CC66;
}
.catListTag li:nth-child(9n+4),#sidebar_articlecategory ul li:nth-child(9n+4){
    background-color:#FF9966;
}
.catListTag li:nth-child(9n+5),#sidebar_articlecategory ul li:nth-child(9n+3){
    background-color:#CC3399;
}
.catListTag li:nth-child(9n+6),#sidebar_articlecategory ul li:nth-child(9n+2){
    background-color:#666633;
}
.catListTag li:nth-child(9n+7),#sidebar_articlecategory ul li:nth-child(9n+1) {
    background-color:#009933;
}
.catListTag li:nth-child(9n+8),#sidebar_articlecategory ul li:nth-child(9n){
    background-color:#003366;
}
.catListTag li:hover{
    transform: scale(1.04);
    font-weight: 500;
    color: #fff;
}
#sideBar .catListTag li >a{
    color: #fff;
}
#sideBar .catListTag li >a:hover{
}
#home #footer{
    margin-top: 20px;
}
/* 下一页 */
#nav_next_page {
    font-weight: 500;
    display: inline-block;
    width: 60px;
    height: 30px;
    line-height: 30px;
    text-align:center;
    border-radius: 5px;
}
#nav_next_page a:hover,.pager a:hover{
    color: #fff;
    background-color: #a441ff;
}

#nav_next_page a,.pager a{
    display: inline-block;
    font-weight: 500;
    border-radius: 5px;
    box-shadow: 0 2px 16px 0 rgb(0 0 0 / 20%);
    transition: all .5s;
}
#nav_next_page a{
    width: 100%;
}
.forFlow>#homepage_top_pager:first-of-type{
display: none;
}
.pager a {
    border: none;
    padding: 2px 11px;
    color: #111111;
    background-color: #fff;
}
#comment_nav {
    display: none;
}
#tip_comment2+p{
    display: none;
}
/* 媒体查询 */
@media screen and (max-width: 767px) {
#home {
    min-height: 850px;
    border-radius:0;
    padding: 10px;
    margin-bottom:0;
}
#navigator {
    margin: 25px 10px 0 10px;
    padding: 0 10px;
}
.desc_img{
    display: none;
}
#home #sideBar {
    min-height: 0;
}
#sideBar{
    max-width: inherit;
}

#friend1>ul>li {
    flex: 1;
}
#home #mainContent .forFlow {
    margin: 10px 10px 0 10px!important;
}
#home #blog_nav_rss{
display: block!important;
}
.skin-simplememory #home #main{
    padding: 0;
}
 .skin-simplememory #sideBar #sideBarMain{
    padding: 0;
    display: none;
}
.blogStats{
    display: none;
}
/* 文章详情页 */
#home #comment_form{
    margin: 0;
}
}
/* 媒体查询结束 */

/* 代码高亮 */
pre code.hljs {
      display: block;
      overflow-x: auto;
    border-radius: 10px;
    }
    #cnblogs_post_body .highlighter-hljs{
    }
    code.hljs {

    }
    #cnblogs_post_body>pre {
    margin: 0 auto;
}
    .hljs {
      color: #abb2bf;
      background: #282c34
    }
    
    .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 .hljs-string,
    .hljs-regexp,
    .hljs-string {
      color: #98c379
    }
    
    .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-built_in,
    .hljs-class .hljs-title,
    .hljs-title.class_ {
      color: #e6c07b
    }
    
    .hljs-emphasis {
      font-style: italic
    }
    
    .hljs-strong {
      font-weight: 700
    }
    
    .hljs-link {
      text-decoration: underline
    }

 /* 动画函数 */
    @keyframes gradientBG {
      0% {
        background-position: 0% 50%;
      }
      50% {
        background-position: 100% 50%;
      }
      100% {
        background-position: 0% 50%;
      }
    }


