integrazione fase1 completa e schermata principale
This commit is contained in:
+60
-24
@@ -65,7 +65,7 @@ body {
|
||||
/* Queste 4 righe garantiscono la centratura totale */
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
z-index: 100; /* Assicurati che sia sopra al renderer di Three.js */
|
||||
}
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user