@charset "UTF-8";
:root {
    --bg: #fff;
    --t-a: #474242;
    --t-a-a: #2c2c2c;
    --c: rgba(0, 0, 0, 0.5);
    --b: #f2f2f2;
    --p-a: #5A5A5A;
    --s-a: #565654;
    --p-m: #bbbbbb;
    --s-l: #464646;
    --c-t: #5f5f5f;
    --a: #868686;
    --f-a: #A6A6A6;
    --l: #666666;
    --l-t: #C5C5C5;
    --b-b: rgba(0, 0, 0, 0.15);
    --l-p: #8F8F8F;
    --ey: #3E3E3E;
    --waline-theme-color: var(--t-a) !important;
    --waline-active-color: var(--t-a-a) !important;
    --waline-text-color: var(--c) !important;
    --waline-bgcolor: var(--bg) !important;
    --waline-border-color: var(--b) !important;
    --waline-badge-color: #db3434 !important;
}

@media (prefers-color-scheme: dark) {
     :root {
        --bg: #0f0f0f;
        --t-a: #c4c4c4;
        --t-a-a: #eed8d8;
        --c: rgba(255, 255, 255, 0.5);
        --b: rgb(40 38 38 / 44%);
        --p-a: #c2c2c2;
        --s-a: #bebebe;
        --p-m: #868686;
        --s-l: #d8d8d8;
        --c-t: #c0c0c0;
        --a: #C5C5C5;
        --f-a: #6e6e6e;
        --l: #5e5d5d;
        --l-t: #464646;
        --b-b: rgba(255, 255, 255, 0.15);
        --l-p: #cfcdcd;
        --ey: #dddddd;
    }
}

html {
    background-color: var(--bg);
    -webkit-font-smoothing: antialiased;
}

body {
    color: var(--c);
    font-family: 'PingHei', 'PingFang SC', Helvetica Neue, 'Work Sans', 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, sans-serif;
    font-size: 15px;
    width: 100%;
    margin: 0 auto 30px auto;
    background-color: var(--bg);
}

p {
    line-height: 1.9em;
    font-weight: 400;
    font-size: 15px;
}

a {
    text-decoration: none;
}

a:link,
a:visited {
    opacity: 1;
    -webkit-transition: all .15s linear;
    -moz-transition: all .15s linear;
    -o-transition: all .15s linear;
    -ms-transition: all .15s linear;
    transition: all .15s linear;
    color: var(--t-a);
}

a:hover,
a:active {
    color: var(--t-a-a);
}


/*basic styles ends*/


/*animation starts*/

.animated {
    -webkit-animation-fill-mode: both;
    -moz-animation-fill-mode: both;
    -ms-animation-fill-mode: both;
    -o-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-duration: 1s;
    -moz-animation-duration: 1s;
    -ms-animation-duration: 1s;
    -o-animation-duration: 1s;
    animation-duration: 1s;
}

.animated.hinge {
    -webkit-animation-duration: 1s;
    -moz-animation-duration: 1s;
    -ms-animation-duration: 1s;
    -o-animation-duration: 1s;
    animation-duration: 1s;
}

@-webkit-keyframes fadeInDown {
    0% {
        opacity: 0;
        -webkit-transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
    }
}

@-moz-keyframes fadeInDown {
    0% {
        opacity: 0;
        -moz-transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        -moz-transform: translateY(0);
    }
}

@-o-keyframes fadeInDown {
    0% {
        opacity: 0;
        -o-transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        -o-transform: translateY(0);
    }
}

@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.fadeInDown {
    -webkit-animation-name: fadeInDown;
    -moz-animation-name: fadeInDown;
    -o-animation-name: fadeInDown;
    animation-name: fadeInDown;
}


/*animation ends*/

.content {
    height: auto;
    float: right;
    width: 70%;
    margin-top: 60px;
}

.page-top {
    width: 70%;
    position: fixed;
    right: 0;
    z-index: 3;
    background-color: var(--bg);
    height: 60px;
    border-bottom: 1px solid var(--b);
}

.page-top .nav {
    list-style: none;
    padding: 18px 30px;
    float: left;
    font-size: 14px;
}

.page-top .nav li {
    position: relative;
    display: initial;
    padding-right: 20px;
}

.page-top .nav a {
    color: var(--p-a);
}

.page-top .nav a:hover {
    color: var(--t-a-a);
}

.page-top .nav a.current {
    color: var(--p-a);
    padding-bottom: 22px;
    border-bottom: 1px solid var(--p-a);
}

.page-top .information {
    float: right;
    padding-top: 12px;
    padding-right: 20px;
}

.page-top .information .avatar {
    float: right;
}

.page-top .information .avatar img {
    width: 32px;
    height: 32px;
    border-radius: 300px;
}

.page-top .information .back_btn {
    float: left;
    padding-top: 5px;
    margin-right: -10px;
}

.page-top .information .back_btn li {
    display: initial;
    padding-right: 40px;
}

