@charset "UTF-8";
/*
Theme Name: 一本书
Theme URI: https://x09.cn
Author: 零九
Author URI: https://x09.cn
Version: 0.9
*/
@import "res/imgbox.css";
:root{
    --base-backgrundcolor:#c4d4cf;
    --base-backgrundcolor-desk:#baccc5;
    --base-backgrundcolor-dark:#262626;
    --base-backgrundcolor-desk-dark:#222;
}
*, *:after, *:before {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    height: 100%;
    width: 100%;
    font-size: 20px;
}
body {
    background: var(--base-backgrundcolor-desk);
    background-attachment: fixed;
    height: 100%;
    font-family: 'LXGW WenKai';
    overflow-y:scroll;
}

a {
    text-decoration: none;
    color: #009999
}

a:hover {
    text-decoration: none;
    color: #009999
}

#header {
    height: 110px;
    padding: 20px;
}

#header h1 {
    font-size: 30px
}
.header {
    /* font-family: 'font1680' */
    font-weight: bold;
}
#home {
    position: relative;
    width: 720px;
    height: 900px;
}

#home>.description {
    position: absolute;
    display: flex;
    justify-content: center;
    bottom: calc(50% - 150px);
    width: 100%;
    height: 150px;
    line-height: 150px;
    font-size: 2.5em;
    text-align: center;
    transform: skewY(-6deg);
    font-weight: bold;
}

#catlog_bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 400px;
    height: 100%;
    z-index: 20;
    opacity: 0.8;  
}
#catlog_bg:hover{
    opacity: 1;  
}
.catlog_bg_hide {
    left: -270px!important;
    opacity: 0.3!important;  
    -webkit-transition-property: left,opacity;
    -webkit-transition-duration: 1.5s;
    transition-property: left,opacity;
    transition-duration: 1.5s;
}
.catlog_bg_show {
    left: 0px!important;
    opacity: 1!important;  
    -webkit-transition-property: left,opacity;
    -webkit-transition-duration: 1.5s;
    transition-property: left,opacity;
    transition-duration: 1.5s;
}
.catlog_bg_show_fast {
    left: 0px!important;
    opacity: 1!important;  
    -webkit-transition-property: left,opacity;
    -webkit-transition-duration: 0.5s;
    transition-property: left,opacity;
    transition-duration: 0.5s;
}
#m_nav {
    width: 50px;
    height:50px;
    /* background-color: rgb(37, 99, 18); */
    position: fixed;
    bottom: 100px;
    /* top:800px; */
    left: 250px;
    z-index: 99;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
    cursor: pointer;
}

.m_navb {
    height: 6px;
    position: absolute;
    background: rgb(97, 113, 128);
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
    border-radius: 2px;
}

.m_nav_a {
    left: 19px;
    top: 13px;
    width: 25px;
    transform: rotate(30deg)!important;
}

.m_nav_b {
    top: 20px;
    width: 40px;
    left: 5px;
}

.m_nav_c {
    left: 19px;
    top: 27px;
    width: 25px;
    transform: rotate(-30deg)!important;
}
.m_nav_sel{
    left: 400px!important;
    /* margin-left: 380px!important;; */
}
.m_nav_sel>.m_navb {
    background: rgb(168, 151, 113)
}

.m_nav_sel>.m_nav_c {
    left: 5px;
    transform: rotate(30deg)!important;
    /* top: 140px!important; */
    /* opacity: 0 */
}

.m_nav_sel>.m_nav_b {
    transform: rotate(0deg)!important;

}

.m_nav_sel>.m_nav_a {
    transform: rotate(-30deg)!important;
    left: 5px;
    /* top: 35px */
}
#catlogButton{
    position:absolute;
    top: 0;
    right:0;
    width: 0%;
    height: 100%;
    /* background-color: chartreuse; */
    z-index: 1;
    /* pointer-events: none; */
    cursor: pointer;
    /* overflow-y: scroll; */
}
#catlog {
    position: relative;
    padding: 50px 20px;
    height: calc(100% - 110px);
    /* height: 100%; */
    overflow-x: hidden;
    overflow-y: scroll;
    transition: all 1s;
    padding-bottom: 150px;
   
}

#catlog::-webkit-scrollbar {
    width: 2px;
    transition: all 1s
}


#catlog::-webkit-scrollbar-thumb {
    background: #618f8fa6;
}

