_home.scss 2.02 KB
.home-logo {
    border: none;
}

.banner-swiper {
    height: 156rem / $remNum;
    overflow: hidden;
    img {
        width: 100%;
    }
}

.channel-list {
    text-align: center;
    li {
        display: inline-block;
        margin: (22rem / $remNum) (15rem / $remNum) 0;
        text-align: center;
    }
    .channel-pic {
        width: 66rem / $remNum;
        height: 66rem / $remNum;
        line-height: 66rem / $remNum;
        border-radius: 50%;
        border: 1px solid #000;
        text-align: center;
        color: #000;
        font-size: 24rem / $remNum;
    }
    .video {
        font-size: 16rem / $remNum;
    }
    .recmmend {
        background: image-url("recmmend.png") no-repeat center center;
        background-size: 36% auto;
    }
    .show {
        background: image-url("show.png") no-repeat center center;
        background-size: 42% auto;
    }
    .ticket {
        background: image-url("ticket.png") no-repeat center center;
        background-size: 36% auto;
    }
    .contact {
        font-size: 12rem / $remNum;
        line-height: 70rem / $remNum;
    }
    .channel-name {
        margin-top: 9rem / $remNum;
        line-height: 15rem / $remNum;
        font-size: 12rem / $remNum;
        font-weight: bold;
        color: #000;
    }
    .channel-name-cn {
        line-height: 15rem / $remNum;
        font-size: 12rem / $remNum;
        color: #000;
    }
    li.current, li:hover {
        .channel-pic {
            color: #fff;
            background: #000;
        }
    }
    li.current, li:hover {
        .channel-pic.recmmend {
            background: #000 image-url("recmmend-current.png") no-repeat center center;
            background-size: 36% auto;
        }
        .channel-pic.show {
            background: #000 image-url("show-current.png") no-repeat center center;
            background-size: 36% auto;
        }
        .channel-pic.ticket {
            background: #000 image-url("ticket-current.png") no-repeat center center;
            background-size: 36% auto;
        }
    }
}