.sidebar {
    width: 30%;
    -webkit-background-size: cover;
    background-size: cover;
    background-color: var(--bg);
    height: 100%;
    transition: 0.8s;
    top: 0;
    left: 0;
    position: fixed;
    z-index: 4;
    border-right: 1px solid var(--b);
}

.sidebar .logo-title {
    text-align: center;
    padding-top: 230px;
}

.sidebar .logo-title .description {
    font-size: 14px;
    color: var(--s-a);
}

.sidebar .logo-title .logo {
    margin: 0 auto;
}

.sidebar .logo-title .title h3 {
    font-size: 2rem;
    font-weight: bold;
    letter-spacing: 2px;
    line-height: 1;
    margin: 0;
}

.sidebar .logo-title .title a {
    text-decoration: none;
    color: var(--s-l);
    font-size: 2rem;
    font-weight: bold;
}

.sidebar .social-links {
    list-style: none;
    padding: 0;
    font-size: 14px;
    text-align: center;
}

.sidebar .social-links i {
    margin-right: 3px;
}

.sidebar .social-links li {
    display: inline;
    padding: 0 4px;
    line-height: 0;
}

.sidebar .social-links a {
    color: var(--s-a);
}

.sidebar .social-links a:hover {
    color: var(--t-a-a);
}

.post {
    background-color: var(--bg);
    margin: 30px;
}

.post .post-title h1 {
    text-transform: uppercase;
    font-size: 30px;
    letter-spacing: 5px;
    line-height: 1;
}

.post .post-title h2 {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 28px;
    line-height: 1;
    font-weight: 600;
    color: var(--c-t);
}

.post .post-title h3 {
    /*text-transform: uppercase;*/
    letter-spacing: 1px;
    line-height: 1;
    font-weight: 600;
    color: var(--s-l);
    font-size: 22px;
    margin: 0;
}

.post .post-title a {
    text-decoration: none;
    letter-spacing: 1px;
    color: var(--c-t);
}

.post .post-title a:hover {
    text-decoration: underline;
}

.post .post-content a {
    text-decoration: none;
    letter-spacing: 1px;
    color: var(--t-a-a);
}

.post .post-content a:hover {
    color: var(--t-a-a);
}

.post .post-content h1 {
    color: var(--c-t);
    font-size: 20px;
    font-weight: 600;
}

.post .post-content h2 {
    color: var(--c-t);
    font-size: 19px;
}

.post .post-content h3 {
    color: var(--c-t);
    font-size: 18px;
    font-weight: 600;
}

.post .post-content h4 {
    color: var(--c-t);
    font-size: 17px;
}

.post .post-content h5 {
    color: var(--c-t);
    font-size: 16px;
    font-weight: 600;
}

.post .post-content h6 {
    color: var(--c-t);
    font-size: 15px;
}

.post .post-footer {
    padding: 0 0 30px 0;
    border-bottom: 1px solid var(--b);
}

.post .post-footer .meta {
    max-width: 100%;
    height: 25px;
    color: var(--p-m);
}

.post .post-footer .meta .info {
    float: left;
    font-size: 12px;
}

.post .post-footer .meta .info .date {
    margin-right: 10px;
}

.post .post-footer .meta a {
    text-decoration: none;
    color: var(--p-m);
    padding-right: 10px;
}

.post .post-footer .meta a:hover {
    color: var(--t-a-a);
}

.post .post-footer .meta i {
    margin-right: 6px;
}

.post .post-footer .tags {
    padding-bottom: 15px;
    font-size: 13px;
}

.post .post-footer .tags ul {
    list-style-type: none;
    display: inline;
    margin: 0;
    padding: 0;
}

.post .post-footer .tags ul li {
    list-style-type: none;
    margin: 0;
    padding-right: 5px;
    display: inline;
}

.post .post-footer .tags a {
    text-decoration: none;
    color: var(--b);
    font-weight: 400;
}

.post .post-footer .tags a:hover {
    text-decoration: none;
}

.pagination {
    margin: 30px;
    padding: 0px 0 56px 0;
    border-bottom: 1px solid var(--b);
}

.pagination ul {
    list-style: none;
    margin: 0;
    padding: 0;
    height: 13px;
}

.pagination ul li {
    margin: 0 2px 0 2px;
    display: inline;
    line-height: 1;
}

.pagination ul li a {
    text-decoration: none;
}

.pagination .pre {
    float: left;
}

.pagination .next {
    float: right;
}

.like-reblog-buttons {
    float: right;
}

.like-button {
    float: right;
    padding: 0 0 0 10px;
}

.reblog-button {
    float: right;
    padding: 0;
}

#install-btn {
    position: fixed;
    bottom: 0px;
    right: 6px;
}

#disqus_thread {
    margin: 30px;
    border-bottom: 1px solid var(--b);
}

