
.main {
    margin-top: 1em;
}

/* 移动端功能按钮动画 */
[data-menu-button].is-active .rotate {
    transform: scale(1, .75) translate(1.5em, -1.375em) rotate(23deg);
}

[data-menu-button] .rotate {
    transform: rotate(0);
}

.timeline-container {
    background: var(--white-color);
}

.timeline-container ul{
    list-style: none;
}

.timeline-item {
    padding: 1em 1em 0;
    max-width: 50em;
    margin: 0 auto;
}

.sep {
    margin: 0 0.75em;
    color: #e5e6eb;
    font-size: 0.5em;
}

.item-title {
    display: flex;
    justify-content: start;
    padding-bottom: 0.5em;
}

.item-title div {
    font-size: 0.9em;
}

.item-content {
    display: flex;
    justify-content: space-between;
    padding-bottom: 1em;
    border-bottom: 1px solid #e5e6eb;
}

.content-title {
    display: block;
    padding-bottom: 0.5em;
    color: black;
    font-weight: bold;
}

.content-detail {
    margin-bottom: 0.5em;
    font-size: 0.75em;
    line-height: 1.5em;
    color: #4e5969;

    /*文字自适应*/
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    word-break: break-all;
}

.post-tag {
    display: inline-block;
    padding: 0.3em 0.5em;
    margin: 0 0.2em;
    font-size: 0.75em;
    background: var(--post-tag-bg);
}

.item-img {
    width: 6.250em;
    height: 4.688em;
    margin-left: 0.25em;
    border-radius: 0.125em;
}

/*-----------------------page --------------------*/
.page {
    padding: 1.25em 0;
    background: var(--white-color);
}

.al-pagination {
    text-align: center;
}

.al-pagination li:not(.page-item-active, .prev, .next){
    display: none;
}

.al-pagination li {
    display: inline-block;
    border: 1px solid #1E3650;

    height: 36px;
    width: 36px;
    line-height: 36px;
    margin-right: 12px;
    text-align: center;
    border-radius: 6px;
}

.al-pagination li a {
    display: block;
}

.al-pagination li:not(.page-item-disable):hover {
    color: var(--white-color);
    background: var(--primary-color);
    cursor: pointer;
}

.al-pagination li:not(.page-item-disable):hover a {
    color: var(--white-color);
}

.al-pagination .page-item-active {
    background: var(--primary-color);
    cursor: text;
}

.al-pagination .page-item-active a {
    color: var(--white-color);
}

.al-pagination .prev {
    width: 5em;
}

.al-pagination .next {
    width: 5em;
}

.page-item-disable {
    cursor: not-allowed;
    background: var(--page-item-disable-color);
    pointer-events: none;
}

/*-----------------------page end --------------------*/

/**
 * pc 端样式
 */
@media (min-width: 55em) {
    .main {
        width: 50em;
        border-radius: 0.25em;
    }

    .al-pagination li:not(.page-item-active, .prev, .next){
        display: inline-block;
    }
}
