调整手机分辨率文章列表样式
云飞 authored at 2024-05-04 14:04:01
8.34 KiB
YuQue
ne-card[data-card-name="image"] img {
    vertical-align: baseline;
}

.ne-paragraph-spacing-relax.ne-typography-classic ne-card[data-card-name="image"] img {
    vertical-align: text-bottom;
}

.ne-image-wrap {
    position: relative;
    line-height: 0;
}

    .ne-image-wrap.ne-image-style-stroke:before {
        border: 1px solid #E8E9E8;
        border-radius: 4px;
    }

    .ne-image-wrap.ne-image-style-shadow:before {
        box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.15);
    }

    .ne-image-wrap.ne-image-loaded .ne-image {
        opacity: 1;
        border-radius: 4px;
    }

    .ne-image-wrap:before {
        content: ' ';
        display: block;
        position: absolute;
        z-index: 3;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        pointer-events: none;
    }

    .ne-image-wrap .ne-image-box {
        position: relative;
        overflow: hidden;
        border-radius: 4px;
    }

    .ne-image-wrap .ne-image {
        transition: opacity ease-in 0.1s;
        opacity: 0;
    }

        .ne-image-wrap .ne-image.ne-image-preview {
            cursor: zoom-in;
        }

        .ne-image-wrap .ne-image.ne-image-absolute {
            position: absolute;
            z-index: 2;
        }

    .ne-image-wrap .ne-image,
    .ne-image-wrap .ne-bg-img {
        max-width: 100%;
    }

    .ne-image-wrap:hover .ne-ui-image-inner-button-wrap {
        display: flex;
    }

    .ne-image-wrap .ne-ui-image-inner-button-wrap {
        display: none;
        justify-content: center;
        align-items: center;
        position: absolute;
        top: 9px;
        right: 9px;
        padding: 0 4px;
        background: rgba(38, 38, 38, 0.6);
        border-radius: 4px;
        z-index: 4;
    }

    .ne-image-wrap .ne-ui-image-inner-button {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 28px;
        height: 28px;
        color: #FFFFFF;
        border: none;
        outline: none;
        background: none;
        cursor: pointer;
    }

    .ne-image-wrap .ne-ui-image-inner-divider {
        display: block;
        width: 1px;
        height: 14px;
        margin: 0 4px;
        background: rgba(255, 255, 255, 0.1);
    }

        .ne-image-wrap .ne-ui-image-inner-divider:last-child {
            display: none;
        }

.ne-image {
    max-width: 100%;
}

.lake-content .ne-p,
.lake-content .ne-summary,
.lake-content .ne-hole.ne-spacing-all,
.lake-content .ne-hole,
.lake-content .ne-table-hole.ne-spacing-all,
.lake-content .ne-table-hole,
.lake-content .ne-container-hole.ne-spacing-all,
.lake-content .ne-container-hole,
.lake-content .ne-alert-hole,
.lake-content .ne-alert-hole.ne-spacing-all {
    margin-bottom: 7.83px;
}

.ne-viewer ne-h1,
.ne-engine ne-h1,
.ne-viewer ne-h2,
.ne-engine ne-h2,
.ne-viewer ne-h3,
.ne-engine ne-h3,
.ne-viewer ne-h4,
.ne-engine ne-h4,
.ne-viewer ne-h5,
.ne-engine ne-h5,
.ne-viewer ne-h6,
.ne-engine ne-h6 {
    position: relative;
    display: block;
}

    .ne-viewer ne-h1 ne-text,
    .ne-engine ne-h1 ne-text,
    .ne-viewer ne-h2 ne-text,
    .ne-engine ne-h2 ne-text,
    .ne-viewer ne-h3 ne-text,
    .ne-engine ne-h3 ne-text,
    .ne-viewer ne-h4 ne-text,
    .ne-engine ne-h4 ne-text,
    .ne-viewer ne-h5 ne-text,
    .ne-engine ne-h5 ne-text,
    .ne-viewer ne-h6 ne-text,
    .ne-engine ne-h6 ne-text {
        font-weight: bold;
    }

    .ne-viewer ne-h6 ne-text,
    .ne-engine ne-h6 ne-text {
        font-weight: normal;
    }

.ne-viewer ne-heading-ext,
.ne-engine ne-heading-ext {
    position: absolute;
    width: fit-content;
    display: flex;
    align-items: center;
    user-select: none;
    left: 0;
    transform: translateX(-100%);
    text-indent: 0;
}

