policychanges/css/styles.css

253 lines
3.7 KiB
CSS
Raw Normal View History

2021-02-05 03:19:09 -06:00
html,body{
height:100%;
}
2021-02-25 17:05:22 -06:00
/* Dropdown Button */
.dropbtn {
background-color: #3498DB;
color: white;
padding: 16px;
font-size: 16px;
border: none;
cursor: pointer;
}
/* Dropdown button on hover & focus */
.dropbtn:hover, .dropbtn:focus {
background-color: #2980B9;
}
/* The container <div> - needed to position the dropdown content */
.dropdown {
position: relative;
display: inline-block;
}
/* Dropdown Content (Hidden by Default) */
.dropdown-content {
display: none;
position: absolute;
background-color: #f1f1f1;
min-width: 160px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
z-index: 1;
}
/* Links inside the dropdown */
.dropdown-content a {
color: black;
padding: 12px 16px;
text-decoration: none;
display: block;
}
/* Change color of dropdown links on hover */
.dropdown-content a:hover {background-color: #ddd}
/* Show the dropdown menu (use JS to add this class to the .dropdown-content container when the user clicks on the dropdown button) */
.show {display:block;}
2021-02-05 03:19:09 -06:00
body{
2021-02-18 03:25:05 -06:00
background: #000000;
2021-02-05 03:19:09 -06:00
margin:0;
padding:0;
position: relative;
font-family: Arial, Helvetica, sans-serif;
2021-02-21 20:43:05 -06:00
overflow-x: hidden;
overflow-y: hidden;
2021-02-05 03:19:09 -06:00
}
#divbg {
pointer-events: none;
}
#bg {
pointer-events: none;
}
2021-02-05 03:19:09 -06:00
#tetris{
left:42%;
2021-02-05 03:19:09 -06:00
top:50%;
position: absolute;
background: #555;
background:rgba(1,1,1,.10);
2021-02-05 03:19:09 -06:00
}
#scene{
height:100%;
position: absolute;
background: #2f2f2f;
left:210px;
background:rgba(1,1,1,.10);
2021-02-09 21:19:20 -06:00
}
#leftSide {
height:100%;
position: absolute;
top:0px;
left:0px;
width:210px;
2021-02-09 21:19:20 -06:00
text-align: center;
background:rgba(1,1,1,.20);
2021-02-09 21:19:20 -06:00
}
#leftInfo{
overflow:hidden;
overflow-y:scroll;
height:200px;
width:200px;
2021-02-09 21:19:20 -06:00
margin:0 auto;
background:rgba(255,255,255,.20);
2021-02-09 21:19:20 -06:00
}
#leftInfo ul {padding:2%;}
2021-02-09 21:19:20 -06:00
#hold{
position:relative;
width:80px;
height:435px;
2021-02-09 21:19:20 -06:00
background: #2f2f2f;
margin:10px auto;
background:rgba(5,5,5,.60);
2021-02-05 03:19:09 -06:00
}
#gameOver{
height:100%;
position: absolute;
2021-02-12 00:37:49 -06:00
right:120px;
left:210px;
2021-02-05 03:19:09 -06:00
background:rgba(0,0,0,.75);
z-index:999;
color:#ffe100;
text-align: center;
display: none;
}
#gameOver h1{
margin-top:50%;
}
#gameOver a,#gameOver a:visited{
color:#66bc29;
text-decoration: none;
}
#gameOver h3{
color:orange;
}
#side{
height:100%;
position: absolute;
top:0;
right:0;
left:560px;
2021-02-05 03:19:09 -06:00
text-align: center;
2021-02-12 22:44:49 -06:00
background:rgba(.9,.9,.9,.70);
2021-02-05 03:19:09 -06:00
}
#info{
width:210px;
left:210px;
2021-02-05 03:19:09 -06:00
margin:0 auto;
2021-02-12 22:44:49 -06:00
background:rgba(.9,.9,.9,.70);
2021-02-05 03:19:09 -06:00
}
#preview{
width:80px;
height:468px;
2021-02-09 21:19:20 -06:00
top:0px;
2021-02-12 22:44:49 -06:00
background: #ffffff;
2021-02-05 03:19:09 -06:00
margin:10px auto;
2021-02-12 22:44:49 -06:00
background:rgba(.9,.9,.9,.90);
2021-02-05 03:19:09 -06:00
}
2021-02-09 21:19:20 -06:00
2021-02-05 03:19:09 -06:00
#levelInfo{
color:#fff;
font-size:18px;
margin:10px 0;
2021-02-12 22:44:49 -06:00
background:rgba(.9,.9,.9,.70);
2021-02-05 03:19:09 -06:00
}
#level{
color:orange;
font-size:32px;
2021-02-12 22:44:49 -06:00
background:rgba(.9,.9,.9,.70);
2021-02-05 03:19:09 -06:00
}
#scoreInfo{
color:#fff;
font-size: 18px;
margin-top:0;
2021-02-12 22:44:49 -06:00
background:rgba(.9,.9,.9,.70);
2021-02-05 03:19:09 -06:00
}
#score{
color:orange;
font-family: 'Chalkboard SE';
2021-02-12 22:44:49 -06:00
background:rgba(.9,.9,.9,.70);
2021-02-09 21:19:20 -06:00
}#linesInfo{
color:#fff;
font-size: 18px;
margin-top:0;
2021-02-12 22:44:49 -06:00
background:rgba(.9,.9,.9,.70);
2021-02-05 03:19:09 -06:00
}
2021-02-09 21:19:20 -06:00
#lines{
color:orange;
font-family: 'Chalkboard SE';
2021-02-12 22:44:49 -06:00
background:rgba(.9,.9,.9,.70);
2021-02-09 21:19:20 -06:00
}
2021-02-05 03:19:09 -06:00
#rewardInfo{
color:yellow;
font-weight: bold;
height:20px;
}
.invisible{
visibility: hidden;
}
.animated {
-webkit-animation-duration: 1.5s;
animation-duration: 1.5s;
-webkit-animation-fill-mode: both;
animation-fill-mode: both;
}
@-webkit-keyframes fadeOutUp {
0% {
opacity: 1;
}
100% {
opacity: 0;
-webkit-transform: translate3d(0, -100%, 0);
transform: translate3d(0, -100%, 0);
}
}
@keyframes fadeOutUp {
0% {
opacity: 1;
}
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;
}