/*
————————老页面css
*/

#home {
    display: none;
}
body{
    background-color: black;
}


/*隐藏头部信息条*/
#top_nav {
    display: none;
}




/*
————————新页面css
*/
#s_body {
    margin: 0px;
    padding: 0px;
    background-color: black;
    width: 100%;
    height: auto;
    min-height: 400px;

}

#s_header {
    margin: 0px;
    padding: 0px;
    background-color: black;
    width: 100%;
    height: auto;
    min-height: 400px;
    overflow: hidden;
}

/*头部背景图*/
.s_title_img_class {
min-height: 800px !important;
}

/*头部菜单*/
#s_menu_img {
    width: 90px;
    height: 45px;
    /*background: url("https://i.loli.net/2020/06/22/NJ4FoM5UqepHZ7L.png") no-repeat;*/
    background-size: 100% 100%;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 999;
}

#s_menu_button {
    width: 100%;
    height: 100%;
    border-radius: 2.5rem;
    color: white;
    font-family: "Open Sans", Helvetica, "Microsoft Yahei", sans-serif;
    font-weight: 300;
    cursor: pointer;
    background-color: rgba(44, 42, 42, 0.9);
    border: solid 1px white;
    z-index: 998;
}

#s_menu_button {
    transition: all 1s;
    /*    color: black;*/
    /*    background-color: white;*/
    /*    !*border: solid 1px white;*!*/
}

/*#s_menu_img:hover{*/
/*    cursor: pointer;*/
/*}*/

#s_menu {
    width: 300px;
    /*height: 400px;*/
    min-height: 100px;
    background-color: #191919;
    position: fixed;
    top: 0px;
    left: -300px;
    overflow: auto
    /*display: none;*/
    /*transition:all 3s;*/;
}

/*头像*/
#s_avatar_div {
    width: 300px;
    height: 120px;
    /*background-color: #605C3C;*/
    text-align: center;
    padding-top: 70px;
}

#s_avatar_div img {
    border-radius: 50%;
    height: 100%;
}

#s_search_div {
    width: 300px;
    height: 60px;
    background-color: #131313;
}

#s_nav_div {
    width: 300px;
    height: 100px;
    /*background-color: #EDE574;*/
}

/*搜索按钮*/
#search_img {
    background: url(https://files-cdn.cnblogs.com/files/samsaramax/search.bmp) no-repeat;
    background-size: 100% 100%;
    width: 30px;
    height: 30px;
    margin-top: 15px;
    border: solid 0px;
    cursor: pointer;
    float: left;
    right: -115px;
}

#q {
    height: 30px;
    float: left;
    width: 200px;
    margin-top: 15px;
    padding-right: 0px;
    margin-left: 45px;
    background-color: #131313;
    border: solid 0px;
    color: #f4645f;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    text-align: center;
    font-size: 1rem;
    font-family: 'Mirages Custom', 'Merriweather', 'Open Sans', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft Yahei', 'WenQuanYi Micro Hei', 'Segoe UI Emoji', 'Segoe UI Symbol', Helvetica, Arial, sans-serif;

}

/*导航区*/
#s_nav_div .nav_ul li {
    text-align: center;
    font-size: 1.3rem;
    line-height: 3rem;
    font-weight: 400;
    color: #ccc;
}

.nav_li:hover {
    background-color: #2C2A2A;
}

#s_nav_div ul li:hover {
    transition: all 0.5s;
    color: white;
}


/*分类栏*/

#s_nav_class_div {
    background-color: #131313;
    display: none;
}

#s_nav_class_div ul {
    padding-top: 10px;
}


#s_nav_class_div ul li {
    display: inline-block;
    width: 100%;
    line-height: 2rem !important;
}

#s_nav_class_div ul li a {
    display: inline-block;
    width: 80%;
    height: 35px;
    margin-top: 1px;
    background-color: #2c2a2a;
    border-radius: .3125rem;
    font-size: 1rem;
    color: #ccc;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    font-size: 1rem;
    line-height: 2rem;
}

#s_nav_class_div ul li a:hover {
    background-color: #444;
    color: white;
}


/*标签栏*/

#s_nav_tag_div {
    background-color: #131313;
    display: none;
}

