Telefono in orizzontale: verbi e pausa dentro lo schermo, con un controllo nella prova nel browser
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017egeN2amL84ErjfgQFtEDn
This commit is contained in:
@@ -41,7 +41,7 @@ body { display: flex; justify-content: center; overflow-x: hidden; -webkit-tap-h
|
||||
|
||||
#panel { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 8px; padding: 8px; background: var(--panel); }
|
||||
/* Otto verbi su due righe piene, quattro per riga. */
|
||||
#verbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; align-content: start; }
|
||||
#verbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; align-content: start; }
|
||||
#verbs button, #inventory button { font: inherit; color: var(--dim); background: #3a2d42; border: 2px solid #4b3a55; border-radius: 4px;
|
||||
padding: .35em .2em; font-size: clamp(9.36px, 1.22vw, 13.68px); font-weight: bold; cursor: pointer; }
|
||||
#verbs button:hover, #inventory button:hover { color: var(--ink); }
|
||||
@@ -151,6 +151,17 @@ body { display: flex; justify-content: center; overflow-x: hidden; -webkit-tap-h
|
||||
#panel { grid-template-columns: 1fr; gap: 6px; padding: 6px; }
|
||||
#inventory { grid-template-columns: repeat(2, 1fr); min-height: 0; }
|
||||
#verbs button, #inventory button, #choices li { font-size: 10.08px; }
|
||||
/* La colonna di lato è stretta: verbi piccoli che vanno a capo, mai più larghi della colonna (sennò il telefono
|
||||
allarga la pagina e taglia tutto a destra). */
|
||||
#verbs button { font-size: clamp(6px, 1vw, 8px); padding: .7em 0; letter-spacing: -.04em; }
|
||||
#inventory button { font-size: 8px; }
|
||||
/* Pausa, mappa, crediti e titolo: tutto dentro l'altezza della scena. */
|
||||
.overlay { gap: .3em; padding: 6px; overflow-y: auto; }
|
||||
.overlay h2 { font-size: 16px; }
|
||||
.buttons { gap: 6px; margin-top: .2em; }
|
||||
.buttons button { font-size: 10px; padding: .45em 1em; }
|
||||
.pause-buttons { min-width: 12em; }
|
||||
#pause .hint { font-size: 8px; }
|
||||
#choices { min-height: 0; padding: 6px 8px 6px 2em; }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user