Scelte dei dialoghi: i numeri non escono più a sinistra del pannello (il rientro segue il carattere pixel, largo tre caratteri e mezzo per «1. »; Andrea, schermata)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01A1dxvtsZx8NE9fwjXUNDBr
This commit is contained in:
@@ -113,8 +113,9 @@ body { display: flex; justify-content: center; overflow-x: hidden; -webkit-tap-h
|
|||||||
#inventory i { width: .8em; height: .8em; border-radius: 50% 50% 50% 0; flex: none; }
|
#inventory i { width: .8em; height: .8em; border-radius: 50% 50% 50% 0; flex: none; }
|
||||||
#inventory img { width: 1.9em; height: 1.9em; flex: none; image-rendering: pixelated; }
|
#inventory img { width: 1.9em; height: 1.9em; flex: none; image-rendering: pixelated; }
|
||||||
|
|
||||||
#choices { margin: 0; padding: 10px 14px 12px 2.4em; background: var(--panel); min-height: 9.5em; }
|
/* Il carattere sta sull'elenco, non sulle righe: il rientro in em segue il carattere. «1. » nel carattere pixel è largo tre caratteri e mezzo. */
|
||||||
#choices li { padding: .25em 0; font-size: clamp(10.8px, 1.44vw, 15.84px); font-weight: bold; color: var(--dim); cursor: pointer; }
|
#choices { margin: 0; padding: 10px 14px 12px 3.6em; background: var(--panel); min-height: 6.5em; font-size: clamp(10.8px, 1.44vw, 15.84px); }
|
||||||
|
#choices li { padding: .25em 0; font-weight: bold; color: var(--dim); cursor: pointer; }
|
||||||
#choices li:hover, #choices li:focus { color: var(--accent); outline: none; }
|
#choices li:hover, #choices li:focus { color: var(--accent); outline: none; }
|
||||||
|
|
||||||
.overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6em;
|
.overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6em;
|
||||||
@@ -308,7 +309,7 @@ body.full #sound { position: fixed; z-index: 13; top: max(8px, env(safe-area-ins
|
|||||||
#speech { max-width: 72%; font-size: 11px; }
|
#speech { max-width: 72%; font-size: 11px; }
|
||||||
#panel { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); flex: 1; min-height: 0; gap: 6px; padding: 6px; }
|
#panel { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); flex: 1; min-height: 0; gap: 6px; padding: 6px; }
|
||||||
#inventory { grid-template-columns: repeat(2, 1fr); min-height: 0; height: auto; }
|
#inventory { grid-template-columns: repeat(2, 1fr); min-height: 0; height: auto; }
|
||||||
#verbs button, #inventory button, #choices li { font-size: 10.08px; }
|
#verbs button, #inventory button, #choices { font-size: 10.08px; }
|
||||||
/* La colonna di lato è stretta: verbi su due colonne, così il dito li prende e si leggono; mai più larghi della
|
/* La colonna di lato è stretta: verbi su due colonne, così il dito li prende e si leggono; mai più larghi della
|
||||||
colonna (sennò il telefono allarga la pagina e taglia tutto a destra). */
|
colonna (sennò il telefono allarga la pagina e taglia tutto a destra). */
|
||||||
#verbs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
#verbs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
||||||
@@ -324,7 +325,7 @@ body.full #sound { position: fixed; z-index: 13; top: max(8px, env(safe-area-ins
|
|||||||
#map-board button { width: 68px; }
|
#map-board button { width: 68px; }
|
||||||
#map-board button img { width: 60px; }
|
#map-board button img { width: 60px; }
|
||||||
#pause .hint { font-size: 8px; }
|
#pause .hint { font-size: 8px; }
|
||||||
#choices { min-height: 0; padding: 6px 8px 6px 2em; }
|
#choices { min-height: 0; padding: 6px 8px 6px 3.6em; }
|
||||||
}
|
}
|
||||||
|
|
||||||
#error { position: fixed; inset: auto 16px 16px; padding: 12px; background: #7a1f1f; color: #fff; border-radius: 6px; }
|
#error { position: fixed; inset: auto 16px 16px; padding: 12px; background: #7a1f1f; color: #fff; border-radius: 6px; }
|
||||||
|
|||||||
Reference in New Issue
Block a user