#s_nav_tag_div ul {
    padding-top: 10px;
}


#s_nav_tag_div ul li {
    display: inline-block;
    width: 48.4%;
    line-height: 2.2rem !important;
}

#s_nav_tag_div ul li a {
    display: inline-block;
    width: 80%;
    height: 50px;
    margin-top: 1px;
    background-color: #2c2a2a;
    border-radius: .3125rem;
    font-size: 1rem;
    color: #ccc;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    font-size: 1rem;
    line-height: 3rem;
}

#s_nav_tag_div ul li a:hover {
    background-color: #444;
    color: white;
}

#s_nav_tag_div ul li:nth-of-type(2n-1) a {
    margin-left: 20px;
}

#s_nav_tag_div ul li:nth-of-type(2n) a {
    margin-right: 20px;
}


/*归档栏*/

#s_nav_archive_div {
    background-color: #131313;
    display: none;
}

#s_nav_archive_div ul {
    padding-top: 10px;
}


#s_nav_archive_div ul li {
    display: inline-block;
    width: 100%;
    line-height: 2rem !important;
}

#s_nav_archive_div ul li a {
    display: inline-block;
    width: 80%;
    height: 35px;
    margin-top: 1px;
    background-color: #2c2a2a;
    border-radius: .3125rem;
    font-size: 1rem;
    color: #ccc;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    font-size: 1rem;
    line-height: 2rem;
}

#s_nav_archive_div ul li a:hover {
    background-color: #444;
    color: white;
}


/*设置栏*/
#s_setting_div {
    width: 300px;
    height: 80px;
    left: -300px;
    /* position: absolute; */
    bottom: 0px;
    position: fixed;
    background-color: #131313;
    text-align: center;
}

/*主体*/
/*文章列表*/

#s_container .forFlow {
    text-align: center;
}

.ArticleTitle {
    margin: 0px auto;
    height: 18.5rem;
    border-radius: .3125rem;
    overflow: hidden;
    width: 50%;
}
/* old
.ArticleTitle .ArticleTitleContent {
    line-height: 2rem;
    font-size: 2em;
    width: 100%;
    height: 100%;
    display: inline-block;
    color: white;
    -webkit-font-smoothing: antialiased;
} */

.ArticleTitle .ArticleTitleContent {
    font-size: 2em;
    color: white;
    -webkit-font-smoothing: antialiased;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-decoration: none;
}

/*公式处理
ele:nth-of-type(n)是指父元素下第n个ele元素，如果ele为类选择器，最终匹配的是那个类对应的标签所占下标 不是匹配的那个类所占位置下标
而ele:nth-child(n)是指父元素下第n个元素且这个元素为ele，若不是，则选择失败。
#s_container 下很多元素 不只有 .ArticleTitle，
所以用nth-of-type
an+b:  a为周期，6个颜色，a=6*/

