/*全局基础样式*/

/* 禁用水平滚动条 */
body {
    overflow-x:hidden;
}

/*小屏幕下(手机类)的样式*/
@media only screen and (max-width: 601px) {
    .container {
        width: 95%;
    }
    
}

/*中等屏幕下(平板类)的样式*/
@media only screen and (min-width: 600px) and (max-width: 992px) {
    .container {
        width: 90%;
    }
}

/*大屏幕下(桌面类)的样式*/
@media only screen and (min-width: 993px) {
    .container {
        width: 90%;
        max-width: 1125px;
    }
  
    .head-container {
        position: absolute;
        padding: 0px 30px;
        width: 100%;
    }

    .post-container {
        width: 90%;
        margin: 0 auto;
        max-width: 1250px;
    }
}

body {
    background-color: #eaeaea;
    margin: 0;
    color: #34495e;
    cursor: url(/medias/1.ico),auto;
}

a:hover{
    cursor: url(/medias/2.ico),auto;
}

h1 {
    margin: 48px 0 22px -5px;
    font-size: 2.0rem;
    font-weight: bold;
    line-height: 2.0rem;
}

h2 {
    margin: 42px 0 18px -5px;
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 1.8rem;
}

h3 {
    margin: 38px 0 15px -4px;
    font-size: 1.6rem;
    font-weight: bold;
    line-height: 1.7rem;
}

h4 {
    margin: 32px 0 12px -4px;
    font-size: 1.45rem;
    font-weight: bold;
    line-height: 1.45rem;
}

h5 {
    margin: 28px 0 8px -4px;
    font-size: 1.2rem;
    font-weight: bold;
    line-height: 1.2rem;
}

h6 {
    margin: 22px 0 4px -4px;
    font-size: 1.1rem;
    line-height: 1.1rem;
}

p {
    font-size: 1rem;
    line-height: 1.5rem;
}

hr {
    margin: 20px 0;
    border: 0;
    border-top: 1px solid #ccc;
}

blockquote {
    border-left: 5px solid #42b983;
    padding: 1rem 0.8rem 0.2rem 0.8rem;
    color: #666;
    background-color: rgba(66, 185, 131, .1);
}

.line-numbers-rows {
    border-right-width: 0px !important;
}
.fa-lightbulb {
    position: absolute;
    right: 15px;
    bottom: 11px;
    font-size: 1.5rem!important;
}
.line-numbers {
    padding: 1.5rem 1.5rem 1.5rem 3.5rem !important;
    margin: 1rem 0 !important;
    background: #272822;
    overflow: auto;
    border-radius: 0.35rem;
    tab-size: 4;
}

pre {
    padding: 2.5rem 1.5rem 1.5rem 1.5rem !important;
    margin: 1rem 0 !important;
    background: #272822;
    overflow: auto;
    border-radius: 0.35rem;
    tab-size: 4;
}

.code-area::after {
    content: " ";
    position: absolute;
    border-radius: 50%;
    background: #ff5f56;
    width: 12px;
    height: 12px;
    top: 0;
    left: 12px;
    margin-top: 12px;
    -webkit-box-shadow: 20px 0 #ffbd2e, 40px 0 #27c93f;
    box-shadow: 20px 0 #ffbd2e, 40px 0 #27c93f;
}

code {
    padding: 1px 5px;
    top: 13px !important;
    font-family: Inconsolata, Monaco, Consolas, 'Courier New', Courier, monospace;
    font-size: 0.91rem;
    color: #e96900;
    background-color: #f8f8f8;
    border-radius: 2px;
}

.code_copy {
    position: absolute;
    top: 0.7rem;
    right: 25px;
    z-index: 1;
    filter: invert(50%);
    cursor: url(/medias/2.ico),auto;
}

.codecopy_notice {
    position: absolute;
    top: 0.7rem;
    right: 6px;
    z-index: 1;
    filter: invert(50%);
    opacity: 0;
}

.code_lang {
    position: absolute;
    top: 1.2rem;
    right: 46px;
    line-height: 0;
    font-weight: bold;
    font-family: normal;
    z-index: 1;
    filter: invert(50%);
    cursor: url(/medias/2.ico),auto;
}

.code-expand {
    position: absolute;
    top: 4px;
    right: 0px;
    filter: invert(50%);
    padding: 7px;
    z-index: 999 !important;
    cursor: url(/medias/2.ico),auto;
    transition: all .3s;
    transform: rotate(0deg);
}

.code-closed .code-expand {
    transform: rotate(-180deg) !important;
    transition: all .3s;
}

.code-closed pre::before {
    height: 0px;
}

pre code {
    padding: 0;
    color: #e8eaf6;
    background-color: #272822;
}

pre[class*="language-"] {
    padding: 1.2em;
    margin: .5em 0;
}

code[class*="language-"],
pre[class*="language-"] {
    color: #e8eaf6;
    white-space: pre-wrap !important;
}

b,
strong {
    font-weight: bold;
}

dfn {
    font-style: italic;
}

small {
    font-size: 85%;
}

cite {
    font-style: normal;
}

mark {
    background-color: #fcf8e3;
    padding: .2em;
}

.card {
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(50, 50, 93, .1), 0 5px 15px rgba(0, 0, 0, .07) !important;
}

.card .card-image img {
    border-radius: 8px 8px 0 0;
    /* 修改文章列表图片填充样式为 cover 以覆盖整个区域而不会被缩放 */
    object-fit: cover;
}

.container .row {
    margin-bottom: 0;
}

