Home buttons and RPS hotfix

This commit is contained in:
2024-08-20 22:48:32 +02:00
parent a8e196f8ec
commit 3b939ca612
9 changed files with 59 additions and 3 deletions

View File

@@ -18,5 +18,6 @@
<div id="choices" draggable="false"></div>
</section>
<h1 id="your-score">0</h1>
<a href="../" id="home"></a>
</body>
</html>

View File

@@ -23,6 +23,16 @@ body{
transition: 0s;
}
#home{
position: fixed;
right: 0;
bottom: 0;
height: 50px;
width: 50px;
border-radius: 25px 0 0 0;
background: #555;
}
img{
aspect-ratio: 1/1;
object-fit: contain;
@@ -88,7 +98,18 @@ section{
background-image: url("./mobile.jpg");
}
.choices{
width: 180px;
height: 180px;
width: 169px;
height: 159px;
}
#choices{
width: 233px;
height: 79px;
}
#your-choice{
margin-top: 10px;
}
#choices img{
width: 69px;
aspect-ratio: 1;
}
}