.footer {
    clear: both;
    text-align: center;
    font-size: 10px;
    margin: 0 auto;
    bottom: 0;
    position: absolute;
    width: 100%;
    padding-bottom: 5px;
    background: var(--bg);
}

.footer a {
    color: var(--f-a);
}

.footer a:hover {
    color: var(--t-a-a);
}


/*for archive*/

.archive {
    width: 100%;
}

.list-with-title {
    font-size: 15px;
    margin: 30px;
    padding: 0;
    line-height: 25px;
}

.list-with-title li {
    list-style-type: none;
    padding: 0;
}

.list-with-title .listing-title {
    font-size: 24px;
    color: var(--l);
    font-weight: 600;
    line-height: 2.2em;
}

.list-with-title .listing {
    padding: 0;
}

.list-with-title .listing .listing-post {
    padding-bottom: 5px;
}

.list-with-title .listing .listing-post .post-time {
    float: right;
    color: var(--l-t);
}

.list-with-title .listing .listing-post a {
    color: var(--l-p);
}

.list-with-title .listing .listing-post a:hover {
    color: var(--t-a-a);
}


/* share */

.share {
    margin: 0px 30px;
    display: inline-flex;
}

.evernote {
    width: 32px;
    height: 32px;
    border-radius: 300px;
    background-color: var(--ey);
    margin-right: 5px;
}

.evernote a {
    color: var(--bg);
    padding: 11px;
    font-size: 12px;
}

.evernote a:hover {
    color: #ED6243;
    padding: 11px;
}

.weibo {
    width: 32px;
    height: 32px;
    border-radius: 300px;
    background-color: #ED6243;
    margin-right: 5px;
}

.weibo a {
    color: var(--bg);
    padding: 9px;
}

.weibo a:hover {
    color: #BD4226;
}

.twitter {
    width: 32px;
    height: 32px;
    border-radius: 300px;
    background-color: #59C0FD;
    margin-right: 5px;
}

.twitter a {
    color: var(--bg);
    padding: 9px;
}

.twitter a:hover {
    color: #4B9ECE;
}


/* about */

.about {
    margin: 30px;
}

.about h3 {
    font-size: 22px;
}


/* links*/

.links {
    margin: 30px;
}

.links h3 {
    font-size: 22px;
}

.links a {
    cursor: pointer;
}


/* 按钮样式 */

a.btn {
    color: var(--a);
    font-weight: 400;
}

.btn {
    display: inline-block;
    position: relative;
    outline: 0;
    color: var(--b);
    background: transparent;
    font-size: 14px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid var(--b-b);
    white-space: nowrap;
    font-weight: 400;
    font-style: normal;
    border-radius: 999em;
}

.btn:hover {
    display: inline-block;
    position: relative;
    outline: 0px;
    color: #464545;
    background: transparent;
    font-size: 14px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid #464545;
    white-space: nowrap;
    font-weight: 400;
    font-style: normal;
    border-radius: 999em;
}

[role="back"] {
    padding: 0.5em 1.25em;
    line-height: 1.666em;
}

[role="home"] {
    padding: 0.5em 1.25em;
    line-height: 1.666em;
}

[role="navigation"] {
    padding: 0.5em 1.25em;
    line-height: 1.666em;
}

[role="tags"] {
    padding: 6px 12px;
}


/* Menu样式 */

.menu {
    float: right;
    padding-top: 30px;
}

.menu .btn-down {
    margin: 0px;
}

.menu .btn-down li {
    list-style: none;
    width: 100px;
}

.menu .btn-down li a {
    display: inline-block;
    position: relative;
    padding: 0.5em 1.25em;
    outline: 0;
    color: var(--b);
    background: transparent;
    font-size: 14px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid var(--b-b);
    white-space: nowrap;
    font-weight: 400;
    font-style: normal;
    border-radius: 999em;
    margin-top: 5px;
}

.menu .btn-down li a:hover {
    position: relative;
    padding: 0.5em 1.25em;
    outline: 0;
    color: var(--bg);
    background: #3CBD10;
    font-size: 14px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid var(--b-b);
    white-space: nowrap;
    font-weight: 400;
    font-style: normal;
    border-radius: 999em;
    margin-top: 5px;
}

.menu .btn-down div {
    position: absolute;
    visibility: hidden;
    width: 100px;
    float: right;
}

.page_404 {
    text-align: center;
    padding-top: 50px;
}

@media screen and (max-width: 960px) {
    .sidebar {
        width: 100%;
        position: absolute;
        border-right: none;
        z-index: 1;
    }
    .sidebar .logo-title {
        padding-top: 120px;
    }
    .sidebar .logo-title .title img {
        width: 100px;
    }
    .sidebar .logo-title .title h3 {
        font-size: 20px;
    }
    .page-top {
        width: 100%;
    }
    .post-title h3 {
        line-height: 1.6;
    }
    .content {
        margin-top: 420px;
        width: 100%;
        z-index: 2;
        position: absolute;
    }
    .footer {
        display: none;
    }
    .share {
        display: grid;
    }
}