.ne-viewer ne-heading-content,
.ne-engine ne-heading-content {
    display: block;
}

.lake-content h1,
.lake-content h2,
.lake-content h3,
.lake-content h4,
.lake-content h5,
.lake-content h6 {
    position: relative;
    display: block;
    font-weight: bold;
}

.page-header h2 {
    font-family: Chinese Quote,Segoe UI,Roboto,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Helvetica Neue,Helvetica,Arial,sans-serif,Apple Color Emoji;
    font-size: 36px;
    line-height: 1.389;
    font-weight: 700;
    color: #262626;
    display: inline;
    margin-right: 20px;
    -webkit-font-variant-ligatures: none;
    font-variant-ligatures: none;
}

.lark {
    position: relative;
    background: #fff;
    margin: 0 auto;
    min-height: 100vh;
    flex-direction: column
}

.BookOverview-module_container {
    background: hsla(0,0%,100%,.9);
    border-radius: 12px;
    min-height: calc(100vh - 64px);
    max-width: 1024px;
    margin: 0 auto
}

@media (max-width: 1300px) {
    .BookOverview-module_container {
        max-width: 696px
    }
}

.BookOverview-module_container .BookOverview-module_bookHead {
    display: flex;
    align-items: center;
    justify-content: space-between
}

    .BookOverview-module_container .BookOverview-module_bookHead .BookOverview-module_bookTitle {
        display: flex
    }

        .BookOverview-module_container .BookOverview-module_bookHead .BookOverview-module_bookTitle .BookOverview-module_bookName {
            font-size: 28px;
            color: #262626;
            font-weight: 700;
            margin-left: 18px
        }

.BookOverview-module_tocContainer {
    margin: 24px 0 0 0;
    list-style-type: none;
    padding-left: 0px;
}

    .BookOverview-module_tocContainer li a {
        text-decoration: none;
    }

.column-module_columnItem {
    height: 172px;
}

    .column-module_columnItem .column-module_content {
        display: flex;
        border: 1px solid #e7e9e8;
        border-radius: 8px;
        text-align: left;
        font-size: 18px;
        color: #585a5a;
        cursor: pointer;
        min-height: 146px
    }

        .column-module_columnItem .column-module_content .column-module_left {
            padding: 16px 16px 16px 16px;
        }
        .column-module_columnItem .column-module_content .column-module_left_pic {
            width: calc(100% - 230px);
        }

            .column-module_columnItem .column-module_content .column-module_left .column-module_title {
                font-size: 16px;
                font-weight: 600;
                color: #262626;
                letter-spacing: 0;
                text-align: left;
                line-height: 26px;
                display: block;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap
            }

            .column-module_columnItem .column-module_content .column-module_left .column-module_desc {
                margin-top: 12px;
                font-size: 14px;
                color: #585a5a;
                letter-spacing: 0;
                text-align: left;
                min-height: 40px;
                display: -webkit-box;
                max-height: 40px;
                -webkit-line-clamp: 2;
                -webkit-box-orient: vertical;
                overflow: hidden;
                text-overflow: ellipsis;
                line-height: 20px;
                word-break: break-word
            }

            .column-module_columnItem .column-module_content .column-module_left .column-module_date {
                margin-top: 16px;
                font-size: 14px;
                line-height: 20px;
                color: #585a5a;
                letter-spacing: 0;
                text-align: left
            }

        .column-module_columnItem .column-module_content .column-module_right {
            background-position: 0;
            background-size: 100%;
            background-repeat: no-repeat;
            border-left: 1px solid rbga(0,0,0,0.04);
            border-radius: 0 8px 8px 0;
            width: 204px;
        }

.bs-docs-sidebar {
    top:inherit !important;
}

@media (max-width:979px) {
    .navbar .container {
        padding: 0 15px;
        margin-left: 15px !important;
    }

    .navbar-fixed-top {
        position: fixed !important;
    }

}

@media (max-width: 768px) {

    .navbar .container {
        padding: 0 15px;
        margin-left: 15px !important;
    }

    .navbar-fixed-top {
        position: fixed !important;
    }

    .column-module_columnItem .column-module_content .column-module_left_pic {
        /*width: calc(100% - 136px);*/
        width:100%
    }
    .column-module_columnItem .column-module_content .column-module_right {
        width: 0px;
    }
}