#catlog ul, #catlog li {
    list-style-type: none
}

#catlog ul {
    width: 100%
}

#catlog>ul>li {
    position: relative;
    -webkit-transition-property: box-shadow;
    -webkit-transition-duration: 0.5s;
    transition-property: box-shadow;
    transition-duration: 0.5s;
    /* margin: 10px 0; */
    width: 300px;
    margin-left: 22px;
}

#catlog>ul>li>a {
    color: #000;
    display: block;
    position: relative;
    width: 100%;
    padding: 5px 5px;
    line-height: 30px;
    /* margin-left: 22px; */
    /* perspective: 300px */
}

#catlog .al_mon_list_bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    background-color: #80ce8f;
    height: 100%
}

#catlog>ul>li>.select, #catlog>ul>li>a:hover {
    color: #000000;
    font-weight: bold;
}

#catlog>ul>li>a>span {
    display: block;
    position: relative;
    overflow: hidden;
    width: 200px;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-decoration: none
}

#catlog h2 {
    margin-top: 20px
}

#catlog>ul>li>i {
    font-style: normal;
    position: absolute;
    padding: 5px 5px;
    right: 5px;
    /* margin-top: 14px; */
    pointer-events: none;
    line-height: 30px;
    z-index: 2
}

.al_year {
    font-size: 26px;
    margin-top: 20px;
    margin-bottom: 10px
}

.al_age {
    font-size: 16px;
    padding-left: 10px
}

#am-post {
    min-height: 100%;
    -webkit-transition-property: opacity, margin-left;
    -webkit-transition-duration: 1s;
    transition-property: opacity, margin-left;
    transition-duration: 1s;
    z-index: 1;
    margin-left: 0;
    position: absolute;
    left: 470px;
    top: 0;
}

.post_am {
    opacity: 0;
    margin-left: 100px!important;
}

#pajx-post {
    min-height: 100%
}

#post {
    position: relative;
    width: 765px;
    height: 100%;
    -webkit-transition-property: box-shadow;
    -webkit-transition-duration: 1s;
    transition-property: box-shadow;
    transition-duration: 1s;
    font-size: 22px;
    color: #000;
    z-index: 0;
    overflow: hidden;
    background: var(--base-backgrundcolor);
    padding:0 30px;
    box-shadow:0px 0px 4px  #00000028;
}

#post>h2 {
    font-size: 40px;
    margin-top: 50px
}

.title-author a {
    color: #000;
    font-weight: bold;
}

.title-author {
    position: absolute;
    width: 765px;
    padding: 20px 00px;
    padding-left: 30px;
    z-index: 5;
    -webkit-transition-property: box-shadow, border-bottom;
    -webkit-transition-duration: 1s;
    transition-property: box-shadow, border-bottom;
    transition-duration: 1s;
    margin-left: -30px;
    background: var(--base-backgrundcolor);
}

.title-author-fixed {
    position: fixed;
    top: 0;
    border-bottom: 1px #222 dashed;
    box-shadow:0px 2px 4px  #0000005b;
}

.title-time {
    position: absolute;
    right: 15px;
    top:20px;
}
.title-read-line{
    position: absolute;
    top:20px;
    right: 180px;
}
.wp-block-quote {
    border-left: 4px solid #666;
    color: #333;
    font-weight: normal;
    padding-left: 20px;
    margin: 42px 0;
    /* margin-bottom: 42px; */
    font-family: "楷体"!important;
    font-size: 22px!important;
    font-style: italic;
}

.wp-block-quote p {
    line-height: 42px;
    margin-left: -10px;
    padding-left: 10px
}

.wp-block-quote cite {
    font-size: 18px;
    text-align: right;
    font-style: italic;
    color: #666;
    display: block;
    line-height: 42px;
    margin-left: -10px;
    padding-left: 10px
}
.wp-block-file{
    /* line-height: 42px; */
    /* margin-top: 21px; */
    margin-bottom: 0!important;
}
.wp-block-file__button{
    padding: 10px;
    font-size: 14px;
}
.wp-block-file{
    margin-bottom: 42px!important;
    margin-top: 42px;
    text-align: center;
}
.entry {
    margin-top: 68px;
    /* background-image: url(img/line.png); */
    padding-top: 42px;
    padding-left: 15px;
    padding-right: 10px;
    line-height: 42px;
    position: relative;
}

