Skip to content

Commit

Permalink
Atualização correção sidebar e gameplay
Browse files Browse the repository at this point in the history
  • Loading branch information
hit25082000 committed Feb 4, 2023
1 parent 9000676 commit 5281eea
Show file tree
Hide file tree
Showing 4 changed files with 202 additions and 168 deletions.
42 changes: 27 additions & 15 deletions css/estilos.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
/*header*/
body{
overflow-x: hidden!important;
overflow-y: hidden!important;
}

.TituloPrincipal {
font-size: 4em;
color: white;
Expand Down Expand Up @@ -72,9 +77,9 @@ input[type="button"]:hover {
color: white;
}

#SalvarRank {
width: 450px;
height: 100px;
#SalvarRank, #CancelarRank {
width: 350px;
height: 75px;
background-color: #f0c808;
color: #DD1c1a;
font-weight: bold;
Expand All @@ -83,10 +88,15 @@ input[type="button"]:hover {
}

#SalvarRank:hover {
border-radius: 20em;
width: 250px;
border: #000 solid 2px;
background-color: rebeccapurple;
transform: translateY(-1px);
color: white;
background-color: rgb(35, 199, 30);
}

#CancelarRank:hover {
transform: translateY(-1px);
color: white;
background-color: rgb(199, 30, 30);
}

#NomeUsuario {
Expand Down Expand Up @@ -297,7 +307,9 @@ table tbody td:hover {
}

.Ranks tbody td:last-child:hover {
cursor: pointer;
color: #f0c808;
background-color: red;
}

table tfoot td:hover,
Expand All @@ -320,6 +332,7 @@ table tbody td:last-child:hover {
}

.Musicas {
z-index: 2;
margin: 10px;
color: #222;
align-self: start;
Expand Down Expand Up @@ -384,7 +397,7 @@ img {
text-shadow: #000000;
}

.tecla:hover {
.tecla.thunder {
transform: translateY(3px);
}

Expand All @@ -402,7 +415,7 @@ img {
/*GameMode*/

.teclaImg {
position: fixed;
position: absolute;
border: .5px solid rgb(5, 222, 238);
color: white;
background-color: rgba(255, 0, 255, 1);
Expand All @@ -418,7 +431,7 @@ img {
}

.teclaImg.gamefic {
transform: translateY(-120px);
transform: translateY(-100px);
transition: all 5s linear;
opacity: 1;
}
Expand Down Expand Up @@ -567,12 +580,11 @@ img {
}

#thunder {
position: fixed;
width: 500px;
transform: scaleX(-1) rotate(180deg) translate(-100px, -825px);
transition: linear 1s;
z-index: a;
position: absolute ;
transform: rotate(180deg) translate(175px,435px);
width: 300px;
object-fit: cover;
opacity: 0;
}

#thunder.on {
Expand Down
58 changes: 14 additions & 44 deletions game.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
<div class="modal">
</div>
<div class="modalRank">

</div>
</div>
<main>
Expand All @@ -38,8 +37,7 @@
<thead>
<tr>
<th colspan="3">
<a href="index.html">
Musicas</a>
<a href="index.html">Musicas</a>
</th>
<th style="display: none;"></th>
</tr>
Expand All @@ -56,51 +54,23 @@
</table>

<section class="teclado">
<button data-id="pom" id="a" class="tecla tecla_pom">A</button>
<div class="teclaImg teclaImg1">
<img id="thunder" src="images/thunder_PNG22.png" alt="">
</div>

<button data-id="clap" id="s" class="tecla tecla_clap">S</button>
<div class="teclaImg teclaImg2">
<img id="thunder" src="images/thunder_PNG22.png" alt="">
</div>

<button data-id="tim" id="d" class="tecla tecla_tim">D</button>
<div class="teclaImg teclaImg3">
<img id="thunder" src="images/thunder_PNG22.png" alt="">
</div>

<button data-id="puff" id="f" class="tecla tecla_puff">F</button>
<div class="teclaImg teclaImg4">
<img id="thunder" src="images/thunder_PNG22.png" alt="">
</div>

<button data-id="splash" id="space" class="tecla tecla_splash">Space</button>
<div class="teclaImg teclaImg$5">
<img id="thunder" src="images/thunder_PNG22.png" alt="">
</div>

<button data-id="toim" id="j" class="tecla tecla_toim">J</button>
<div class="teclaImg teclaImg6">
<img id="thunder" src="images/thunder_PNG22.png" alt="">
</div>
<button data-id="pom" id="a" class="tecla tecla_pom">A</button>

<button data-id="psh" id="k" class="tecla tecla_psh">K</button>
<div class="teclaImg teclaImg7">
<img id="thunder" src="images/thunder_PNG22.png" alt="">
</div>
<button data-id="clap" id="s" class="tecla tecla_clap">S</button>

<button data-id="tim" id="d" class="tecla tecla_tim">D</button>

<button data-id="puff" id="f" class="tecla tecla_puff">F</button>

<button data-id="tic" id="l" class="tecla tecla_tic">L</button>
<div class="teclaImg teclaImg8">
<img id="thunder" src="images/thunder_PNG22.png" alt="">
</div>
<button data-id="splash" id="space" class="tecla tecla_splash">Space</button>

<button data-id="toim" id="j" class="tecla tecla_toim">J</button>

<button data-id="psh" id="k" class="tecla tecla_psh">K</button>

<button data-id="tom" id="ç" class="tecla tecla_tom">Ç</button>
<div class="teclaImg teclaImg9">
<img id="thunder" src="images/thunder_PNG22.png" alt="">
</div>
<button data-id="tic" id="l" class="tecla tecla_tic">L</button>

<button data-id="tom" id="ç" class="tecla tecla_tom">Ç</button>
</section>
<table class="Ranks">
<thead>
Expand Down
Loading

0 comments on commit 5281eea

Please sign in to comment.