_star.css 4.16 KB
.star-page {
    background: #333;

    a {
        text-decoration: none;
        outline: none;
        color: #000;

        &:link,
        &:visited,
        &:hover,
        &:actived {
            color: #000;
        }
    }

    *:focus {
        outline: none;
    }

    .font-bold {
        font-weight: bold;
    }

    .head-tab {
        width: 100%;
        height: 88px;
        background: #000;

        li {
            width: 33.3%;
            text-align: center;
            float: left;
            line-height: 88px;
            font-size: 30px;

            a {
                color: #b0b0b0;
                display: inline-block;
            }

            &.cur a {
                color: #fff;
            }
        }
    }

    .banner-top {
        width: 100%;
        height: 310px;
        position: relative;

        .banner-swiper {
            width: 100%;
            height: 310px;
            overflow: hidden;
            position: relative;

            ul {
                position: relative;
                height: 310px;

                li {
                    float: left;
                    width: 100%;
                    height: 310px;
                }

                img {
                    width: 100%;
                    height: 100%;
                }
            }
        }

        .swiper-pagination {
            position: absolute;
            left: 0;
            right: 0;
            bottom: 20px;
            text-align: center;
            z-index: 1;

            .pagination-inner {
                display: inline-block;
            }

            span {
                display: inline-block;
                width: 14px;
                height: 14px;
                background: #fff;
                opacity: 0.5;
                margin: 0  10px;
                border-radius: 50%;
            }

            .swiper-pagination-bullet-active {
                background: #fff;
                opacity: 1;
            }
        }
    }

    .avatar-swiper {
        overflow: hidden;
        margin-top: 30px;

        li {
            float: left;
            width: auto;
            width: 110px;
            height: 110px;
            margin: 34px 10px 0;

            img {
                width: 100%;
                height: 100%;
                border-radius: 4px;
            }
        }

        .swiper-slide-active {
            width: 180px;
            height: 180px;
            margin-top: 0;
        }

        .swiper-slide-prev,
        .swiper-slide-next {
            width: 130px;
            height: 130px;
            margin-top: 27px;
        }
    }

    .star-info {
        margin-top: 30px;
    }

    .star-avatar {
        width: 150px;
        text-align: center;
        padding-left: 30px;
        box-sizing: border-box;
        float: left;

        img {
            width: 104px;
            height: 104px;
            border-radius: 50%;
        }
    }

    .star-article {
        width: 472px;
        height: 439px;
        position: relative;
        border-radius: 8px;
        background: #282828;
        float: left;
        padding: 30px;
        box-sizing: border-box;

        .article-arrow {
            position: absolute;
            left: -13px;
            width: 0;
            height: 0;
            border-top: 13px solid transparent;
            border-bottom: 13px solid transparent;
            border-right: 13px solid #282828;
        }

        .article-title {
            font-size: 28px;
            line-height: 38px;
            color: #fff;
        }

        .artice-cont {
            margin-top: 20px;

            p {
                font-size: 18px;
                color: #3e3a39;
            }
        }

        .artice-imgs {
            margin: 30px 0;
            width: 100%;

            li {
                float: left;
                margin-left: 6px;
            }

            li:first {
                margin-left: 0;
            }

            img {
                width: 130px;
                height: 130px;
                border-radius: 4px;
            }
        }

        .artice-o {
            width: 100%;

            border-top: 1px solid #b0b0b0;
        }
    }
}