-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
160 lines (139 loc) · 3.21 KB
/
Copy pathstyle.css
File metadata and controls
160 lines (139 loc) · 3.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
/* Reset di base */
body {
margin: 0;
padding: 0;
overflow: hidden; /* Evita le barre di scorrimento con il canvas */
background-color: #111116;
font-family: 'Courier New', Courier, monospace; /* Stile terminale/retro */
}
/* Pannello principale posizionato sopra il canvas */
#pannello-ui {
position: absolute;
top: 20px;
left: 20px;
color: #ffffff;
background-color: rgba(0, 0, 0, 0.85);
padding: 20px;
border-radius: 10px;
border: 1px solid #555555;
width: 280px;
box-shadow: 0 4px 15px rgba(0,0,0,0.5);
pointer-events: auto; /* Permette di cliccare sui menu */
z-index: 10;
}
#titolo-ui {
margin: 0 0 10px 0;
color: #00ffcc;
letter-spacing: 1px;
}
#statistiche {
font-size: 16px;
}
.separatore {
border: 0;
border-top: 1px solid #444444;
margin: 15px 0;
}
.sezione-ui {
margin-bottom: 15px;
}
/* Dropdown styling */
select {
width: 100%;
background: #222222;
color: #ffffff;
border: 1px solid #555555;
padding: 6px;
border-radius: 4px;
font-family: inherit;
cursor: pointer;
}
/* Pulsanti dei temi */
.gruppo-bottoni {
display: flex;
justify-content: space-between;
margin-top: 5px;
}
.btn-tema {
border: 0;
padding: 6px 10px;
cursor: pointer;
font-weight: bold;
border-radius: 4px;
font-family: inherit;
font-size: 11px;
transition: transform 0.1s;
}
.btn-tema:hover {
transform: scale(1.05);
}
.btn-cyber { background-color: #00d2ff; color: #000000; }
.btn-indy { background-color: #ffcc00; color: #000000; }
.btn-retro { background-color: #ff007f; color: #ffffff; }
/* Schermata di Game Over dinamica */
.game-over-title {
color: #ff3333;
margin: 0 0 10px 0;
font-size: 24px;
font-weight: bold;
}
.gruppo-radio {
margin-top: 8px;
text-align: left;
}
.gruppo-radio label {
display: inline-block;
margin-bottom: 6px;
cursor: pointer;
font-size: 14px;
transition: color 0.2s;
}
.gruppo-radio input[type="radio"] {
margin-right: 8px;
cursor: pointer;
accent-color: #00ffcc; /* Colora il pallino del radio button con il ciano del gioco */
}
.gruppo-radio label:hover {
color: #00ffcc;
}
.hidden {
display: none !important;
}
/* Stile per il riquadro delle istruzioni posizionato a DESTRA */
#istruzioni-overlay {
position: absolute;
top: 20px;
right: 20px; /* Spostato sul lato destro */
width: 320px; /* Larghezza fissa simile al pannello di sinistra */
display: flex;
justify-content: center;
align-items: flex-start;
z-index: 10;
pointer-events: auto; /* Permette l'interazione se serve, ma non blocca il resto dello schermo */
}
.box-istruzioni {
background-color: rgba(0, 0, 0, 0.85);
color: #ffffff;
padding: 20px;
border-radius: 10px;
border: 1px solid #555555;
box-shadow: 0 4px 15px rgba(0,0,0,0.5);
text-align: center;
}
.box-istruzioni h2 {
color: #00ffcc;
margin-top: 0;
letter-spacing: 1px;
font-size: 16px;
}
.tabella-comandi {
width: 100%;
margin-top: 12px;
border-collapse: collapse;
text-align: left;
}
.tabella-comandi td {
padding: 6px;
border-bottom: 1px solid #333338;
font-size: 13px;
}