DefaultC.css 3.78 KB
.footer {
    position: absolute;
    bottom: 0;
    z-index: 10;
    padding: 5px 0;
    width: 100%;
    left: 0;
    text-align: center;
    line-height: 18px;
    color: #005b48;
}

.footer a {
    color: #005b48
}

.rule-close {
    background: url(http://vote.on168.com.cn/jindu/images/close.png);
}

html, body {
    height: 100%;
    margin: 0;
}

body {
    background: url("../images/bgd2.png") no-repeat;
    background-size: 100% 100%;
    /*display: table;*/
    margin: 0 auto;
}
/*站长统计*/
body > span a {
    color: transparent;
}

#note {
    position: fixed;
    top: 0;
    left: 20px;
    width: 40px;
    z-index: 100;
}
/*下方文字*/
#text {
    position: absolute;
    bottom: 30px;
    width: 100%;
    color: white;
    text-align: center;
    line-height: 28px;
    font-size: 15px;
}


#note img {
    width: 100%;
}

#con {
    width: 310px;
    height: 100%;
    margin: 0 auto;
    margin-top: 10px;
    position: relative;
}

#school {
    position: absolute;
    top: 70px;
    height: 200px;
    width: 320px;
    overflow-y: hidden;
}
#imgschool{
    display: none;
    height: 100%;
    width: 100%;
/*    background-position: center;
    background: url(../images/school.png) no-repeat;
    background-size: contain;*/
}

@keyframes school {
    0% {
        margin-top: 212px;
    }

    100% {
        margin-top: 0;
    }
}

#bi {
    position: absolute;
    width: 80px;
    height: 60px;
    right: -110px;
    top: 180px;
    background-position: center;
    background: url(../images/bi.png) no-repeat;
    background-size: contain;
}

@keyframes bi {
    0% {
        top: 180px;
        right: -110px;
    }

    100% {
        top: 200px;
        right: 0;
    }
}

#box {
    position: absolute;
    top: 375px;
    left: 1px;
    right: -25px;
    height: 140px;
    padding-top: 50px;
/*    background-position: center;
    background: url(../images/box.png) no-repeat;
    background-size: contain;*/
}

@keyframes box {
    0% {transform: scale(0);}
    40% {transform: scale(1.1);}
    70% {transform: scale(0.8);}
    100% {transform: scale(1);}
}

#next {
    opacity: 0;
    width: 200px;
    margin: 0 auto;
    color: white;
    text-align: center;
    height: 32px;
    line-height: 32px;
    border-radius: 16px;
    /*background-color: #f0af22;*/
    background: linear-gradient(left, #f77c29, #f0af22 );
    background: -ms-linear-gradient(left, #f77c29, #f0af22 );
    background: -webkit-linear-gradient(left, #f77c29, #f0af22 );
    background: -moz-linear-gradient(left, #f77c29,#f0af22 );
}

@keyframes next {
    0% {transform: scale(1);}
    50% {transform: scale(0.8);}
    100% {transform: scale(1);}
}

#zuo {
    position: absolute;
    left: 182px;
    top: 240px;
    height: 70px;
    width: 408px;
    background-position: center;
    background: url("../images/zuo.png") no-repeat;
    background-size: contain;
}

#nv {
    opacity: 0;
    position: absolute;
    width: 100px;
    height: 170px;
    left: -10px;
    top: 266px;
    background-position: center;
    background: url(../images/nv.png) no-repeat;
    background-size: contain;
}

#nan {
    opacity: 0;
    position: absolute;
    width: 50px;
    height: 100px;
    right: 0;
    top: 18px;
    background-position: center;
    background: url(../images/nan.png) no-repeat;
    background-size: contain;
}

@keyframes nv {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes nan {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/*短屏*/
@media screen and (max-height:550px ) {
    #con{
        margin-top: -16px;
    }
    #text {
        bottom: -14px;
    }
}
/*长屏*/
@media screen and (min-height:670px ) {
    #con{margin-top: 30px;}
    #text {bottom: 100px;}
}
/*长屏*/
@media screen and (min-height:800px ) {
    #text {bottom: 140px;}
}