.bg-color {
    background-image: linear-gradient(to right, #623AA2 0%,#2196f3 100%);
    opacity: 0.8; /*透明效果 值范围 0~1，看情况自己修改*/
}

.text-color {
    color: #0f9d58 !important;
}

.white-color {
    color: #fff;
}

.progress-bar {
    height: 4px;
    position: fixed;
    bottom: 0;
    z-index: 300;
    background: linear-gradient(to right, rgba(71, 110, 236, 0.2) 0%, #49b1f5 100%);
    opacity: 0.8;
}

.sidenav-overlay {
    z-index: 500;
}

.pd-header {
    margin-top: -64px;
}

header .side-nav {
    width: 240px;
    z-index: 999;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 7px 10px 0 rgba(0, 0, 0, 0.12);
}

nav {
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 7px 10px 0 rgba(0, 0, 0, 0.12);
}

header .nav-transparent {
    background-color: transparent !important;
    background-image: none;
    box-shadow: none;
}

header nav .brand-span {
    font-size: 1.45rem;
}

header .brand-logo .logo-img {
    height: 45px;
    vertical-align: middle;
    padding-bottom: 6px;
}

header .brand-logo .logo-span {
    font-size: 2rem;
}

/*修改顶部 logo 的文字垂直对齐为 top，避免默认 middle 看起来偏下*/
header .brand-logo .waves-effect {
    vertical-align: top;
}

header .button-collapse i {
    font-size: 1.5rem;
}

header .side-nav .mobile-head {
    padding: 0 15px;
}

header .side-nav .mobile-head img {
    margin-top: 30px;
    width: 75px;
    height: 75px;
}

header .side-nav .mobile-head .logo-name {
    margin-top: -30px;
    padding-left: 10px;
    font-size: 1.5rem;
}

header .side-nav .mobile-head .logo-desc {
    margin-top: -10px;
    padding-left: 10px;
    padding-bottom: 10px;
    font-size: 0.8rem;
    line-height: 1.3rem;
    color: #e3e3e3;
}

header .side-nav .menu-list li {
    padding: 0;
    margin-left: -15px;
}

header .side-nav .menu-list a {
    height: 50px;
    line-height: 50px;
    color: #34495e !important;
}

.mobile-menu-list a i {
    margin-left: 8px !important;
    font-size: 1.16rem;
    color: #34495e !important;
}

header .side-nav .fa-fw {
    width: 3.3rem;
    text-align: left;
}

header .side-nav .social-link {
    position: absolute;
    bottom: 45px;
    padding-left: 15px;
}

.social-link a {
    font-size: 1.2rem;
    display: inline;
    padding: 0 12px;
}

.cover-btns {
    position: relative;
    top: 10vh;
    text-align: center;
}

.cover-btns a {
    margin: 10px 15px;
    padding: 0 35px;
    height: 45px;
    line-height: 45px;
    font-size: 1rem;
    color: #fff;
    border: 1px solid #fff;
    background-color: transparent;
    border-radius: 30px;
    box-shadow: none;
}

.cover-btns a:hover {
    border: 1px solid #f44336;
    background-color: #f44336;
    box-shadow: 0 14px 26px -12px rgba(233, 30, 99, 0.42),
            0 4px 23px 0 rgba(0, 0, 0, 0.12),
            0 8px 10px -5px rgba(233, 30, 99, 0.2);
}

.cover-btns a i {
    font-size: 1.1rem;
    padding-right: 5px;
}

.scroll-down {
    background: #333;
    margin: 100px auto;
    -webkit-animation: scroll-down 1.5s infinite;
    -moz-animation: scroll-down 1.5s infinite;
    -o-animation: scroll-down 1.5s infinite;
    -ms-animation: scroll-down1.5s infinite;
    animation: scroll-down 1.5s infinite;
}

@-moz-keyframes scroll-down {
    0% {
        opacity: 0.4;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";
        filter: alpha(opacity=40);
        top: 0;
    }

    50% {
        opacity: 1;
        -ms-filter: none;
        filter: none;
        top: -16px;
    }

    100% {
        opacity: 0.4;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";
        filter: alpha(opacity=40);
        top: 0;
    }
}

@-webkit-keyframes scroll-down {
    0% {
        opacity: 0.4;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";
        filter: alpha(opacity=40);
        top: 0;
    }

    50% {
        opacity: 1;
        -ms-filter: none;
        filter: none;
        top: -16px;
    }

    100% {
        opacity: 0.4;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";
        filter: alpha(opacity=40);
        top: 0;
    }
}

@-o-keyframes scroll-down {
    0% {
        opacity: 0.4;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";
        filter: alpha(opacity=40);
        top: 0;
    }

    50% {
        opacity: 1;
        -ms-filter: none;
        filter: none;
        top: -16px;
    }

    100% {
        opacity: 0.4;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";
        filter: alpha(opacity=40);
        top: 0;
    }
}

@keyframes scroll-down {
    0% {
        opacity: 0.4;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";
        filter: alpha(opacity=40);
        top: 0;
    }

    50% {
        opacity: 1;
        -ms-filter: none;
        filter: none;
        top: -16px;
    }

    100% {
        opacity: 0.4;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";
        filter: alpha(opacity=40);
        top: 0;
    }
}

.cover-social-link {
    position: relative;
    top: 23vh;
    width: 100%;
    text-align: center;
}

.cover-social-link a {
    padding: 0 15px;
    font-size: 1.35rem;
    color: #fff;
}

header .go-back {
    float: left;
    position: relative;
    padding-left: 5px;
    padding-right: 5px;
    z-index: 1;
    height: 56px;
}

header .go-back i {
    font-size: 1.6rem;
    font-weight: 200;
    line-height: 56px;
}

/* 背景图效果. */
.bg-cover {
    position: relative;
    display: flex;
    align-items: center;
    height: 60vh;
    padding: 0;
    border: 0;
    overflow: hidden;
    background-position: center center;
    background-size: cover;
    transform: translate3d(0px, 0px, 0px);
}

.index-cover {
    height: 100vh;
}

.post-cover {
    height: 40vh !important;
}

/*.bg-cover:after {
    -webkit-animation: rainbow 60s infinite;
    animation: rainbow 60s infinite;
}*/

.bg-cover:before,
.bg-cover:after {
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: block;
    left: 0;
    top: 0;
    content: "";
}

.bg-cover .container {
    position: relative;
    color: #fff;
    z-index: 2;
}

.bg-cover .title {
    font-size: 4rem;
    line-height: 1.85em;
    margin-bottom: 20px;
    position: relative;
}

.bg-cover .description {
    font-weight: 300;
    font-size: 1.25rem;
    line-height: 1.4em;
    color: #eee;
}

.bg-cover .post-title {
    margin: 0 auto;
    font-size: 2.5rem;
    font-weight: 400;
}

@-webkit-keyframes rainbow {

    0%,
    100% {
        background: rgba(156, 39, 176, 0.75);
        background: linear-gradient(45deg, rgba(156, 39, 176, 0.75) 0%, rgba(156, 39, 176, 0.65) 100%);
        background: -moz-linear-gradient(135deg, rgba(156, 39, 176, 0.75) 0%, rgba(156, 39, 176, 0.65) 100%);
        background: -webkit-linear-gradient(135deg, rgba(156, 39, 176, 0.75) 0%, rgba(156, 39, 176, 0.65) 100%);
    }

    16% {
        background: rgba(132, 13, 121, 0.75);
        background: linear-gradient(45deg, rgba(132, 13, 121, 0.75) 0%, rgba(132, 13, 121, 0.65) 100%);
        background: -moz-linear-gradient(135deg, rgba(132, 13, 121, 0.75) 0%, rgba(132, 13, 121, 0.65) 100%);
        background: -webkit-linear-gradient(135deg, rgba(132, 13, 121, 0.75) 0%, rgba(132, 13, 121, 0.65) 100%);
    }

    32% {
        background: rgba(239, 83, 80, 0.75);
        background: linear-gradient(45deg, rgba(239, 83, 80, 0.75) 0%, rgba(239, 83, 80, 0.65) 100%);
        background: -moz-linear-gradient(135deg, rgba(239, 83, 80, 0.75) 0%, rgba(239, 83, 80, 0.65) 100%);
        background: -webkit-linear-gradient(135deg, rgba(239, 83, 80, 0.75) 0%, rgba(239, 83, 80, 0.65) 100%);
    }

    48% {
        background: rgba(255, 87, 34, 0.75);
        background: linear-gradient(45deg, rgba(255, 87, 34, 0.75) 0%, rgba(255, 87, 34, 0.65) 100%);
        background: -moz-linear-gradient(135deg, rgba(255, 87, 34, 0.75) 0%, rgba(255, 87, 34, 0.65) 100%);
        background: -webkit-linear-gradient(135deg, rgba(255, 87, 34, 0.75) 0%, rgba(255, 87, 34, 0.65) 100%);
    }

    64% {
        background: rgba(255, 160, 0, 0.75);
        background: linear-gradient(45deg, rgba(255, 160, 0, 0.75) 0%, rgba(255, 160, 0, 0.65) 100%);
        background: -moz-linear-gradient(135deg, rgba(255, 160, 0, 0.75) 0%, rgba(255, 112, 66, 0.65) 100%);
        background: -webkit-linear-gradient(135deg, rgba(255, 160, 0, 0.75) 0%, rgba(255, 160, 0, 0.65) 100%);
    }

    80% {
        background: rgba(233, 30, 99, 0.75);
        background: linear-gradient(45deg, rgba(233, 30, 99, 0.75) 0%, rgba(233, 30, 99, 0.65) 100%);
        background: -moz-linear-gradient(135deg, rgba(233, 30, 99, 0.75) 0%, rgba(233, 30, 99, 0.65) 100%);
        background: -webkit-linear-gradient(135deg, rgba(2233, 30, 99, 0.75) 0%, rgba(233, 30, 99, 0.65) 100%);
    }
}

@keyframes rainbow {

    0%,
    100% {
        background: rgba(156, 39, 176, 0.75);
        background: linear-gradient(45deg, rgba(156, 39, 176, 0.75) 0%, rgba(156, 39, 176, 0.65) 100%);
        background: -moz-linear-gradient(135deg, rgba(156, 39, 176, 0.75) 0%, rgba(156, 39, 176, 0.65) 100%);
        background: -webkit-linear-gradient(135deg, rgba(156, 39, 176, 0.75) 0%, rgba(156, 39, 176, 0.65) 100%);
    }

    16% {
        background: rgba(132, 13, 121, 0.75);
        background: linear-gradient(45deg, rgba(132, 13, 121, 0.75) 0%, rgba(132, 13, 121, 0.65) 100%);
        background: -moz-linear-gradient(135deg, rgba(132, 13, 121, 0.75) 0%, rgba(132, 13, 121, 0.65) 100%);
        background: -webkit-linear-gradient(135deg, rgba(132, 13, 121, 0.75) 0%, rgba(132, 13, 121, 0.65) 100%);
    }

    32% {
        background: rgba(239, 83, 80, 0.75);
        background: linear-gradient(45deg, rgba(239, 83, 80, 0.75) 0%, rgba(239, 83, 80, 0.65) 100%);
        background: -moz-linear-gradient(135deg, rgba(239, 83, 80, 0.75) 0%, rgba(239, 83, 80, 0.65) 100%);
        background: -webkit-linear-gradient(135deg, rgba(239, 83, 80, 0.75) 0%, rgba(239, 83, 80, 0.65) 100%);
    }

    48% {
        background: rgba(255, 87, 34, 0.75);
        background: linear-gradient(45deg, rgba(255, 87, 34, 0.75) 0%, rgba(255, 87, 34, 0.65) 100%);
        background: -moz-linear-gradient(135deg, rgba(255, 87, 34, 0.75) 0%, rgba(255, 87, 34, 0.65) 100%);
        background: -webkit-linear-gradient(135deg, rgba(255, 87, 34, 0.75) 0%, rgba(255, 87, 34, 0.65) 100%);
    }

    64% {
        background: rgba(255, 160, 0, 0.75);
        background: linear-gradient(45deg, rgba(255, 160, 0, 0.75) 0%, rgba(255, 160, 0, 0.65) 100%);
        background: -moz-linear-gradient(135deg, rgba(255, 160, 0, 0.75) 0%, rgba(255, 112, 66, 0.65) 100%);
        background: -webkit-linear-gradient(135deg, rgba(255, 160, 0, 0.75) 0%, rgba(255, 160, 0, 0.65) 100%);
    }

    80% {
        background: rgba(233, 30, 99, 0.75);
        background: linear-gradient(45deg, rgba(233, 30, 99, 0.75) 0%, rgba(233, 30, 99, 0.65) 100%);
        background: -moz-linear-gradient(135deg, rgba(233, 30, 99, 0.75) 0%, rgba(233, 30, 99, 0.65) 100%);
        background: -webkit-linear-gradient(135deg, rgba(2233, 30, 99, 0.75) 0%, rgba(233, 30, 99, 0.65) 100%);
    }
}

.carousel .indicators {
    padding-bottom: 10px !important;
}

.carousel-control:hover{
    cursor: url(/medias/2.ico),auto;
}

.index-card {
    margin-top: -10px;
    padding-top: 20px;
}

.carousel-post .title {
    font-size: 2.6rem;
}

.dream {
    margin-top: 20px;
    margin-bottom: 40px;
}

.dream .title,
.music-player .title,
.video-player .title {
    margin-bottom: 20px;
    font-size: 2rem;
    font-weight: 700;
}

.dream .text {
    opacity: .6;
    font-size: 1.1rem;
}

.music-player,
.video-player {
    margin-top: 10px;
    margin-bottom: 50px;
}

.aplayer-list:hover{
    cursor: url(/medias/2.ico),auto;
}

.music,
.dplayer-video {
    box-shadow: 0 5px 20px 0 rgba(0, 0, 0, .2), 0 10px 20px -12px rgba(0, 0, 0, .5) !important;
}

#recommend-sections {
    margin-top: -30px;
    padding-top: 30px;
}

.index-card .card .card-content {
    padding: 20px 40px;
}

@media only screen and (min-width: 1418px) {
    .recommend {
        margin-top: 20px;
        padding: 0 0.75rem;
    }
}

@media only screen and (max-width: 601px) {
    .index-card .card .card-content {
        padding: 10px 10px;
    }
}

/*中等屏幕下(平板类)的样式*/
@media only screen and (min-width: 600px) and (max-width: 992px) {
    .index-card .card .card-content {
        padding: 20px 20px;
    }
}

.recommend .row .col {
    padding: 0 1.25rem;
}

.recommend .title {
    margin-top: 25px;
    margin-bottom: 25px;
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.8rem;
}

.recommend .post-card:before {
    position: absolute;
    z-index: 0;
    width: 100%;
    height: 100%;
    display: block;
    left: 0;
    top: 0;
    content: "";
    background-color: rgba(0, 0, 0, .3);
    border-radius: 10px;
}

.recommend .post-card {
    position: relative;
    width: 100%;
    height: 300px;
    max-height: 300px;
    margin-bottom: 15px;
    margin-top: 15px;
    text-align: center;
    border: 0;
    border-radius: 10px;
    color: rgba(0, 0, 0, .87);
    background: #fff 50%;
    background-size: cover;
    box-shadow: 0 15px 35px rgba(50, 50, 93, .1), 0 5px 15px rgba(0, 0, 0, .07);
}

.recommend .post-card .post-body {
    position: relative;
    margin: 0 auto;
    padding: 1.8rem 1.25rem;
    z-index: 2;
}

.recommend .post-card .post-categories {
    margin: 10px auto;
}

.recommend .post-card .post-categories .category {
    padding: 0 8px;
    color: hsla(0, 0%, 100%, .7) !important;
    font-size: .75rem;
    font-weight: 500;
}

.recommend .post-card a {
    color: #fff;
}

.recommend .post-card .post-title {
    height: 48px;
    margin-top: 10px;
    margin-bottom: 5px;
}

.recommend .post-card .post-description {
    margin: 20px auto;
    max-width: 500px;
    height: 65px;
    max-height: 65px;
    font-size: 14px;
    color: hsla(0, 0%, 100%, .78) !important;
}

.recommend .post-card .read-more {
    height: 40px;
    margin: .6rem 1px;
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 40px;
    color: #fff;
    border-radius: 30px;
    box-shadow: 0 2px 2px 0 rgba(244, 67, 54, .14), 0 3px 1px -2px rgba(244, 67, 54, .2), 0 1px 5px 0 rgba(244, 67, 54, .12);
}

.recommend .post-card .read-more .icon {
    font-size: 1.05rem;
    padding-right: 10px;
}

.archive-calendar {
    margin-top: -60px;
    max-width: 820px;
}

#post-calendar {
    width: 100%;
    height: 225px;
}

.settings-content {
    margin-top: -10px;
}

/*文章列表卡片各样式*/
#articles {
    margin-top: 10px;
    margin-bottom: 10px;
}

article a {
    margin-right: 0 !important;
    color: #525f7f;
    text-transform: none !important;
}

article a:hover {
    font-weight: bold;
    color: #42b983;
    text-decoration: underline;
}

.articles .row {
    margin-left: 0;
    margin-right: 0;
}

article .card {
    border-radius: 8px;
    overflow: hidden;
}

article .card-image {
    background-color: #222;
    border-radius: 8px;
}

article .card-image img {
    height: 220px;
    border-radius: 0.3rem;
    opacity: .7;
}

article .tag-image img {
    height: 220px;
}

article .card .card-content {
    padding: 15px 15px 12px 18px;
}

article .article-content .summary {
    padding-bottom: 2px;
    padding-left: 0;
    margin-bottom: 6px;
    word-break: break-all;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

article .article-content .publish-author {
    float: right;
}

.publish-date .icon-date {
    padding-right: 5px;
}

.publish-author .icon-category {
    padding-left: 10px;
}

.article-content .publish-author .post-category {
    padding-left: 5px;
}

article .card .card-action {
    padding: 10px 15px 10px 18px;
    border-radius: 0 0 8px 8px !important;
}

article .article-tags .chip {
    margin: 2px;
    font-size: 0.8rem;
    font-weight: 400;
    height: 22px;
    line-height: 22px;
    color: #fff;
    border-radius: 10px;
}

.prev-next {
    margin-left: -0.75rem;
}

.prev-next .article-badge {
    min-width: 3rem;
    margin-top: 7px;
    padding: 3px 10px 3px 8px;
    text-align: center;
    font-size: 1rem;
    line-height: inherit;
    position: absolute;
    box-sizing: border-box;
    z-index: 200;
    background-color: #fff;
    font-weight: 500;
}

.prev-next .left-badge {
    border-radius: 8px 0 8px 0;
}

.prev-next .right-badge {
    border-radius: 0 8px 0 8px;
    right: 10px;
}

.paging {
    margin-bottom: 15px;
}

.paging .row {
    margin-left: 0;
    margin-right: 0;
}

.paging .page-info {
    font-size: 1.4rem;
    color: #888;
    padding-top: 1rem;
}

.paging i {
    font-size: 2.5rem;
}

.paging .disabled {
    background-color: #ccc !important;
}

.paging .disabled i {
    color: #999 !important;
}

/*文章详情样式*/
#artDetail {
    margin-top: -60px;
}