.entry>p {
    line-height: 42px!important; 
    /* padding-right: 40px; */
    text-indent: 2em;
    letter-spacing: 0.05em;
    /* margin-top: 42px; */
    margin-bottom: 42px
}

.entry h2, .entry h3, .entry h4, .entry h5, .entry h6, .entry h7 {
    margin-bottom: 42px;
    margin-top: 42px;
    line-height: 42px;
}
.entry_line{
    /* background-color: red; */
    position: absolute;
    display: inline-block;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    background-image: url(img/line.png);
}
#read_line {
    background: #333;
    width: 8px;
    height: 250px;
    position: fixed;
    top: calc(50% - 125px);
    margin-left: -110px;
    border-radius: 4px;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, .4)
}

.read_line_box {
    background-color: green;
    height: 8px;
    min-height: 8px!important;
    border-radius: 4px;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, .4);
    transition: 0.1s
}

.post_end {
    text-align: center;
    font-size: 30px;
    padding: 30px 0px
}

.previous_next {
    width: 100%;
    height: 50px
}

.previous_next>span {
    width: 50%;
    text-align: center
}
#comment{
    height: 90px;
}
/* #comment:focus{
    height:auto;
} */

.comments_box .fn {
    padding-right: 10px
}

.comment-author {
    display: flex
}

#comments {
    line-height: 50px;
    font-size: 16px
}

.comment-body {
    position: relative
}

.comment-body p {
    padding: 0 20px;
    line-height: 42px
}

.comment-meta {
    font-weight: normal;
    font-size: 12px;
    position: absolute;
    right: 0;
    top: 0
}

.comment-meta a {
    color: #666
}

.commentlist, .commentlist li {
    list-style-type: none;
    font-size: 16px;
    line-height: 16px;
}

.commentlist li {
    margin-bottom: 20px;
    padding: 5px;
    border: 1px dashed rgba(255, 0, 0, 0.445)
}

.commentlist .fn {
    font-weight: bold;
    font-style: normal
}

.comment-notes {
    font-size: 12px
}

.comment-form {
    display: block
}

.comment-form-comment>textarea, .comment-form-author>input, .comment-form-email>input, .comment-form-url>input {
    background: #c4d4cf;
    border: 1px dashed rgba(255, 0, 0, 0.445);
    margin-top: 10px;
    width: 100%;
    font-size: 16px;
    padding: 10px;
    font-family: "LXGW WenKai";
}

.comment-form-comment>label {
    display: none
}

.comment-form input {
    max-width: 100%;
    padding: 10px;
    margin-top: 5px
}

textarea {
    resize: vertical
}

.comment-form-author, .comment-form-email, .comment-form-url {
    width: calc(33.3333333% - 10px);
    float: left;
    margin-top: 5px;
    font-size: 14px
}

.comment-form-author, .comment-form-email {
    margin-right: 15px
}

.comment-form-cookies-consent {
    clear: both;
    font-size: 14px;
    padding: 10px 0
}

.form-submit input {
    width: 100%;
    cursor: pointer;
    background-color: rgba(144, 173, 173, 0.404);
    border:0;
	outline:none;
}

.comment-respond {
    overflow: hidden;
    margin: 50px 0;
    clear: both;
    transition: all 1s
}

#reply-title {
    cursor: pointer
}



.comment_focus {
    color: #000000!important;
    background: #ffffff!important
}

#login {
    position: fixed;
    z-index: 101;
    right: 0px;
    top: 0;
    font-size: 14px;
    color: rgba(102, 102, 102, 0.8);
    padding: 5px 10px
}

#login a {
    color: #666
}

#footer {
    position: fixed;
    z-index: 101;
    bottom: 0;
    font-size: 14px;
    color: rgba(102, 102, 102, 0.8);
    padding: 5px 10px;
    writing-mode:vertical-lr;
    right: 0;
}
#footer span{
    margin-bottom: 10px;
}
#footer a {
    color: rgba(102, 102, 102, 0.904)
}

.footer_wp {
    margin-right: 20px
}
#footer_m{
    display: none;
}
#wechatbox {
    cursor: pointer
}

#wechat {
    display: none;
    position: absolute;
    top: -54px;
    margin-left: -138px
}

#wechat img {
    width: 128px;
    height: 128px
}

.icp {
    color: #fff!important;
    margin-left: 20px
}

