
/* 侧边导航 */
.nav-side{
    float: left;
    width: 230px;
    text-align: center;
    background-color: #701d75;
}
.nav-side>div:first-child{
    color: white;
    font-size: 28px;
    font-weight: bold;
    line-height: 2.5em;
    border-bottom: 2px solid #c891cc;
}
.nav-side li{
    margin: 8px
}
.nav-side a{
    display: block;
    font-size: 18px;
    line-height: 2.5em;
    color: white;
    transition: all .25s linear;
}
.nav-side a:hover,
.nav-side li.active>a{
    color: white !important;
    background-color: #c97eba !important;
}
.nav-side li>ul{
    background-color: #f7f0f2;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
}
.nav-side li:hover>ul,
.nav-side li.active>ul{
    max-height: 500px;
}
.nav-side li>ul a{
    color: #701d75;
}

/* 文章列表 */
.article-list{
    margin-left: 280px;
}
.article-list li{
    padding: 10px 0;
    border-bottom: .01rem dashed #e1c1e2;
}
.article-list li a{
    display: inline-block;
    max-width: 90%;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    vertical-align: text-bottom;
    font-size: 16px;
    line-height: 1.5em;
}
.article-list li a:hover{
    color: #701d75;
}
.article-list li a::before{
    content: "\e9cb";
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
    font-family: "iconfont" !important;
    font-size: 24px;
    color: #701d75;
}

.article-list li .date{
    float: right;
    padding-top: 3px;
    font-size: 14px;
    color: #888;
}

/* 翻页 */
.pages {
    margin-top: 40px;
    text-align: center;
}

/* 文章内容 */
.article .title{
    margin: 40px 0 20px;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    color: #666;
}
.article .author{
    margin: 20px 0;
    text-align: center;
    font-size: 16px;
}
.article .content{
    margin: 20px 0;
    text-align: left;
}

.article .content p{
    font-size: 20px;
    line-height: 1.8em;
    text-indent: 2em;
}
.article .content .pic-box{
    margin: 20px 0;
    text-align: center;
}
.article .content .pic-box img{
    display: block;
    max-width: 60%;
    margin: 5px auto;
}
.article .content .pic-box .pic-name{
    text-align: center;
    font-size: 0.8em;
    line-height: 3em;
}
.article .content .end{
    text-align: center;
    margin: 20px 0;
    color: #888;
}
.article .others{
    margin: 40px 0 20px;
    font-size: 14px;
}
.article .others .prev{
    float: left;
    max-width: 48%;
}
.article .others .next{
    float: right;
    max-width: 48%;
}
.article .others a:hover{
    cursor: pointer;
    text-decoration: underline;
}

/* 备选：左右悬浮 */
.article .others-2{
    position: fixed;
    top: 50%;
    left: 0;
    width: 100%;
}
.article .others-2 a{
    display: block;
    cursor: pointer;
    font-size: 20px;
    width: 1.2em;
    padding: 0.5em;
    margin-top: -50px;
    color: #ccc;
    border: 1px solid #ccc;
    background-color: rgba(255,255,255,.5);
    transition: all .25s linear;
}
.article .others-2 a:hover{
    color: #555;
    background-color: white;
    box-shadow: 0 0 5px #ccc;
}
.article .others-2 a.prev{
    float: left;
    border-left: none;
    border-radius: 0 5px 5px 0;
}
.article .others-2 a.next{
    float: right;
    border-right: none;
    border-radius: 5px 0 0 5px;
}