/* 修改小屏幕下文章详情table样式. */
@media only screen and (max-width: 550px) {
    #articleContent table {
        table-layout: fixed;
    }
}

@media only screen and (min-width: 1418px) {
    #artDetail {
        margin-top: -60px;
        padding: 0 0.75rem;
    }
}

#artDetail .card {
    box-shadow: 0 10px 35px 2px rgba(0, 0, 0, .15),
        0 5px 15px rgba(0, 0, 0, .07),
        0 2px 5px -5px rgba(0, 0, 0, .1) !important;
}

#artDetail .tag-cate {
    padding-bottom: 15px;
}

#artDetail a {
    margin-right: 0 !important;
    text-transform: none !important;
}

#artDetail .article-info {
    padding: 20px 30px 1px 40px;
    margin-bottom: -5px;
}

#artDetail .article-tag .chip {
    font-size: 1rem;
    font-weight: 400;
    height: 25px;
    line-height: 24px;
    color: #fff;
    border-radius: 15px;
    margin-right: 5px;
    margin-bottom: 2px;
}

#artDetail .tag_share .article-tag .chip {
    font-size: 1rem;
    font-weight: 400;
    height: 25px;
    line-height: 23px;
    border-radius: 15px;
    margin-right: 5px;
    margin-bottom: 2px;
    color: #42b983;
    background: #fff;
    border: 1px solid;
    transition: all 0.6s ease-in-out;
}

#artDetail .tag_share .article-tag .chip:hover {
    color: #fff;
    background: #42b983;
}

#artDetail .post-cate {
    float: right;
    color: #42b983;
}

#artDetail .post-cate a {
    padding-right: 5px;
    color: #42b983;
    font-weight: 500;
}

#artDetail .post-cate a:hover {
    text-decoration: underline;
}

#artDetail .post-info {
    color: #525f7f;
}

#artDetail .post-info .post-category {
    padding-right: 4px;
    color: #525f7f;
}

#artDetail .post-info .post-category:hover {
    font-weight: bold;
    color: #42b983;
    text-decoration: underline;
}

#artDetail .post-info .post-date {
    color: #525f7f;
}

#artDetail .post-info .post-word-count {
    margin-left: 15px;
}

#artDetail .post-info .post-read {
    margin-left: 15px;
    color: #525f7f;
}

#artDetail .article-card-content {
    padding: 0 15px 20px 18px;
}

@media only screen and (max-width: 601px) {
    #artDetail .article-info {
        padding: 15px 15px 1px 15px;
        margin-bottom: -5px;
    }
}

@media only screen and (min-width: 600px) and (max-width: 992px) {
    #artDetail .article-card-content {
        padding: 0 30px 20px 32px;
    }

    #artDetail .article-info {
        padding: 15px 20px 0 28px;
        margin-bottom: -5px;
    }
}

@media only screen and (min-width: 993px) {
    #artDetail .article-card-content {
        padding: 0 50px 20px 50px;
    }
}

#artDetail .reprint {
    margin: 15px 0 5px 0;
    margin-bottom: 0.4rem;
    padding: 0.5rem 0.8rem;
    border: 1px solid #eee;
    line-height: 2;
    transition: box-shadow 0.3s ease-in-out
}

#artDetail .reprint:hover {
    box-shadow: 0 0 10px 0 rgba(232, 237, 250, .6), 0 4px 8px 0 rgba(232, 237, 250, .5)
}

#artDetail .reprint a {
    font-size: 1.05rem;
    color: #42b983;
    font-weight: 500;
}

#articleContent p {
    margin: 2px 2px 10px;
    font-size: 1.05rem;
    line-height: 1.85rem;
}

#articleContent blockquote p {
    text-indent: 0.2rem;
}

#articleContent a {
    padding: 0 2px;
    color: #42b983;
    font-weight: 500;
    text-decoration: underline;
    word-wrap: break-word;
}

#articleContent .img-item {
    text-align: center;
}

#articleContent img {
    max-width: 100%;
    height: auto;
    cursor: url(/medias/2.ico),auto;
}

#articleContent video {
    display: block;
    margin: 30px auto;
    box-shadow: 0 5px 35px 0 rgba(0, 0, 0, .2), 0 10px 35px -11px rgba(0, 0, 0, .6);
    cursor: url(/medias/2.ico),auto;
}

#articleContent ol,
#articleContent ul {
    display: block;
    padding-left: 2em !important;
    word-spacing: 0.05rem;
}

#articleContent ul li,
#articleContent ol li {
    display: list-item;
    line-height: 1.8rem;
    font-size: 1rem;
}

#articleContent ul li {
    list-style-type: disc;
}

#articleContent ul ul li {
    list-style-type: circle;
}

#articleContent table,
th,
td {
    padding: 12px 13px;
    border: 1px solid #dfe2e5;
}

table tr:nth-child(2n),
thead {
    background-color: #fafafa;
}

#articleContent table th {
    background-color: #f2f2f2;
    min-width: 80px;
}

#articleContent table td {
    min-width: 80px;
}

#articleContent [type="checkbox"]:not(:checked),
[type="checkbox"]:checked {
    position: inherit;
    margin-left: -1.3rem;
    margin-right: 0.4rem;
    margin-top: -1px;
    vertical-align: middle;
    left: unset;
    visibility: visible;
}

@media only screen and (min-width: 600px) {
    #article-share .social-share a {
        margin-left: 15px !important;
    }
}

.chip-container {
    margin-top: -60px;
}

.chip-container .tag-title {
    margin-bottom: 10px;
    color: #3C4858;
    font-size: 1.75rem;
    font-weight: 400;
}

.chip-container .tag-chips {
    margin: 1rem auto 0.5rem;
    max-width: 850px;
    text-align: center;
}

.chip-container .tags-posts {
    margin-top: 20px;
}

.chip-container .chip-default {
    color: #34495e;
}

.chip-container .chip-active {
    color: #FFF !important;
    background: linear-gradient(to bottom right, #FF5E3A 0%, #FF2A68 100%) !important;
    box-shadow: 2px 5px 10px #aaa !important;
}

.chip-container .chip {
    margin: 10px 10px;
    padding: 19px 14px;
    display: inline-flex;
    line-height: 0;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 5px;
    cursor: url(/medias/2.ico),auto;
    box-shadow: 0 3px 5px rgba(0, 0, 0, .12);
    z-index: 0;
}

.chip-container .chip:hover {
    color: #fff;
    background: linear-gradient(to right, #4cbf30 0%, #0f9d58 100%) !important;
}

.chip .tag-length {
    margin-left: 5px;
    margin-right: -2px;
    font-size: 0.5rem;
}

.chip-default .tag-length {
    color: #e91e63;
    margin-top: 1px;
}

.chip-active .tag-length {
    color: #fff;
}

/* archive page. */
#cd-timeline .year {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 10px 0 50px -20px;
    padding: 21px 10px;
    background-color: #ff5722;
    color: #fff;
    font-size: 1.8rem;
    font-weight: 600;
}

#cd-timeline .year a {
    color: #fff;
}

#cd-timeline .month {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 10px 0 30px -10px;
    padding: 14px 16px;
    background-color: #ef6c00;
    color: #fff;
    font-size: 1.7rem;
    font-weight: 600;
}

#cd-timeline .month a {
    color: #fff;
}

#cd-timeline .day {
    position: relative;
    padding: 8px 10px;
    background-color: #ffa726;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 500;
}

#cd-timeline {
    /*width: 90%;*/
    max-width: 820px;
    position: relative;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

#cd-timeline::before {
    /* this is the vertical line */
    content: '';
    position: absolute;
    top: 0;
    left: 18px;
    height: 100%;
    width: 4px;
    background: #0f9d58;
}

@media only screen and (min-width: 900px) {
    #cd-timeline {
        margin-top: 2rem;
        margin-bottom: 2rem;
    }

    #cd-timeline::before {
        left: 50%;
        margin-left: -2px;
    }

    #cd-timeline .year {
        margin: 10px 0 50px -40px;
        padding: 22px 11px;
    }

    #cd-timeline .month {
        margin: 10px 0 30px -30px;
        padding: 14px 16px;
    }
}

.cd-timeline-block {
    position: relative;
    margin: 1em 0;
}

.cd-timeline-block::after {
    clear: both;
    content: "";
    display: table;
}

.cd-timeline-block:first-child {
    margin-top: 0;
}

.cd-timeline-block:last-child {
    margin-bottom: 0;
}

@media only screen and (min-width: 870px) {
    .cd-timeline-block {
        margin: 1em 0;
    }

    .cd-timeline-block:first-child {
        margin-top: 0;
    }

    .cd-timeline-block:last-child {
        margin-bottom: 0;
    }
}

.cd-timeline-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 0 0 4px #ffffff, inset 0 2px 0 rgba(0, 0, 0, 0.08), 0 3px 0 4px rgba(0, 0, 0, 0.05);
}

@media only screen and (min-width: 900px) {
    .cd-timeline-img {
        width: 40px;
        height: 40px;
        left: 50%;
        margin-left: -20px;
        /* Force Hardware Acceleration in WebKit */
        -webkit-transform: translateZ(0);
        -webkit-backface-visibility: hidden;
    }

    .cssanimations .cd-timeline-img.is-hidden {
        visibility: hidden;
    }

    .cssanimations .cd-timeline-img.bounce-in {
        visibility: visible;
        -webkit-animation: cd-bounce-1 0.6s;
        -moz-animation: cd-bounce-1 0.6s;
        animation: cd-bounce-1 0.6s;
    }
}

.cd-timeline-content {
    position: relative;
    margin-top: -40px;
    margin-left: 60px;
    padding: 0;
    border-radius: 5px;
    background: #ffffff;
    box-shadow: 0 15px 35px rgba(50, 50, 93, .1), 0 5px 15px rgba(0, 0, 0, .07) !important;
}

.cd-timeline-content::after {
    clear: both;
    content: "";
    display: table;
}

.cd-timeline-content .card {
    margin: 0;
}

.cd-timeline-content::before {
    content: '';
    position: absolute;
    top: 18px !important;
    right: 100%;
    height: 0;
    width: 14px;
    margin-left: 2px;
    margin-right: 2px;
    border: 1px dashed #ffa726;
}

@media only screen and (min-width: 768px) {
    .cd-timeline-content h2 {
        font-size: 1.25rem;
    }

    .cd-timeline-content p {
        font-size: 1rem;
    }

    .cd-timeline-content .cd-read-more,
    .cd-timeline-content .cd-date {
        font-size: 0.875rem;
    }
}

@media only screen and (min-width: 900px) {
    .cd-timeline-content {
        margin-left: 0;
        padding: 0;
        width: 45%;

    }

    .cd-timeline-content::before {
        top: 24px;
        left: 100%;
    }

    .cd-timeline-content .cd-read-more {
        float: left;
    }

    .cd-timeline-block:nth-child(even) .cd-timeline-content {
        float: right;
    }

    .cd-timeline-block:nth-child(even) .cd-timeline-content::before {
        top: 24px;
        left: auto;
        right: 100%;
        border-color: #ffa726;
    }

    .cd-timeline-block:nth-child(even) .cd-timeline-content .cd-read-more {
        float: right;
    }

    .cssanimations .cd-timeline-content.is-hidden {
        visibility: hidden;
    }

    .cssanimations .cd-timeline-content.bounce-in {
        visibility: visible;
        -webkit-animation: cd-bounce-2 0.6s;
        -moz-animation: cd-bounce-2 0.6s;
        animation: cd-bounce-2 0.6s;
    }
}

/* about page styles. */

.about-container {
    width: 90%;
    max-width: 1225px;
    margin-top: -60px;
}

@media only screen and (max-width: 601px) {
    .about-container {
        width: 95%;
    }
}

.post-statis {
    text-align: center;
}

.post-statis .statis {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    text-align: center;
    letter-spacing: .03rem;
}

.post-statis .statis .count {
    display: block;
    font-size: 1.3rem;
    font-weight: bold;
    text-decoration: underline;
}

.post-statis .statis .count a {
    color: #42b983;
}

.post-statis .statis .name {
    font-size: 0.9rem;
    color: #777;
}

#aboutme .social-link {
    margin: 0.5rem 0;
    text-align: center;
}

#aboutme .social-link a {
    display: inline-block;
    width: 2.3rem;
    height: 2.3rem;
    line-height: 2.2rem;
    margin: 0 0.5rem;
    padding: 0;
    color: #fff;
    border: 1px solid #0f9d58;
    background: radial-gradient(#4cbf30, #0f9d58);
    font-size: 0.9rem;
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(50, 50, 93, .21), 0 2px 3px rgba(0, 0, 0, .1);
}

.profile .avatar-img {
    max-width: 160px;
    width: 100%;
    margin: 0 auto;
    transform: translate3d(0, -65%, 0);
}

.profile .author {
    margin-top: -80px;
}

.profile .author .post-statis {
    margin: 0.5rem 0 1.4rem 0;
}

.profile .author .title {
    margin-bottom: 0.1rem;
    font-size: 1.8rem;
    font-weight: 500;
    color: #3C4858;
}

.profile .author .career {
    margin: 8px 0;
    font-size: 0.9rem;
    font-weight: 400;
    color: #777;
}

#aboutme .profile .social-link {
    margin: 1.5rem 0 0.8rem 0;
}

#aboutme .introduction {
    margin: 1.5rem auto 3rem;
    max-width: 600px;
    color: #999;
}

.post-charts,
.my-projects,
.my-skills,
.post-charts {
    padding: 3.8rem 1.5rem 0.8rem 1.5rem;
}

.post-charts,
.title,
.my-projects .title,
.my-skills .title,
.my-gallery .title {
    font-size: 2rem;
    margin-bottom: 2.25rem;
}

my-gallery:hover{
    cursor: url(/medias/2.ico),auto;
}

.my-projects .info {
    max-width: 360px;
    margin: 0 auto;
    padding: 1rem 0 1rem;
}

.my-projects .info .icon {
    display: inline-block;
    width: 76px;
    height: 76px;
    text-align: center;
    line-height: 76px;
    color: #fff;
    font-size: 1.75rem;
    border-radius: 50%;
}

.my-projects .info .info-title {
    margin: 1.25rem 0 0.875rem;
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.5em;
}

.my-projects .info .info-title a {
    color: #34495e;
}

