_home.scss 2.79 KB
.bd {
    width: 980px;
    margin: 0 auto;
}

.wrapper {
    width: 980px;
    margin: 0 auto;
}

.slide-main {
    position: relative;
}

.slide-box {
    position: relative;
    margin: 16px 0 0 0;
    visibility: hidden;
    overflow: hidden;
    .slide-wrap {
        height: 468px;
        overflow: hidden;
        position: relative;
        .box {
            float: left;
            width: 100%;
            position: relative;
            img {
                display: block;
                width: 100%;
            }
        }
    }
}

.slide-navigator {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -32px;
    text-align: center;
    .dib {
        display: inline-block;
        a {
            float: left;
            width: 10px;
            height: 10px;
            margin: 0 10px 0 0;
            background-image: url("../images/yohood/sprites.png");
            background-position: 0 -144px;
        }
        .on {
            background-position: 0 -124px;
        }
    }
}

.slide-control {
    a {
        position: absolute;
        top: 50%;
        margin: -28px 0 0 0;
        font-size: 48px;
        color: #000;
    }
    .slide-prev {
        left: -70px;
    }
    .slide-next {
        right: -70px;
    }
}

.content-wrap {
    margin: 50px 0 0 0;
}

.cooperation {
    position: relative;
    margin: 43px 0;
    height: 118px;
    border: 1px solid #000;
}

.cooperation-slide-box {
    position: relative;
    width: 800px;
    margin: 0 auto;
    height: 90px;
    padding: 28px 0 0 0;
    overflow: hidden;
    .slide-wrap {
        position: relative;
        overflow: hidden;
        .box {
            position: relative;
            float: left;
            width: 800px;
        }
    }
}

.cooperation {
    .partner {
        float: left;
        margin: 0 50px 0 0;
    }
    .media {
        float: left;
        height: 68px;
        padding: 0 0 0 50px;
        border-left: 1px solid #000;
    }
    h2 {
        font-size: 14px;
        line-height: 20px;
    }
    ul {
        li {
            float: left;
            height: 60px;
            width: 132px;
            a {
                width: 132px;
                height: 60px;
                display: table-cell;
                vertical-align: middle;
                text-align: center;
            }
        }
    }
    .partner ul, .media ul {
        li {
            width: 115px;
            a {
                width: 115px;
            }
        }
    }
}

.cooperation-slide-control {
    a {
        position: absolute;
        top: 50%;
        margin-top: -16px;
        color: #000;
        font-size: 26px;
    }
    .cooperation-slide-prev {
        left: 20px;
    }
    .cooperation-slide-next {
        right: 20px;
    }
    .disable {
        color: #d9d9d9;
        cursor: default;
    }
}