﻿.artice-support {
    height: 160px;
    max-height: 160px;
    width: 100%;
    background-color: #eceff136;
    border-radius: 2px;
    top: 10px;
    position: relative;
    margin-bottom: 10px;
}

.content {
    color: black;
    padding: 0 22px;
    font-size: 1.6rem;
    line-height: 2.8rem;
    position: relative;
    box-sizing: border-box;
}
    /* 这里是针对第一个img的样式 */
    .content > img:first-child {
        margin-top: 10px;
    }

    .content > img, .attach-img {
        border-radius: 3px;
        display: block;
        margin: auto;
        max-width: 100%;
        height: auto;
        max-height: 90vh;
        width: auto;
    }

    .content figcaption {
        width: 100%;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    /* 表格整体样式 */
    .content table {
        width: 100%;
        border-collapse: collapse; /* 边框合并，使表格边框看起来更整洁 */
        margin: 10px 0;
    }

        /* 表头样式 */
        .content table th {
            background-color: #f2f2f2; /* 表头背景颜色 */
            font-weight: bold;
            text-align: center;
            padding: 10px;
            border: 1px solid #e8e8eb; /* 表头边框 */
        }

        /* 表格单元格样式 */
        .content table td {
            text-align: center;
            padding: 3px;
            border: 1px solid #e8e8eb; /* 单元格边框 */
        }

        /* 隔行斑马线效果 */
        .content table tbody tr:nth-child(even) {
            background-color: #f9f9f9;
        }

    /* 有序列表整体样式 */
    .content ol, .content ul {
        border-right: 1px solid rgba(78, 68, 50, 0.05);
        margin-left: 0;
        padding: 0 0 0 20px;
    }

        /* 列表项样式 */
        .content ol li, .content ul li {
            background: rgb(249 249 249);
            border-radius: 3px;
            margin-bottom: 10px;
            text-indent: 10px;
        }

    .content ol {
        list-style-type: decimal;
    }

    /* 无序列表整体样式 */
    .content ul {
        list-style-type: disc;
    }

    /*代码*/
    .content pre {
        width: 100%;
    }

/*-------------------------------------------------------------------*/
.a_pt {
    width: 100%;
    min-height: 200px;
    background: #eceff136;
    margin-top: 10px;
}

#z {
    margin-left: 5px;
}

#modmenu {
    float: right;
    margin-right: 5px;
}

.relate_acticle {
    font-size: 1.4rem;
    padding: 20px;
    line-height: 26px;
}

    .relate_acticle > h3 {
        margin: 0;
    }

.authi {
    position: sticky;
    top: -1px;
    background: #fff;
    border-bottom: 1px solid #eceff1;
    /*height: 50px;*/
    display: flex;
    z-index: 1;
    box-shadow: 0 5px 17px -7px rgba(0, 0, 0, 0.1);
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.xi2 {
    border-radius: 100px;
    margin-right: 10px;
    width: 40px;
    height: 40px;
    margin-left: 10px;
}

#subject {
    font-size: 18px;
    margin: 0.12em 0;
}

/* 新添加的CSS*/
.pcb {
    background: #f7f7f7;
    transform: translateZ(0px);
}

    .pcb em {
        color: #666;
    }

    .pcb span.t_tag {
        cursor: pointer;
        border-bottom: 1px solid red;
        white-space: nowrap;
    }

        .pcb span.t_tag:hover {
            border-bottom: 1px solid #F26C4F;
        }

/*文章详细信息*/
.xg1 {
    font-size: 14px;
    position: relative;
    display: flex;
    flex-direction: column;
}

    .xg1 > div:first-child {
        font-size: 1.6rem;
        margin-bottom: 0.4rem;
    }

    .xg1 > div:last-child {
        font-size: 1.3rem;
    }

.xl2 > li {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    border-bottom: 1px solid #f5f5f5;
    height: 30px;
    line-height: 30px;
}

    .xl2 > li > a {
        color: #000;
    }

        .xl2 > li > a:visited {
            color: #9E9E9E;
        }

/*mobile style*/
@media only screen and (max-width: 768px) {
    #subject {
        font-size: 14px;
    }

    .content {
        padding: 1.2rem;
    }

    .artice-support {
        height: 90px;
    }

    .authi {
        position: relative;
        top: 0;
    }
}