.wp-block-image {
    text-align: center
   
}
.wp-block-image .img_box{
     max-width: 600px;
}

#nprogress .spinner {
    left: 810px;
    top: calc(50% - 25px)
}

#nprogress .spinner-icon {
    width: 50px;
    height: 50px
}

#setup {
    position: fixed;
    top: 20px;
    left: 1240px;
    z-index: 98;
    font-size: 20px;
    transition: 0.5s
}

#setup-set {
    color: var(--base-backgrundcolor);
    font-size: 24px;
    font-family: 'font1680';
    border-radius: 2px;
    font-weight: bold;
    background-color: rgba(144, 173, 173, 0.404);
    /* box-shadow: 1px 4px 1px rgb(37, 39, 38); */
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    border-radius: 1px;
    cursor: pointer
}

#setup-box {
    margin-top: 20px;
    opacity: 0;
    transition: all 1s
}

.setup-box {
    margin-top: 0!important;
    opacity: 1!important
}

.setup-font {
    margin-top: 10px;
    display: flex
}
#setup-fontfamily-yahei{
    font-family: '微软雅黑';
}
#setup-fontfamily-song {
    font-family: '宋体';
    line-height: 26px
}

#setup-fontfamily-fangsong {
    font-family: 'LXGW WenKai';
    line-height: 27px;
    /* font-weight: bold */
}

.setup-font-box {
    position: relative;
    display: inline-block;
    padding: 10px;
    width: 50px;
    text-align: center;
    cursor: pointer;
    background-color: rgba(146, 132, 132, 0.377);
    margin-right: 5px;
    justify-content: space-around;
    border-radius: 2px;
    /* border: 5px double rgb(82, 82, 82);
    box-shadow: 0 0 8px rgb(0, 0, 0, 0.8) */
}

.setup-font-box-sel {
    background-color: green;
    color: ivory;
    /* border: 5px double rgb(161, 161, 161) */
}

