schermata iniziale

This commit is contained in:
2026-03-13 16:52:38 +01:00
parent f63b995018
commit 3edcf891ff
7 changed files with 479 additions and 430 deletions
Regular → Executable
View File
+16 -3
View File
@@ -13,19 +13,32 @@
<div class="overlay"></div>
<div class="content">
<div class="top-section">
<img src="./img/titolo.png" alt="titolo" class="main-title" />
<img src="titolo.png" alt="titolo" class="main-title" />
</div>
<div class="container bottom-section">
<div class="item left">
<div class="controls-box">
<h3>Controlli</h3>
<p><kbd>W</kbd><kbd>A</kbd><kbd>S</kbd><kbd>D</kbd> Movimento</p>
<p><kbd>Mouse</kbd> Camera</p>
<p>Movimento</p>
<p><kbd>Freccia su</kbd> Avanti</p>
<p><kbd>Freccia giù</kbd> Indietro</p>
<p><kbd>Freccia destra</kbd> Destra</p>
<p><kbd>Freccia sinistra</kbd> Sinistra</p>
<p><kbd>Mouse</kbd> Punto di vista</p>
</div>
</div>
<div class="item center">
<span class="pulse-text">Clicca per giocare</span>
</div>
<div class="item right">
<div class="instructions-box">
<h3>Istruzioni</h3>
<p>Obiettivo: raccogliere tutti i rifiuti sullisola</p>
<p>Attenzione allo scadere del tempo!</p>
<p>Usa i comandi per esplorare e ripulire</p>
</div>
</div>
<div class="item right"></div>
</div>
</div>
+59 -23
View File
@@ -110,10 +110,11 @@ body {
}
.main-title {
max-width: 80%;
width: 25%;
height: auto;
}
/* Divisione 50% Sotto */
.bottom-section {
flex: 1;
@@ -132,37 +133,72 @@ body {
text-align: center;
}
/* Styling dei Controlli (KBD) */
/* Styling dei Controlli */
.controls-box {
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
}
.controls-box h3 {
margin-bottom: 10px;
font-size: 1.2rem;
text-transform: uppercase;
}
.controls-box h3, .controls-box p, .pulse-text {
margin-top: 0;
justify-content: center;
height: 100%;
color: white;
text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
font-family: 'Press Start 2P', cursive;
}
kbd {
background-color: #eee;
border-radius: 3px;
border: 1px solid #b4b4b4;
box-shadow: 0 1px 1px rgba(0,0,0,0.2), 0 2px 0 0 rgba(255,255,255,0.7) inset;
color: #333;
display: inline-block;
font-size: 0.85em;
font-weight: 700;
line-height: 1;
padding: 2px 4px;
white-space: nowrap;
margin: 0 2px;
.controls-box h3 {
margin-bottom: 10px;
font-size: 1.4rem;
text-transform: uppercase;
text-align: center;
}
.controls-box p {
margin: 6px 0;
font-size: 1.1rem;
text-align: center;
}
/* Stile dei tasti */
.controls-box kbd {
background-color: #5e5d5d;
color: #fff;
padding: 4px 8px;
border-radius: 4px;
font-family: monospace;
font-weight: bold;
margin: 6px 0;
}
/* Box delle istruzioni */
.instructions-box {
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100%;
color: white;
text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
font-family: 'Press Start 2P', cursive;
}
.instructions-box h3 {
margin-bottom: 10px;
font-size: 1.4rem;
text-transform: uppercase;
text-align: center;
}
.instructions-box p {
margin: 6px 0;
font-size: 1.1rem;
text-align: center;
}
/* Animazione per "Clicca per giocare" */
.pulse-text {
font-size: 1.5rem;
Executable
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB