squareDancing/css/style.css

405 lines
7.3 KiB
CSS

@charset "utf-8";
/* CSS Document */
/*公用代码*/
html, body {
background: none repeat scroll 0 0;
}
body {
color: black;
font: 12px arial,verdana;
overflow-x: hidden;
}
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, textarea, p, blockquote, th, td, button {
margin: 0;
padding: 0;
text-shadow: none;
}
label input {
text-shadow: none;
vertical-align: middle;
}
*{
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
a{
transition: all .5s;
-moz-transition: all .5s;
-webkit-transition: all .5s;
}
a:link, a:visited {
text-decoration: none;
text-shadow: none;
}
a:hover, a:active,a:focus,*:hover{
text-decoration: none;
text-shadow: none;
transition: all .5s;
-moz-transition: all .5s;
-webkit-transition: all .5s;
}
img {
border: 0 none;
max-width:100%;
}
table {
border-collapse: collapse;
}
ul li {
list-style: none outside none;
}
input, textarea, select {
outline: medium none;
}
.f-l{
float: left;
display: inline-block;
}
.f-r{
float: right;
display: inline-block;
}
.t-l{
text-align: left;
}
.t-c{
text-align: center;
}
.t-r{
text-align: right;
}
.top10{
margin-top: 10px;
}
.top20{
margin-top: 20px;
}
.top30 {
margin-top: 30px;
}
.top40 {
margin-top: 30px;
}
.top50{
margin-top: 50px;
}
.top60{
margin-top: 60px;
}
.top70{
margin-top: 70px;
}
.top80 {
margin-top: 80px;
}
/*人物动作*/
.dancing-left{
animation:dancing-left 2s linear infinite forwards;
}
.dancing-right{
animation:dancing-right 2s linear infinite forwards;
}
.dancing-down{
animation:dancing-down 2s linear infinite forwards;
}
.dancing-Wobble{
animation:dancing-Wobble 1s linear infinite forwards;
}
.dancing-Wobble-right{
animation:dancing-Wobble-right 1s linear infinite forwards;
}
.dancing-UP{
animation:dancing-UP 1s linear infinite forwards;
}
/*人物行走*/
.run-right{
animation:run-right 2s linear normal forwards;
}
.run-left{
animation:run-left 2s linear normal forwards;
}
.run-top{
animation:run-top 2s linear normal forwards;
}
.run-bottom{
animation:run-bottom 2s linear normal forwards;
}
.run-right-bottom{
animation:run-right-bottom 2s linear normal forwards;
}
.run-left-bottom{
animation:run-left-bottom 2s linear normal forwards;
}
.run-right-top{
animation:run-right-top 2s linear normal forwards;
}
.run-left-top{
animation:run-left-top 2s linear normal forwards;
}
/*镜头拉近*/
.scale-left{
animation: scale-left 8s linear normal;
}
.scale-right{
animation: scale-right 8s linear normal;
}
.scale-bottom-right{
animation: scale-bottom-right 8s linear normal;
}
.scale-bottom-left{
animation: scale-bottom-left 8s linear normal;
}
/**/
body{
width: 100%;
height: 100%;
background: url(../image/img_01.png) no-repeat;
overflow: hidden;
animation: scale-body .6s linear infinite;
top:0px;
position: absolute;
}
.Lighting{
position: fixed;
z-index: 99;
background-image: url(../image/img_03.png);
background-repeat: no-repeat;
background-size: cover;
width: 100%;
height: 100vh;
top: 0;
animation: Lighting .3s linear infinite;
}
.ground-light{
z-index: 1;
position: fixed;
top:-100px;
left: 50%;
width:1440px;
height: 1440px;
transform:rotateX(69deg) scale(1.3,1.3);
margin-left: -720px;
animation:blendmode 20s linear infinite;
}
.ground-light .ground-animate{
background-image: url(../image/img_02.png);
background-repeat: no-repeat;
background-size: cover;
width:1440px;
height: 1440px;
animation: degs 6s linear infinite;
}
/*舞台*/
.stage .video{
width: 450px;
height: 252px;
margin: 20px auto 0;
background-color: #000;
border: 4px solid #bab6ba;
text-align: center;
}
.stage .video video{
height: 100%;
width: 100%;
}
.stage .sound{
width:1178px;
height: 347px;
margin: 0 auto;
position: relative;
margin-top: -220px;
}
.stage .sound img{
width: 100%;
animation: scale .4s linear infinite;
}
.stage .leading{
width: 203px;
position: relative;
margin: -250px auto 0;
}
.stage .leading .leading-dancer{
width: 120px;
height: 155px;
margin: 0 auto;
background: url(../image/img_04.png) no-repeat center;
background-size: 120px 155px;
z-index: 8;
position: relative;
}
.stage .leading .table{
margin-top: -25px;
}
.stage .leading .table img{
max-width: 100%;
}
.stage .leading .table .name{
color: #ffd800;
font-size: 20px;
text-align: center;
margin-top: -45px;
}
.speak{
position: fixed;
height: 35px;
line-height: 35px;
font-size: 14px;
background: #fff;
border-radius: 30px;
margin: -48px auto 0;
padding: 0 10px;
border: 2px solid #000000;
z-index: 9;
min-width:80px;
}
.speak::after{
background: url(../image/icon_04.png) no-repeat;
background-size: 18px ;
width: 37px;
height: 28px;
content: "";
position: absolute;
left:30px;
margin-left: 0px;
bottom: -27px;
z-index: 10;
}
.speak.speak-pink{
height: 60px;
line-height: 60px;
font-size: 24px;
background: #ff0084;
color: #FFFFFF;
margin: -78px auto 0;
}
.speak.speak-pink::after{
background: url(../image/icon_03.png) no-repeat;
left:60px;
}
.types{
font-size: 24px;
width: 700px;
position: fixed;
z-index: 101;
left: 30px;
top: 30px;
}
.types .name{
font-weight: bolder;
color: #ffd800;
-webkit-text-stroke: 0.5px black;
}
.types .list{
margin-top: 10px;
font-weight: bolder;
color: #ff0084;
-webkit-text-stroke: 0.5px black;
}
/*舞池*/
.dance-floor{
width:100% ;
height: calc(100vh - 410px);
position: absolute;
left: 0px;
z-index: 1;
/* animation: scale-body .4s linear infinite; */
}
.dance-people{
position: absolute;
display: inline-flex;
}
.dance-people .people-img{
width: 90px;
height: 90px;
background-size: 90px 90px;
background-repeat: no-repeat;
padding-top: 90px;
position: relative;
}
.dance-people .people-img01{
background-image: url(../image/img_05.png);
}
.dance-people .people-img02{
background-image: url(../image/img_06.png);
}
.dance-people .people-img03{
background-image: url(../image/img_07.png);
}
.dance-people .people-img04{
background-image: url(../image/img_08.png);
}
.dance-people .people-img05{
background-image: url(../image/img_09.png);
}
.dance-people .people-img06{
background-image: url(../image/img_10.png);
}
.dance-people .people-name{
font-size: 14px;
font-weight: bold;
color: #ffd800;
-webkit-text-stroke: 0.5px black;
text-align: center;
}
/*荧光棒*/
.stick{
background-size: 57px 81px;
background-repeat: no-repeat;
position: absolute;
height:81px;
width:57px;
animation: Wobble 2s linear infinite;
}
.stick.stick-01{
background-image: url(../image/img_11.png);
}
.stick.stick-02{
background-image: url(../image/img_12.png);
}
.stick.stick-03{
background-image: url(../image/img_13.png);
}
.stick.stick-04{
background-image: url(../image/img_14.png);
}
.stick.stick-05{
background-image: url(../image/img_15.png);
}
/*荧光棒定位*/
.dance-people .people-img01 .stick{
top: 14px;
right: -3px;
}
.dance-people .people-img02 .stick{
top: 0;
right: 0;
}
.dance-people .people-img03 .stick{
top: -10px;
right: -27px;
}
.dance-people .people-img04 .stick{
top: 0px;
right: -22px;
}
.dance-people .people-img05 .stick{
top: -8px;
right: -20px;
}
.dance-people .people-img06 .stick{
top: -3px;
right: -15px;
}
.paper-canvas{
width: 100%;
height: 100%;
position: fixed;
z-index: 999;
left: 0;
top: 0;
}
.dn{
display: none;
}