/*第1渐变*/
.ArticleTitle:nth-of-type(30n+1) {
    transition: all 0.3s;
    color: white;
    background: linear-gradient(90deg, #403B4A, #E7E9BB);

}

.ArticleTitle:nth-of-type(30n+1):hover {
    transform:scale(1.05);
    background: linear-gradient(90deg, #E7E9BB, #403B4A);

}

/*第2渐变*/
.ArticleTitle:nth-of-type(30n+6) {
    transition: all 0.3s;
    color: red;
    background: linear-gradient(90deg, #EDE574, #E1F5C4);
}

.ArticleTitle:nth-of-type(30n+6):hover {
    transform:scale(1.05);
    background: linear-gradient(90deg, #E1F5C4, #EDE574);
}

/*第3渐变*/
.ArticleTitle:nth-of-type(30n+11) {
    transition: all 0.3s;

    background: linear-gradient(90deg, #3C3B3F, #605C3C);
}

.ArticleTitle:nth-of-type(30n+11):hover {
    transform:scale(1.05);
    background: linear-gradient(90deg, #605C3C, #3C3B3F);

}

/*第4渐变*/
.ArticleTitle:nth-of-type(30n+16) {
    transition: all 0.3s;
    background: linear-gradient(90deg, #DD5E89, #F7BB97);
}

.ArticleTitle:nth-of-type(30n+16):hover {
    transform:scale(1.05);
    background: linear-gradient(90deg, #F7BB97, #DD5E89);
}

/*第5渐变*/
.ArticleTitle:nth-of-type(30n+21) {
    transition: all 0.3s;
    background: linear-gradient(90deg, #00b09b, #96c93d);
}

.ArticleTitle:nth-of-type(30n+21):hover {
    transform:scale(1.05);
    background: linear-gradient(90deg, #96c93d, #00b09b);
}

/*第6渐变*/
.ArticleTitle:nth-of-type(30n+26) {
    transition: all 0.3s;
    background: linear-gradient(90deg, #2193b0, #6dd5ed);
}

.ArticleTitle:nth-of-type(30n+26):hover {
    transform:scale(1.05);
    background: linear-gradient(90deg, #6dd5ed, #2193b0);
}

/*分页模块*/
#nav_next_page {
    padding: 0px 0px 35px 0px !important;
}

#nav_next_page a {
    font-size: 1.5em;
    border: 1px solid;
    border-radius: 2.5rem;
    width: 120px;
    display: inline-block;
    height: 40px;
    line-height: 40px;
    margin-right: 0px;
    color: white;
}

#nav_next_page a:hover {
    background-color: white;
    color: black;
}


/*#homepage_top_pager {*/
/*    display: none;*/
/*}*/

#homepage_bottom_pager {
    padding: 0px 0px 40px 0px !important;
}

#homepage_bottom_pager a {
    display: none;
}

#homepage_bottom_pager a:nth-of-type(1) {
    font-size: 1.5em;
    border: 1px solid;
    border-radius: 2.5rem;
    width: 120px;
    display: inline-block;
    height: 40px;
    line-height: 40px;
    margin-right: 15%;
    color: white;
}

#homepage_bottom_pager a:nth-of-type(1):hover {
    background-color: white;
    color: black;
}

#homepage_bottom_pager a:nth-last-of-type(1) {
    font-size: 1.5em;
    border: 1px solid;
    border-radius: 2.5rem;
    width: 120px;
    display: inline-block;
    height: 40px;
    line-height: 40px;
    margin-left: 15%;
    color: white;
}

#homepage_bottom_pager a:nth-last-of-type(1):hover {
    background-color: white;
    color: black;
}

/*分类页面*/
.entrylistTitle {
    margin-bottom: 80px;
    height: 38px;
    line-height: 0px;
    font-size: 30px;
    border-bottom: 2px solid #e6e6e6;
    color: white;
}

.entrylistItemPostDesc {
    display: none;
}

/*分类列表*/
/*第1渐变*/
.entrylist .entrylistItem:nth-of-type(6n+1) .categoryTitle {
    transition: all 0.3s;
    color: white;
    background: linear-gradient(90deg, #3C3B3F, #605C3C);
}

.entrylist .entrylistItem:nth-of-type(6n+1) .categoryTitle:hover {
    transform:scale(1.05);
    background: linear-gradient(90deg, #605C3C, #3C3B3F);
}

/*第2渐变*/
.entrylist .entrylistItem:nth-of-type(6n+2) .categoryTitle {
    transition: all 0.3s;
    color: red;
    background: linear-gradient(90deg, #EDE574, #E1F5C4);
}

.entrylist .entrylistItem:nth-of-type(6n+2) .categoryTitle:hover {
    transform:scale(1.05);
    background: linear-gradient(90deg, #E1F5C4, #EDE574);
}

/*第3渐变*/
.entrylist .entrylistItem:nth-of-type(6n+3) .categoryTitle {
    transition: all 0.3s;
    background: linear-gradient(90deg, #403B4A, #E7E9BB);
}

.entrylist .entrylistItem:nth-of-type(6n+3) .categoryTitle:hover {
    transform:scale(1.05);
    background: linear-gradient(90deg, #E7E9BB, #403B4A);
}

/*第4渐变*/
.entrylist .entrylistItem:nth-of-type(6n+4) .categoryTitle {
    transition: all 0.3s;
    background: linear-gradient(90deg, #DD5E89, #F7BB97);
}

.entrylist .entrylistItem:nth-of-type(6n+4) .categoryTitle:hover {
    transform:scale(1.05);
    background: linear-gradient(90deg, #F7BB97, #DD5E89);
}

/*第5渐变*/
.entrylist .entrylistItem:nth-of-type(6n+5) .categoryTitle {
    transition: all 0.3s;
    background: linear-gradient(90deg, #00b09b, #96c93d);
}

.entrylist .entrylistItem:nth-of-type(6n+5) .categoryTitle:hover {
    transform:scale(1.05);
    background: linear-gradient(90deg, #96c93d, #00b09b);
}

/*第6渐变*/
.entrylist .entrylistItem:nth-of-type(6n+6) .categoryTitle {
    transition: all 0.3s;
    background: linear-gradient(90deg, #2193b0, #6dd5ed);
}

.entrylist .entrylistItem:nth-of-type(6n+6) .categoryTitle:hover {
    transform:scale(1.05);
    background: linear-gradient(90deg, #6dd5ed, #2193b0);
}

.entrylist .entrylistItem .categoryTitle {
    margin: 0px auto;
    height: 18.5rem;
    border-radius: .3125rem;
    overflow: hidden;
    width: 50%;
    color: white;
    /*background: linear-gradient(90deg, #3C3B3F, #605C3C);*/
}

.entrylist .entrylistItem .categoryTitle a {
    line-height: 2rem;
    font-size: 2em;
    width: 100%;
    height: 100%;
    display: inline-block;
    color: white;
    -webkit-font-smoothing: antialiased;
}

.entrylist .entrylistItem .categoryTitle a span {
    width: 70%;
    display: inline-block;
    margin-top: 12.5%;
}

/*标签页面*/
.PostListTitle {
    margin-bottom: 80px;
    height: 38px;
    line-height: 0px;
    font-size: 30px;
    border-bottom: 2px solid #e6e6e6;
    color: white;
}

#myposts {
    margin-left: 0px !important;
    padding-bottom: 20px !important;
}

.tagList .postDesc2 {
    display: none;
}

.tagList .postText2 {
    margin-bottom: 80px !important;
}

#myposts .tagList .tagTitle {
    margin: 0px auto;
    height: 18.5rem;
    border-radius: .3125rem;
    overflow: hidden;
    width: 50%;
    color: white;
    background: linear-gradient(90deg, #3C3B3F, #605C3C);
}

#myposts .tagList .tagTitle a {
    line-height: 2rem;
    font-size: 2em;
    width: 100%;
    height: 100%;
    display: inline-block;
    color: white;
    -webkit-font-smoothing: antialiased;
}

#myposts .tagList .tagTitle a span {
    width: 70%;
    display: inline-block;
    margin-top: 15.5%;
}
/*标签列表*/
/*第1渐变*/
#myposts .tagList:nth-child(6n+1) .tagTitle {
    transition: all 0.3s;
    color: white;
    background: linear-gradient(90deg, #3C3B3F, #605C3C);
}

#myposts .tagList:nth-child(6n+1) .tagTitle:hover {
    transform:scale(1.05);
    background: linear-gradient(90deg, #605C3C, #3C3B3F);
}

/*第2渐变*/
#myposts .tagList:nth-child(6n+2) .tagTitle {
    transition: all 0.3s;
    color: red;
    background: linear-gradient(90deg, #EDE574, #E1F5C4);
}

#myposts .tagList:nth-child(6n+2) .tagTitle:hover {
    transform:scale(1.05);
    background: linear-gradient(90deg, #E1F5C4, #EDE574);
}

/*第3渐变*/
#myposts .tagList:nth-child(6n+3) .tagTitle {
    transition: all 0.3s;
    background: linear-gradient(90deg, #403B4A, #E7E9BB);
}

#myposts .tagList:nth-child(6n+3) .tagTitle:hover {
    transform:scale(1.05);
    background: linear-gradient(90deg, #E7E9BB, #403B4A);
}

/*第4渐变*/
#myposts .tagList:nth-child(6n+4) .tagTitle {
    transition: all 0.3s;
    background: linear-gradient(90deg, #DD5E89, #F7BB97);
}

#myposts .tagList:nth-child(6n+4) .tagTitle:hover {
    transform:scale(1.05);
    background: linear-gradient(90deg, #F7BB97, #DD5E89);
}

/*第5渐变*/
#myposts .tagList:nth-child(6n+5) .tagTitle {
    transition: all 0.3s;
    background: linear-gradient(90deg, #00b09b, #96c93d);
}

#myposts .tagList:nth-child(6n+5) .tagTitle:hover {
    transform:scale(1.05);
    background: linear-gradient(90deg, #96c93d, #00b09b);
}

/*第6渐变*/
#myposts .tagList:nth-child(6n+6) .tagTitle {
    transition: all 0.3s;
    background: linear-gradient(90deg, #2193b0, #6dd5ed);
}

#myposts .tagList:nth-child(6n+6) .tagTitle:hover {
    transform:scale(1.05);
    background: linear-gradient(90deg, #6dd5ed, #2193b0);
}


/*归档页面*/
.entrylistTitle {
    margin-bottom: 80px;
    height: 38px;
    line-height: 0px;
    font-size: 30px;
    border-bottom: 2px solid #e6e6e6;
    color: white;
}

.entrylistItemPostDesc {
    display: none;
}

/*归档列表*/
/*第1渐变*/
.entrylist .entrylistItem:nth-of-type(6n+1) .archiveTitle {
    transition: all 0.3s;
    color: white;
    background: linear-gradient(90deg, #3C3B3F, #605C3C);
}

.entrylist .entrylistItem:nth-of-type(6n+1) .archiveTitle:hover {
    transform:scale(1.05);
    background: linear-gradient(90deg, #605C3C, #3C3B3F);
}

/*第2渐变*/
.entrylist .entrylistItem:nth-of-type(6n+2) .archiveTitle {
    transition: all 0.3s;
    color: red;
    background: linear-gradient(90deg, #EDE574, #E1F5C4);
}

.entrylist .entrylistItem:nth-of-type(6n+2) .archiveTitle:hover {
    transform:scale(1.05);
    background: linear-gradient(90deg, #E1F5C4, #EDE574);
}

/*第3渐变*/
.entrylist .entrylistItem:nth-of-type(6n+3) .archiveTitle {
    transition: all 0.3s;
    background: linear-gradient(90deg, #403B4A, #E7E9BB);
}

.entrylist .entrylistItem:nth-of-type(6n+3) .archiveTitle:hover {
    transform:scale(1.05);
    background: linear-gradient(90deg, #E7E9BB, #403B4A);
}

/*第4渐变*/
.entrylist .entrylistItem:nth-of-type(6n+4) .archiveTitle {
    transition: all 0.3s;
    background: linear-gradient(90deg, #DD5E89, #F7BB97);
}

.entrylist .entrylistItem:nth-of-type(6n+4) .archiveTitle:hover {
    transform:scale(1.05);
    background: linear-gradient(90deg, #F7BB97, #DD5E89);
}

/*第5渐变*/
.entrylist .entrylistItem:nth-of-type(6n+5) .archiveTitle {
    transition: all 0.3s;
    background: linear-gradient(90deg, #00b09b, #96c93d);
}

.entrylist .entrylistItem:nth-of-type(6n+5) .archiveTitle:hover {
    transform:scale(1.05);
    background: linear-gradient(90deg, #96c93d, #00b09b);
}

/*第6渐变*/
.entrylist .entrylistItem:nth-of-type(6n+6) .archiveTitle {
    transition: all 0.3s;
    background: linear-gradient(90deg, #2193b0, #6dd5ed);
}

.entrylist .entrylistItem:nth-of-type(6n+6) .archiveTitle:hover {
    transform:scale(1.05);
    background: linear-gradient(90deg, #6dd5ed, #2193b0);
}

.entrylist .entrylistItem .archiveTitle {
    margin: 0px auto;
    height: 18.5rem;
    border-radius: .3125rem;
    overflow: hidden;
    width: 50%;
    color: white;
    /*background: linear-gradient(90deg, #3C3B3F, #605C3C);*/
}

.entrylist .entrylistItem .archiveTitle a {
    line-height: 2rem;
    font-size: 2em;
    width: 100%;
    height: 100%;
    display: inline-block;
    color: white;
    -webkit-font-smoothing: antialiased;
}

.entrylist .entrylistItem .archiveTitle a span {
    width: 70%;
    display: inline-block;
    margin-top: 12.5%;
}

