_activity.scss 1.26 KB
.content-tab {
    margin: (12rem / $remNum) 0 0 0;
    text-align: center;
    ul {
        display: inline-block;
        border-left: 1px solid #000;
        li {
            float: left;
            border: 1px solid #000;
            border-left: none;
            a {
                display: block;
                width: 96rem / $remNum;
                height: 34rem / $remNum;
                line-height: 34rem / $remNum;
                text-align: center;
                font-size: 14rem / $remNum;
                color: #000;
            }
        }
        li.current {
            background: #000;
            a {
                color: #fff;
            }
        }
    }
}

.activity-main {
    margin: (12rem / $remNum) 0 0 0;
}

.activity-content {
    display: none;
    img {
        width: 100%;
    }
    .section {
        margin: (24em / $remNum) 0 0 0;
        p, h4 {
            padding: 0 (16rem / $remNum);
            line-height: 20rem / $remNum;
            font-size: 14rem / $remNum;
        }
    }
}

.activity-content.current {
    display: block;
}

.activity-cooperation {
    h2 {
        margin-left: 12rem / $remNum;
        font-size: 16rem / $remNum;
        color: #000;
        line-height: 22rem / $remNum;
        font-weight: bold;
    }
}