.my-projects .info .info-desc {
    margin: 0 0 10px;
    font-size: 0.9rem;
    color: #999;
}

.my-skills .skillbar {
    position: relative;
    display: block;
    max-width: 360px;
    margin: 15px auto;
    background: #eee;
    height: 30px;
    border-radius: 35px;
    -moz-border-radius: 35px;
    -webkit-border-radius: 35px;
    -webkit-transition: 0.4s linear;
    -moz-transition: 0.4s linear;
    -o-transition: 0.4s linear;
    transition: 0.4s linear;
    -webkit-transition-property: width, background-color;
    -moz-transition-property: width, background-color;
    -o-transition-property: width, background-color;
    transition-property: width, background-color;
}

.skillbar .skillbar-title {
    position: absolute;
    top: 0;
    left: 0;
    width: 110px;
    font-size: 0.9rem;
    color: #ffffff;
    border-radius: 35px;
    -webkit-border-radius: 35px;
    -moz-border-radius: 35px;
}

.skillbar .skillbar-title span {
    display: block;
    background: rgba(0, 0, 0, 0.15);
    padding: 0 20px;
    height: 30px;
    line-height: 30px;
    border-radius: 35px;
    -webkit-border-radius: 35px;
    -moz-border-radius: 35px;
}

.skillbar .skillbar-bar {
    height: 30px;
    width: 0;
    border-radius: 35px;
    -moz-border-radius: 35px;
    -webkit-border-radius: 35px;
}

.skillbar .skill-bar-percent {
    position: absolute;
    right: 10px;
    top: 0;
    font-size: 12px;
    height: 30px;
    line-height: 30px;
    color: #ffffff;
    color: rgba(0, 0, 0, 0.5);
}

.my-skills .other-skills {
    margin-top: 2rem;
}

.other-skills .sub-title {
    font-size: 1.5rem;
}

.other-skills .tag-chips {
    max-width: 600px;
}

.other-skills .chip {
    background-color: #fff;
    border: 1px solid #eee;
}

.other-skills .chip:hover {
    color: #fff;
    background: linear-gradient(to right, #4cbf30 0%, #0f9d58 100%);
    border: 1px solid #4cbf30;
    box-shadow: 0 5px 5px rgba(0, 0, 0, .25)
}

.my-gallery {
    margin: 4.5rem auto 1rem;
    padding: 0 1.2rem;
    max-width: 1100px;
}

.my-gallery .photo {
    margin: .5rem 0;
}

.my-gallery .photo img {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    cursor: url(/medias/2.ico),auto;
}

/*尾部样式*/
footer {
    padding-bottom: 1px;
}

footer .social-statis {
    margin-top: 10px;
    position: relative;
}

footer a {
    color: #fff;
}

footer .copy-right {
    color: #dbdbdb;
}

/*搜索层样式*/
.modal-overlay{
    display: none;
}
@media screen and (min-width: 1202px) {
    #searchModal {
        top: 13%!important;
        width: 56%!important;
    }
}
body.dark #searchModal {
    background-color: rgba(255, 255, 255, 0.1);
}
#searchIcon {
    font-size: 1.2rem;
}
.search-result {
    color: #fff;
}
#searchModal {
    min-height: 100px;
    width: 80%;
    background-color: rgba(0,0,0,0.4);
    border-radius: 10px;
    z-index: 1003;
}
#searchModal .search-header .title {
    font-size: 1.1rem;
    color: #42b983;
}
#searchModal .search-header .title .fa-search {
    color: #42b983;
}
#searchResult {
    margin: -15px 0 10px 10px;
}

#searchResult .search-result-list {
    margin-left: -8px;
    padding-left: 0;
    color: #666;
}

.search-result-list .search-result-title {
    font-size: 1.4rem;
    color: #42b983;
}

.search-result-list li {
    border-bottom: 1px solid #e5e5e5;
    padding: 15px 0 5px 0;
}

.search-result-list .search-keyword {
    margin: 0 2px;
    padding: 1px 5px 1px 4px;
    border-radius: 2px;
    background-color: #f2f2f2;
    color: #e96900;
    font-style: normal;
    white-space: pre-wrap;
}

/*回到顶部按钮样式*/
.top-scroll {
    display: none;
    position: fixed;
    right: 20px;
    bottom: 15px;
    padding-top: 15px;
    margin-bottom: 0;
    z-index: 998;
}

.top-scroll .btn-floating {
    background: linear-gradient(to bottom right, #4fc3f7 0%, #4fc3f7 100%);
    width: 45px;
    height: 45px;
}

.top-scroll .btn-floating i {
    line-height: 45px;
    font-size: 1.48rem;
}

@media screen and (min-width: 368px) and (max-width: 767px) {
    .info-break-policy {
        word-break: keep-all;
        float: left;
        width: 50%;
    }
}

@media screen and (min-width: 768px) {
    .info-break-policy {
        word-break: keep-all;
        float: left;
        margin-right: 15px;
    }
}

@media screen and (max-width: 367px) {
    .info-break-policy {
        word-break: keep-all;
        float: left;
        width: 100%;
    }

    .custom-card {
        padding: 0 2px !important;
    }
}

.info-break-policy {
    margin-bottom: 8px;
}

.clearfix {
    clear: left;
}

.img-shadow {
    box-shadow: 0 5px 25px 0 rgba(0, 0, 0, .2), 0 10px 30px -11px rgba(0, 0, 0, .6)
}

.img-margin {
    margin: 25px auto 10px auto;
}

.caption {
    text-align: center;
    margin: 0 auto 15px auto;
}

.center-caption {
    color: #525f7f;
    padding: 5px;
    border-bottom: 1px solid #d9d9d9;
}

.lg-sub-html .center-caption {
    color: #fff !important;
    border-bottom: none;
}

.overflow-policy {
    overflow: hidden;
}

/* styles for '...' */
.block-with-text {
    /* hide text if it more than N lines  */
    overflow: hidden;
    /* for set '...' in absolute position */
    position: relative;
    /* use this value to count block height */
    line-height: 1.5em;
    /* max-height = line-height (1.2) * lines max number (3) */
    max-height: 4.5em;
    /* fix problem when last visible word doesn't adjoin right side  */
    text-align: justify;
    /* place for '...' */
    margin-right: -1em;
    padding-right: 1em;
}

/* create the ... style */
.block-with-text:before {
    /* points in the end */
    content: '...';
    /* absolute position */
    position: absolute;
    /* set position to right bottom corner of block */
    right: 0.2em;
    bottom: 0;
}

/* hide ... if we have text, which is less than or equal to max lines */
.block-with-text:after {
    /* points in the end */
    content: '';
    /* absolute position */
    position: absolute;
    /* set position to right bottom corner of text */
    right: 0;
    /* set width and height */
    width: 1em;
    height: 1em;
    /* fix the problem of hidden failure */
    margin-top: 0.4em;
    /* bg color = bg color under block */
    background: white;
}

/*二级菜单*/

.nav-menu {
}

.nav-menu li .sub-nav {
    position: absolute;
    top: 66px;
    list-style: none;
    margin-left: -20px;
    display: none;
}

.nav-menu li .sub-nav li {
    text-align: center;
    clear: left;
    width: 140px;
    height: 35px;
    line-height: 35px;
    position: relative;
}

.nav-menu li .sub-nav li a {
    height: 34px;
    line-height: 34px;
    width: 138px;
    padding: 0px;
    display: inline-block;
    border-radius: 5px;
    color: #000;
}

.nav-show i[aria-hidden=true] {
    -webkit-transform: rotate(180deg) !important;
    -moz-transform: rotate(180deg) !important;
    -o-transform: rotate(180deg) !important;
    -ms-transform: rotate(180deg) !important;
    transform: rotate(180deg) !important;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -o-transition: all .3s;
    -ms-transition: all .3s;
    transition: all .3s;
}

.menus_item_child {
    background-color: rgba(255, 255, 255, .8);
    width: fit-content;
    border-radius: 10px;
    -webkit-box-shadow: 0 5px 20px -4px rgba(0, 0, 0, .5);
    box-shadow: 0 5px 20px -4px rgba(0, 0, 0, .5);
    display: none;
    opacity: 0.98;
    -ms-filter: none;
    filter: none;
    -webkit-animation: sub_menus .3s .1s ease both;
    -moz-animation: sub_menus .3s .1s ease both;
    -o-animation: sub_menus .3s .1s ease both;
    -ms-animation: sub_menus .3s .1s ease both;
    animation: sub_menus .3s .1s ease both;
}

.menus_item_child:before {
    content: "";
    position: absolute;
    top: -20px;
    left: 50%;
    margin-left: -10px;
    border-width: 10px;
    border-style: solid;
    border-color: transparent transparent rgba(255, 255, 255, .8)
}

.m-nav-item {
    position: relative;
}

.m-nav-item ul {
    display: none;
}

.m-nav-item ul li {
    width: 255px;
    height: 50px;
    line-height: 50px;
    text-align: center;
}

.m-nav-show .m-icon {
    -webkit-transform: rotate(90deg) !important;
    -moz-transform: rotate(90deg) !important;
    -o-transform: rotate(90deg) !important;
    -ms-transform: rotate(90deg) !important;
    transform: rotate(90deg) !important;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -o-transition: all .3s;
    -ms-transition: all .3s;
    transition: all .3s;
}

.m-nav-show,
.m-nav-item > a:hover {
    color: #FFF;
    background: rgba(255, 255, 255, .8);
}

.m-nav-show > a:before,
.m-nav-item > a:hover:before {
    opacity: 1;
}

.m-nav-item .m-icon {
    position: absolute;
    right: 15px;
    height: 50px;
    padding: 0px;
    margin: 0px;
}

/* 深色模式按钮设置 */ 
#sma { 
        background: #000; 
        width: 45px; 
        height: 45px; 
        display: block; 
        position: fixed; 
        border-radius: 50%; 
        right: 20px; 
        bottom: 75px;
        padding-top: 15px; 
        margin-bottom: 0; 
        z-index: 998; 
        cursor: url('/medias/2.ico'),auto;
} 
#sma .fa-moon-o {
        position: absolute; 
        right: 12px; 
        bottom: 12px; 
        font-size: 1.48rem!important; 
} 
#sma .fa-lightbulb-o {
        position: absolute; 
        right: 15px; 
        bottom: 15px; 
        font-size: 1.5rem!important; 
} 
.fa-moon-o:before { 
      content: "\f186"; 
}
.fa-comments:before { 
content: "\f086"; 
} 
/* 深色模式设置 */
 /* 字体颜色变灰白色 */ 
