Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
179 changes: 178 additions & 1 deletion css/style.css
Original file line number Diff line number Diff line change
@@ -1,2 +1,179 @@
html,body{height:100%;margin:0;padding:0}body{display:flex;justify-content:center;align-items:center;text-align:center;font-family:"arial";color:#505050;background:#2193b0;background:-webkit-linear-gradient(to bottom, #6dd5ed, #2193b0);background:linear-gradient(to bottom, #6dd5ed, #2193b0)}#container{margin:0 auto;background-color:white;border-radius:6px;-webkit-box-shadow:0px 0px 22px 0px rgba(10,10,10,0.5);-moz-box-shadow:0px 0px 22px 0px rgba(10,10,10,0.5);box-shadow:0px 0px 22px 0px rgba(10,10,10,0.5)}#info{display:inline-block;vertical-align:top}#matriz{width:auto;height:auto;display:inline-block;margin:0 auto}#pontuacaoBox,#matriz{margin:10px;border:solid 5px #6dbbff;border-radius:3px;-webkit-box-shadow:0px 0px 8px 0px rgba(10,10,10,0.3);-moz-box-shadow:0px 0px 8px 0px rgba(10,10,10,0.3);box-shadow:0px 0px 8px 0px rgba(10,10,10,0.3)}#proximasPecasBox{min-height:170px}#proximasPecasBox .bloco{width:15px}#proximasPecasBox .bloco.ativo{background-color:#6dbbff}#proximasPecasBox .linha,#proximasPecasBox .bloco{height:15px}.bloco{color:#505050;background-color:white;width:30px;height:30px;display:inline-block;vertical-align:top;line-height:25px;font-size:15px}.bloco.ativo{background-color:black}.ativo.cor-0{background-color:#d9534f}.ativo.cor-1{background-color:#ffbf01}.ativo.cor-2{background-color:#5bc0de}.ativo.cor-3{background-color:#5cb85c}.ativo.cor-4{background-color:#428bca}.ativo.cor-5{background-color:#4fd75a}.ativo.cor-6{background-color:#bfff00}#info .box{padding:10px 10px}#info .box .titulo{font-weight:bold;margin-bottom:5px}#particles-js{flex:1;position:absolute;width:100%;height:90%;z-index:-1}#joystick{display:flex;border-top:solid 3px black}#direcional{flex:1}#direcional a{background-color:black;width:25px;height:25px;display:block;margin:0 auto;border-radius:50%}#direcional table{flex:1;display:flex;justify-content:center;align-items:center;height:100px}#botoes{flex:1;display:flex;justify-content:center;align-items:center}#botoes #action{background-color:black;width:50px;height:50px;display:block;border-radius:50%}
html, body {
height: 100%;
margin: 0;
padding: 0;
}
body {
display: flex;
justify-content: center;
align-items: center;
text-align: center;
font-family: "arial";
color: #505050;
background: #2193b0;
background: -webkit-linear-gradient(to bottom, #6dd5ed, #2193b0);
background: linear-gradient(to bottom, #6dd5ed, #2193b0);
}
#container {
margin: 0 auto;
background-color: white;
border-radius: 6px;
-webkit-box-shadow: 0px 0px 22px 0px rgba(10, 10, 10, 0.5);
-moz-box-shadow: 0px 0px 22px 0px rgba(10, 10, 10, 0.5);
box-shadow: 0px 0px 22px 0px rgba(10, 10, 10, 0.5);
}
#info {
display: inline-block;
vertical-align: top;
}
#matriz {
width: auto;
height: auto;
display: inline-block;
margin: 0 auto;
}
#pontuacaoBox, #matriz {
margin: 10px;
border: solid 5px #6dbbff;
border-radius: 3px;
-webkit-box-shadow: 0px 0px 8px 0px rgba(10, 10, 10, 0.3);
-moz-box-shadow: 0px 0px 8px 0px rgba(10, 10, 10, 0.3);
box-shadow: 0px 0px 8px 0px rgba(10, 10, 10, 0.3);
}
#proximasPecasBox {
min-height: 170px;
}
#proximasPecasBox .bloco {
width: 15px;
}
#proximasPecasBox .bloco.ativo {
background-color: #6dbbff;
}
#proximasPecasBox .linha, #proximasPecasBox .bloco {
height: 15px;
}
.bloco {
color: #505050;
background-color: white;
width: 30px;
height: 30px;
display: inline-block;
vertical-align: top;
line-height: 25px;
font-size: 15px;
}
.bloco.ativo {
background-color: black;
}
.ativo.cor-0 {
background-color: #d9534f;
}
.ativo.cor-1 {
background-color: #ffbf01;
}
.ativo.cor-2 {
background-color: #5bc0de;
}
.ativo.cor-3 {
background-color: #5cb85c;
}
.ativo.cor-4 {
background-color: #428bca;
}
.ativo.cor-5 {
background-color: #4fd75a;
}
.ativo.cor-6 {
background-color: #bfff00;
}
#info .box {
padding: 10px 10px;
}
#info .box .titulo {
font-weight: bold;
margin-bottom: 5px;
}
#particles-js {
flex: 1;
position: absolute;
width: 100%;
height: 90%;
z-index: -1;
}
#joystick {
display: flex;
border-top: solid 3px black;
}
#direcional {
flex: 1;
}
#direcional a {
background-color: black;
width: 25px;
height: 25px;
display: block;
margin: 0 auto;
border-radius: 50%}
#direcional table {
flex: 1;
display: flex;
justify-content: center;
align-items: center;
height: 100px;
}
#botoes {
flex: 1;
display: flex;
justify-content: center;
align-items: center;
}
#botoes #action {
background-color: black;
width: 50px;
height: 50px;
display: block;
border-radius: 50%}
/*# sourceMappingURL=style.css.map */