@media (prefers-color-scheme: dark) {
    body {
        background: var(--base-backgrundcolor-desk-dark);
        color: #616161;
    }
    
    a {
        text-decoration: none;
        color: #234646
    }
    
    a:hover {
        text-decoration: none;
        color: #234646
    }
    #catlog>ul>li>a {
        color: #6b6b6b;
    }
    #catlog>ul>li>.select, #catlog>ul>li>a:hover {
        color: #6d6d6d;
    }
    #post{
        color: #6b6b6b;
        background-color: var(--base-backgrundcolor-dark);
    }
    #catlog .al_mon_list_bg {
   
        background-color: #1f3022;
    }
    .title-author{
        background-color: var(--base-backgrundcolor-dark);
    }
    .comment-form-comment>textarea, .comment-form-author>input, .comment-form-email>input, .comment-form-url>input {
        background: #262928;
        border: 1px dashed rgba(66, 0, 0, 0.445);
    }
    .form-submit input {

        background-color: rgba(41, 49, 49, 0.404);
        color: #616161;
    }
    #wp-comment-cookies-consent{
        background: red;
    }
    #setup-set {
        color: var(--base-backgrundcolor-desk-dark);

        background-color: rgba(66, 80, 80, 0.404);

    }
    .setup-font-box-sel {
        background-color: rgb(0, 53, 0);
        color: #616161;
        /* border: 5px double rgb(161, 161, 161) */
    }
    .entry_line{
        background-image: url(img/line_dark.png);
    }
    .m_navb {

        background: rgb(45, 52, 59);

    }

    .m_nav_sel>.m_navb {
        background: rgb(85, 76, 57)
    }
    #catlog::-webkit-scrollbar-thumb {
        background: #283a3aa6;
    }
    
}
@media screen and (max-width:768px) and (prefers-color-scheme: dark){
    #catlog_bg {

        background: var(--base-backgrundcolor-desk-dark)!important;

    }
    #footer_m{
        background: var(--base-backgrundcolor-desk-dark)!important;
    }
    
    #catlog>ul>li {
        background: var(--base-backgrundcolor-dark)!important;
    }
    .title-author-fixed{

        background-color: var(--base-backgrundcolor-desk-dark)!important;
    }
    #header {
        background-color: var(--base-backgrundcolor-desk-dark)!important;
    }

}
@media screen and (max-width:768px) {
    #footer_m{
        display: flex;
        height: 46px;
        align-items: center;/*垂直居中*/
        justify-content: center;/*水平居中*/
        background-color: var(--base-backgrundcolor-desk);
        position: fixed;
        z-index: 290;
        width: 100%;
        left: 0;
        bottom: 0px;
        list-style: none;
        box-shadow: 0 0 2px rgba(0, 0, 0, 0.534);
    }
    #footer_m li{
        /* background-color: #7bcaca; */
        width: 20%;
        height: 100%;
        display: flex;
        align-items: center;/*垂直居中*/
        justify-content: center;/*水平居中*/
    }
    .title-time {
        right: 35px;
        display: none;
    }
    #m_nav {
        bottom: 10px;
        right: 10px;
        left: auto
    }
    #catlog_bg {
        position:static!important;
        width: 100%;
        left: 0;
        background: var(--base-backgrundcolor-desk);
        opacity: 1;
        height: auto;
    }
    #catlog>ul>li {
        position: relative;
        -webkit-transition-property: box-shadow;
        -webkit-transition-duration: 0.5s;
        transition-property: box-shadow;
        transition-duration: 0.5s;
        /* margin: 10px 0; */
        width: 300px;
        height: 60px;
        background-color: var(--base-backgrundcolor);
        box-shadow: 0 0 4px rgba(0, 0, 0, 0.534);
        margin-bottom: 10px;
        margin-left: 0;
        display: flex;
        align-items: center;/*垂直居中*/
        padding-left: 10px;
        border-radius: 5px;
    }
    
    .catlog_bg_sel {
        left: -100%!important
    }

    #catlog {
        position: relative;
        width: 100%;
        padding-left: 10px;
        padding-right: 10px;
        padding-top: 70%;
        height: 100%;
        font-size: 20px;
        overflow-x: hidden;
        overflow-y: auto;
       
    }
    #catlog>ul>li>a {
        width: 100%
    }
    #catlog>ul>li {
        width: 100%
    }
    #home>.description {
        font-size: 2em;
        height: 100px
    }
    #am-post {
        width: 100%;
        left: 0;
    }
    .post_am {
        opacity: 0;
        margin-left: 0
    }
    #post>#the_title{
        display: flex;
        align-items: center;/*垂直居中*/
        justify-content: center;/*水平居中*/
        margin-top: 10px;
    }
    .entry {
        margin-top: 40px;
    }
    body {
        background-attachment: fixed
    }
    #post {
        overflow-x: hidden;
        width: 100%;
        padding: 20px 0px;
        padding-left: 10px;
        padding-right: 10px;
        height: 100%;
        left: 0;
        /* background-color: #f1eee3; */
        /* background: #fbf7ed url(res/img/catlog_bg2.png) repeat-y -20px */
    }
    .title-author {
        width: 100%;
        margin-left: -10px;
        padding-left: 20px;
        font-size: 18px;
        line-height: 18px;
        height: 52px;
        font-size: 20px;
        display: flex;
        /* margin-top: -5px; */
        transition: 1s;
        /* background: #fbf7ed url(res/img/catlog_bg2.png)repeat-y -20px!important */
    }
    .title-author-fixed{
        position: fixed;
        top: 0;
        box-shadow: 0 0 2px rgba(0, 0, 0, 0.534);
        border: 0;
        background-color: var(--base-backgrundcolor-desk);
        padding-left: 50px;
    }
    #home {
        width: 100%
    }
    #header {
        background-color: var(--base-backgrundcolor-desk);
        height: 50px;
        padding: 10px 10px;
        box-shadow: 0 0 2px rgba(0, 0, 0, 0.534);
        width: 100%;
        /* border-bottom: 1px #222 dashed; */
        position: fixed;
        top: 0;
        z-index: 44;
        display: flex;
        align-items: center;/*垂直居中*/
        justify-content: center;/*水平居中*/
        font-size: 20px;
        transition: 1s;
       
    }
    .header_sel{
        height: 30%!important;
        font-size:30px!important;
        font-size: 35px!important;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.534)!important;
    }

    .description{
        display: none;
    }
    #home {
        display: none
    }
    #footer {
        display: none
    }
    .wp-block-quote {
        width: 100%
    }
    .al_year {
        margin-bottom: 20px;
        text-align: center;
    }
    #catlog>ul>li>i {
        right: 15px
    }
    #music_x09 {
        display: none
    }
    .title-read-line{
        position: absolute;
        top:20px;
        right: 10px;
    }
}