Skip to content
Merged
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
55 changes: 43 additions & 12 deletions game/MenuBocch/SelectBocch.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,26 +21,57 @@
</div>

<div>
<div style="display: flex; margin-inline: 37%; justify-content: space-evenly; flex-direction: row;">
<div style="display: flex;flex-direction: column;">
<div style="background: black; width: 150px; height: 130px; cursor: pointer; margin-bottom: 10%;"><img src="" alt="Errore di fonte"></div>
<div style="background: black; width: 150px; height: 130px; cursor: pointer;" onclick="window.location.href = '/game/MenuBocch/Ultrax/Ultrax.html';">
<x style="color: white; display: flex; justify-content: space-around; margin-top: 35%;">Ultrax</x>
</div>
<div id="grid" style="display: grid; justify-content: center; justify-items: center;">
<div style="background: black; width: 150px; height: 130px; cursor: pointer;"><img src="" alt="Errore di fonte"></div>
<div style="background: black; width: 150px; height: 130px; cursor: pointer;" onclick="window.location.href = '/game/MenuBocch/Ultrax/Ultrax.html';">
<hx style="color: white; display: flex; justify-content: space-around; margin-top: 35%;">Ultrax</hx>
</div>

<div style="display: flex;flex-direction: column;/* margin-top: 10px; */">
<div style="background: black; width: 150px; height: 130px; cursor: pointer; margin-bottom: 10%;"><img src="" alt="Errore di fonte"></div>
<div style="background: black; width: 150px; height: 130px; cursor: pointer;"><img src="" alt="Errore di fonte"></div>
</div>

<div style="background: black; width: 150px; height: 130px; cursor: pointer;"><img src="" alt="Errore di fonte"></div>
<div style="background: black; width: 150px; height: 130px; cursor: pointer;"><img src="" alt="Errore di fonte"></div>
<div style="background: black; width: 150px; height: 130px; cursor: pointer;"><img src="" alt="Errore di fonte"></div>
<div style="background: black; width: 150px; height: 130px; cursor: pointer;"><img src="" alt="Errore di fonte"></div>
<div style="background: black; width: 150px; height: 130px; cursor: pointer;"><img src="" alt="Errore di fonte"></div>
<div style="background: black; width: 150px; height: 130px; cursor: pointer;"><img src="" alt="Errore di fonte"></div>
<div style="background: black; width: 150px; height: 130px; cursor: pointer;"><img src="" alt="Errore di fonte"></div>
<div style="background: black; width: 150px; height: 130px; cursor: pointer;"><img src="" alt="Errore di fonte"></div>
</div>
</div>

</body>
</html>

<style>
@media screen and (min-width: 320px) {
#grid {
grid-template-columns: repeat(2, 51%);
grid-template-rows: repeat(10, 21%);
}
}
@media screen and (min-width: 375px) {
#grid {
grid-template-columns: repeat(2, 45%);
grid-template-rows: repeat(10, 22%);
}
}
@media screen and (min-width: 425px) {
#grid {
grid-template-columns: repeat(2, 40%);
grid-template-rows: repeat(10, 22%);
}
}
@media screen and (min-width: 768px) {
#grid {
grid-template-columns: repeat(4, 22%);
grid-template-rows: repeat(10, 37%);
}
}
@media screen and (min-width: 1024px) {
#grid {
grid-template-columns: repeat(5, 17%);
grid-template-rows: repeat(10, 57%);
}
}

* {
user-select: none;
}
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"https": "^1.0.0",
"jest": "^29.7.0",
"vite": "^6.2.0",
"nanoid": "5.1.2"
"nanoid": "^5.1.2"
},
"dependencies": {
"animejs": "^3.2.2",
Expand All @@ -32,7 +32,7 @@
"puppeteer": "^24.3.0",
"typescript": "^5.7.3",
"glob": "^11.0.1",
"nanoid": "5.1.2"
"nanoid": "^5.1.2"
},
"main": "index.js || index.html",
"repository": {
Expand Down
Loading