@media only screen and (max-width: 1000px){

body {
padding: 0;
margin: 0;
}

#matriz {
display: inline-block;
position: relative;
top: 20px;
}

#pontuacaoBox {
display: inline-block;
position: absolute;
width: 30%;
bottom: 50px;
left: 43px;
}

.box-i {
display: inline-block;
position: relative;
bottom: 0px;
left: 20px;
right: 0;
width: 23%;
margin: 0;
}

#proximasPecasBox {
display: inline-block;
position: relative;
top: 20px;
left: 50px;
bottom: 0;
padding: 0;
margin: 0;
}

}
10 changes: 5 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,18 @@
<div id="particles-js"></div>

<div id="container">
<div id="matriz"></div>
<div id="matriz"></div>
<div id="info">
<div id="pontuacaoBox" class="box">
<div class="titulo">Pontuação</div>
<div id="pontuacao">-</div>
</div>

<div class="box">
<div class="box-i">
<a class="github-button" href="https://github.com/guitarrist/tetriss" data-icon="octicon-star" data-size="large" data-show-count="true" aria-label="Star guitarrist/tetriss on GitHub">Star</a>
</div>
<div class="box">
<a class="github-button" href="https://github.com/guitarrist/tetriss/fork" data-icon="octicon-repo-forked" data-size="large" data-show-count="true" aria-label="Fork guitarrist/tetriss on GitHub">Fork</a>
<div class="box-i">
<a class="github-button" href="https://github.com/guitarrist/tetriss/fork" data-icon="octicon-repo-forked" data-size="large" data-show-count="true" aria-label="Fork guitarrist/tetriss on GitHub">Fork</a>
</div>

<div id="proximasPecasBox" class="box">
Expand All @@ -38,7 +38,7 @@
<div class="0"></div>
<br>
</div>
</div>
</div>
</div>

<script type="text/javascript" src="index.js?v=sHJGwXD"></script>
Expand Down