165 lines
2.2 KiB
CSS
165 lines
2.2 KiB
CSS
html,body{
|
|
height:100%;
|
|
}
|
|
|
|
|
|
body{
|
|
background: #000000;
|
|
margin:0;
|
|
padding:0;
|
|
position: relative;
|
|
font-family: Arial, Helvetica, sans-serif;
|
|
overflow-x: hidden;
|
|
overflow-y: hidden;
|
|
}
|
|
#divbg {
|
|
pointer-events: none;
|
|
}
|
|
#bg {
|
|
pointer-events: none;
|
|
}
|
|
#tetris{
|
|
left:42%;
|
|
top:50%;
|
|
position: absolute;
|
|
background: #555;
|
|
background:rgba(1,1,1,.10);
|
|
|
|
}
|
|
|
|
#scene{
|
|
height:100%;
|
|
position: absolute;
|
|
background: #2f2f2f;
|
|
left:210px;
|
|
background:rgba(1,1,1,.10);
|
|
}
|
|
|
|
|
|
#leftSide {
|
|
height:100%;
|
|
position: absolute;
|
|
top:0px;
|
|
left:0px;
|
|
width:210px;
|
|
text-align: left;
|
|
background:rgba(1,1,1,.20);
|
|
}
|
|
|
|
#leftInfo{
|
|
overflow:hidden;
|
|
overflow-y:scroll;
|
|
height:200px;
|
|
width:200px;
|
|
margin:0 auto;
|
|
background:rgba(255,255,255,.20);
|
|
}
|
|
|
|
#leftInfo ul {padding:2%;}
|
|
|
|
#hold{
|
|
text-align:right;
|
|
position:relative;
|
|
width:80px;
|
|
height:435px;
|
|
background: #2f2f2f;
|
|
margin:10px auto;
|
|
background:rgba(5,5,5,.60);
|
|
}
|
|
|
|
#gameOver{
|
|
height:100%;
|
|
position: absolute;
|
|
right:120px;
|
|
left:210px;
|
|
background:rgba(0,0,0,.75);
|
|
z-index:999;
|
|
color:#2f2f2f;
|
|
text-align: center;
|
|
display: none;
|
|
}
|
|
|
|
#gameOver h1{
|
|
margin-top:50%;
|
|
}
|
|
|
|
#gameOver a,#gameOver a:visited{
|
|
color:dodgerblue;
|
|
text-decoration: none;
|
|
}
|
|
|
|
#gameOver h3{
|
|
color:AliceBlue;
|
|
}
|
|
|
|
#side{
|
|
height:100%;
|
|
position: absolute;
|
|
top:0;
|
|
right:0;
|
|
left:560px;
|
|
text-align: center;
|
|
background:rgba(.9,.9,.9,.70);
|
|
}
|
|
|
|
#info{
|
|
width:210px;
|
|
left:210px;
|
|
margin:0 auto;
|
|
background:rgba(.9,.9,.9,.70);
|
|
}
|
|
|
|
#preview{
|
|
width:80px;
|
|
height:468px;
|
|
top:0px;
|
|
|
|
background: #ffffff;
|
|
margin:10px auto;
|
|
background:rgba(.9,.9,.9,.90);
|
|
}
|
|
|
|
|
|
#levelInfo{
|
|
color:#fff;
|
|
font-size:18px;
|
|
margin:10px 0;
|
|
background:rgba(.9,.9,.9,.70);
|
|
}
|
|
#level{
|
|
color:dodgerblue;
|
|
font-size:32px;
|
|
background:rgba(.9,.9,.9,.70);
|
|
}
|
|
|
|
#scoreInfo{
|
|
color:#fff;
|
|
font-size: 18px;
|
|
margin-top:0;
|
|
background:rgba(.9,.9,.9,.70);
|
|
}
|
|
|
|
#score{
|
|
color:dodgerblue;
|
|
font-family: 'Arial';
|
|
background:rgba(.9,.9,.9,.70);
|
|
|
|
}#linesInfo{
|
|
color:#fff;
|
|
font-size: 18px;
|
|
margin-top:0;
|
|
background:rgba(.9,.9,.9,.70);c
|
|
}
|
|
|
|
100% {
|
|
opacity: 0;
|
|
-webkit-transform: translate3d(0, -100%, 0);
|
|
-ms-transform: translate3d(0, -100%, 0);
|
|
transform: translate3d(0, -100%, 0);
|
|
}
|
|
}
|
|
|
|
.fadeOutUp {
|
|
-webkit-animation-name: fadeOutUp;
|
|
animation-name: fadeOutUp;
|
|
} |