body.dark .fas, 
body.dark .title, 
body.dark .row .text, 
body.dark article .article-content .summary, 
body.dark .card .card-image .card-title, 
body.dark .fa-moon-o:before, 
body.dark .fa-lightbulb-o:before, 
body.dark article .article-tags .chip, 
body.dark .chip-container .tag-title, 
body.dark div.jqcloud a, 
body.dark .friends-container .tag-title, 
body.dark .frind-ship .title h1, 
body.dark .card .card-content p, 
body.dark .card .card-content .dyy, 
body.dark .card .card-content .dss, 

body.dark .v[data-class=v] .vcount, 
body.dark .v[data-class=v] .vcount .vnum, 
body.dark pre code, 
body.dark h1, 
body.dark h2, 
body.dark h3, 
body.dark h4, 
body.dark h5, 
body.dark h6, 
body.dark li, 
body.dark p, 
body.dark header .side-nav .mobile-head .logo-name, 
body.dark header .side-nav .mobile-head .logo-desc, 
body.dark header .side-nav .menu-list a, 
body.dark .bg-cover .post-title, 
body.dark a,
body.dark .aplayer .aplayer-info .aplayer-music .aplayer-title
{
    color: rgba(255, 255, 255, 0.6); 
} 
body.dark .aplayer .aplayer-lrc:before,
body.dark .aplayer .aplayer-lrc:after {
    display: none;
}
body.dark .aplayer.aplayer-withlist .aplayer-info {
    border: none;
}
/* 背景颜色变灰色 */ 
body.dark .card, 
body.dark .block-with-text:after 
{ 
      background-color: #282c34; 
} 
.frind-ship .title h1 {
    font-size: 1.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 11.5rem;
}
/* 背景颜色变黑色 */ 
body.dark, 
body.dark .v[data-class=v] .vcount, 
body.dark #rewardModal .modal-content, 
body.dark .modal, 
body.dark header .side-nav, 
body.dark header .side-nav .menu-list .m-nav-show 
{ 
      background-color: #12121c; 
} 
body.dark a.toc-link {
    color: #fff;
}
/*统计图表暗色样式*/
body.dark #categories-chart, body.dark #category-radar, body.dark #post-calendar, body.dark #posts-chart, body.dark #tags-chart,body.dark div#aplayer {
    filter: invert(1)
}
body.dark span.aplayer-title{
    filter: invert(1);
}
/*导航栏*/
body.dark .nav-menu li ul{
    background: #000;
    opacity:1;
}
body.dark .menus_item_child:before{
    border-color: transparent transparent #000
}
body.dark .nav-menu li .sub-nav li a{
    color: #fff;
}
#toc-content .toc-link::before {
    display: none!important;
}
#toc-content {
    height: 260px!important;
}
@media only screen and (min-width: 1200px) {
    #visitmap a img {
        padding: 10px;
    }
    footer .social-statis {
        padding: 58px!important;
    }
}

.toc-widget {
    margin-top: 34px;
    width: 345px;
    max-height: 395px;
    padding-left: 20px;
    padding-top: 5px;
    background-color: rgba(255, 255, 255,.7);
    border-radius: 10px;
    box-shadow: 0 10px 35px 2px rgba(0, 0, 0, .15), 0 5px 15px rgba(0, 0, 0, .07), 0 2px 5px -5px rgba(0, 0, 0, .1) !important;
}
body.dark .toc-widget {
    background-color: #282c34;
}
/* 改变透明度 */ 
body.dark .aplayer{background: #2f3742!important;} 
body.dark img, body.dark strong { 
            filter: brightness(.7); 
} 

/* 垂直滚动条 */
::-webkit-scrollbar-thumb {
    background-color: #03a9f4;
    background-image: -webkit-linear-gradient(45deg,rgba(255,255,255,.4) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.4) 50%,rgba(255,255,255,.4) 75%,transparent 75%,transparent);
    border-radius: 3em;
}
::-webkit-scrollbar-track {
    background-color: #e1f5fe;
    border-radius: 3em;
}
body.dark::-webkit-scrollbar-track {
    background-color: #282c34;
}
::-webkit-scrollbar {
    width: 8px;
    height: 15px;
}

/*valine修改*/
#vcomments .vcards .vcard {
    padding: 15px 20px 0 20px;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 0 4px 1px rgba(0, 0, 0, .12);
    transition: all .3s;

}
#vcomments .vcards .vcard:hover {
    box-shadow: 0 0 8px 3px rgba(0, 0, 0, .12)
}

#vcomments .vcards .vcard .vh .vcard {
    border: none;
    box-shadow: none;
}
article .card:hover {
    transform: scale3d(1.06,1.06,1.08);
}
article .card {
    transition: all 0.9s;
}
.pulse {
    overflow: hidden;
    animation: none;
}
.frind-ship .title div p{
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 11.5rem;
}
.frind-ship img {
    transition: transform .6s;
}
.friend-div .card:hover .frind-ship img {
    transform: rotate(145deg);
}

/*春节模式 */ 
#switchspring { 
    background: #dc8f03;
    width: 45px;
    height: 45px;
    display: block;
    position: fixed;
    border-radius: 50%;
    right: 20px;
    bottom: 135px;
    padding-top: 15px;
    margin-bottom: 0;
    z-index: 998;
    cursor: url(/medias/2.ico),auto;
}    
.chunjiepic { 
    width: 45px;
    height: 45px;
    border-radius: 50%;
    position: absolute;
    bottom: 0px;
}
.deng-box, .deng-box1 {
    display: none;
}
body.themespring .deng-box, body.themespring .deng-box1 {
    display: block;
}
 /*春节主题 挂件吊线*/ .caishenxianleft { left: 16%!important; position: absolute; top: 0px; width: 2px; height: 20px; background: #dc8f03; transform-origin: 50% -100px; animation: swing 3.5s infinite ease-in-out; -webkit-transform-origin: 50% -100px; -webkit-animation: swing 3.5s infinite ease-in-out; } .caishenxian { position: absolute; top: 0px; right: 20%; width: 2px; height: 20px; background: #dc8f03; transform-origin: 50% -100px; animation: swing 3.5s infinite ease-in-out; -webkit-transform-origin: 50% -100px; -webkit-animation: swing 3.5s infinite ease-in-out; } .guguxian { position: absolute; top: 0px; left: 20%; width: 2px; height: 20px; background: #dc8f03; transform-origin: 50% -100px; animation: swing 3.5s infinite ease-in-out; -webkit-transform-origin: 50% -100px; -webkit-animation: swing 3.5s infinite ease-in-out; } .wenzhangxian { left: 50%!important; z-index: 998; } /*春节主题 挂件*/ .fudai { top: 14px!important; left: -22px!important; } .caishenpic { width: 48px; height: 48px; border-radius: 50%; position: absolute; top: 12px; right: -22px; z-index: 9; /* transform-origin: 50% -100px; */ animation: swing 3.5s infinite ease-in-out; /* -webkit-transform-origin: 50% -100px; */ -webkit-animation: swing 3.5s infinite ease-in-out; } 
 .lala { width: 32px!important; height: 32px!important; opacity: 1!important; left: -15px!important; top: 14px!important; } .chunp { width: 216px!important; height: 96px!important; left: -80px!important; top: 6px!important; } .fudao { width: 38px; height: 38px; top: 18px!important; left: -19px!important; } 
/* 点击显示或者隐藏总样式开始 */ 
.caishendeng, .xiaomaozitx, .labelmz, .friendmz { display: none; } body.themespring .caishendeng, body.themespring .xiaomaozitx, body.themespring .labelmz, body.themespring .friendmz { display: block; } /* 点击显示或者隐藏总样式结束 */ .toupic { position: relative; } .xiaomaozitx { width: 60px; height: 60px; position: absolute; top: -127px; right: 25%; transform: rotate(40deg); position: absolute; z-index: 99; -webkit-animation: mzanimate 1.2s infinite ease-in-out; } .labelmz { width: 34px; height: 34px; position: absolute; top: 7px; right: -84px; transform: rotate(40deg); position: absolute; z-index: 99; -webkit-transform-origin: 50% -100px; -webkit-animation: mzanimate 1.8s infinite ease-in-out; } .weilemz { position: relative; } .friendmz { width: 50px!important; height: 50px!important; position: absolute; top: 8px; right: -90px; transform: rotate(44deg); position: absolute; z-index: 99; -webkit-transform-origin: 50% -100px; -webkit-animation: mzanimate 1.8s infinite ease-in-out; } .lions { width: 32px!important; height: 32px!important; opacity: 1!important; left: -15px!important; top: 14px!important; } .fenleiss { position: absolute; top: -64px; left: 20%; width: 2px; height: 20px; background: #dc8f03; transform-origin: 50% -100px; animation: swing 3.5s infinite ease-in-out; -webkit-transform-origin: 50% -100px; -webkit-animation: swing 3.5s infinite ease-in-out; } .gugus { width: 32px!important; height: 32px!important; opacity: 1!important; left: -15px!important; top: 9px!important; } .huadengpic { width: 40px!important; height: 40px!important; opacity: 1!important; left: -18px!important; top: 9px!important; } .shanzipic { width: 40px!important; height: 40px!important; opacity: 1!important; left: -18px!important; top: 18px!important; } .denglong { display: none; } body.themespring .denglong { display: block; } @media only screen and (min-width: 1124px) { .nav-menu { padding-right: 0px; } body.themespring .nav-menu { padding-right: 96px; } } @media only screen and (max-width: 760px) { .deng-box, .deng-box1 { width: 40%; } body.themespring .right { float: left!important; } } @media only screen and (min-width: 768px) and (max-width: 1024px) { .right { float: left!important; } } .deng-box { position: fixed; top: -40px; right: -20px; z-index: 999; } .deng-box1 { position: fixed; top: -30px; right: 10px; z-index: 999; } .deng-box1 .deng { position: relative; width: 120px; height: 90px; margin: 50px; background: #d8000f; background: rgba(216, 0, 15, 0.8); border-radius: 50% 50%; -webkit-transform-origin: 50% -100px; -webkit-animation: swing 5s infinite ease-in-out; box-shadow: -5px 5px 30px 4px rgba(252, 144, 61, 1); } .deng { position: relative; width: 120px; height: 90px; margin: 50px; background: #d8000f; background: rgba(216, 0, 15, 0.8); border-radius: 50% 50%; -webkit-transform-origin: 50% -100px; -webkit-animation: swing 3s infinite ease-in-out; box-shadow: -5px 5px 50px 4px rgba(250, 108, 0, 1); } .deng-a { width: 100px; height: 90px; background: #d8000f; background: rgba(216, 0, 15, 0.1); margin: 12px 8px 8px 10px; border-radius: 50% 50%; border: 2px solid #dc8f03; } .deng-b { width: 45px; height: 90px; background: #d8000f; background: rgba(216, 0, 15, 0.1); margin: -4px 8px 8px 26px; border-radius: 50% 50%; border: 2px solid #dc8f03; } .xian { position: absolute; top: -20px; left: 60px; width: 2px; height: 20px; background: #dc8f03; } .shui-a { position: relative; width: 5px; height: 20px; margin: -5px 0 0 59px; -webkit-animation: swing 4s infinite ease-in-out; -webkit-transform-origin: 50% -45px; background: #ffa500; border-radius: 0 0 5px 5px; } .shui-b { position: absolute; top: 14px; left: -2px; width: 10px; height: 10px; background: #dc8f03; border-radius: 50%; } .shui-c { position: absolute; top: 18px; left: -2px; width: 10px; height: 35px; background: #ffa500; border-radius: 0 0 0 5px; } .deng:before { position: absolute; top: -7px; left: 29px; height: 12px; width: 60px; content: " "; display: block; z-index: 999; border-radius: 5px 5px 0 0; border: solid 1px #dc8f03; background: #ffa500; background: linear-gradient(to right, #dc8f03, #ffa500, #dc8f03, #ffa500, #dc8f03); } .deng:after { position: absolute; bottom: -7px; left: 10px; height: 12px; width: 60px; content: " "; display: block; margin-left: 20px; border-radius: 0 0 5px 5px; border: solid 1px #dc8f03; background: #ffa500; background: linear-gradient(to right, #dc8f03, #ffa500, #dc8f03, #ffa500, #dc8f03); } .deng-t { font-family: 华文行楷; font-size: 26px; color: #dc8f03; font-weight: bold; line-height: 44px; text-align: center; } .night .deng-t, .night .deng-box, .night .deng-box1 { background: transparent !important; } @-moz-keyframes swing { 0% { -moz-transform: rotate(-10deg) } 50% { -moz-transform: rotate(10deg) } 100% { -moz-transform: rotate(-10deg) } } @-webkit-keyframes swing { 0% { -webkit-transform: rotate(-10deg) } 50% { -webkit-transform: rotate(10deg) } 100% { -webkit-transform: rotate(-10deg) } }

body.dark {
background-color: rgba(18,18,28,.8)!important;
}
/* 点击显示或者隐藏总样式结束 */