-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyles.css
More file actions
209 lines (170 loc) · 4.11 KB
/
styles.css
File metadata and controls
209 lines (170 loc) · 4.11 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
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
html, body {
height: 100%; /* Assicura che l'altezza del body e dell'html siano al 100% */
margin: 0; /* Rimuove i margini predefiniti */
}
body {
font-family: 'Roboto', sans-serif;
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-between; /* Spazia uniformemente il contenuto tra l'alto e il basso */
background-color: #202020;
margin: 0;
overflow: hidden; /*Nasconde la barra di scorrimento */
}
.code-display {
background-color: #707070;
padding: 10px;
border-radius: 6px;
font-family: monospace;
overflow-x: auto;
margin-bottom: 15px;
}
.footer {
margin-top: 20px;
font-size: 1em;
display: flex;
justify-content: space-between;
align-items: center;
}
.season-buttons {
display: flex;
gap: 10px;
margin-bottom: 15px;
}
.season-button {
flex: 1;
padding: 10px;
border: none;
border-radius: 4px;
cursor: pointer;
transition: background-color 0.3s;
}
.season-button.active {
background-color: #ed8936;
color: black;
}
br{
display: block; /* makes it have a width */
content: ""; /* clears default height */
margin-top: 10px; /* change this to whatever height you want it */
}
/* Per browser Webkit (Chrome, Safari, etc.) */
::-webkit-scrollbar {
display: none;
}
/* Per Firefox */
html {
scrollbar-width: none; /* Nasconde la barra di scorrimento */
}
html, body {
height: 100%; /* Assicura che il body riempia l'intera altezza della finestra */
overflow: hidden; /* Nasconde la barra di scorrimento */
}
footer {
max-width: 550px;
color: #f4f4f4;
background: #4d4d4d;
padding: 1em;
border-top-left-radius: 8px;
border-top-right-radius: 8px;
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1);
text-align: center; /* Centra il testo del footer */
width: calc(100% - 14px); /* Larghezza completa meno margini laterali */
margin: 0 5px; /* Spazio ai lati del footer */
box-sizing: border-box; /* Include padding e bordo nella larghezza */
}
footer a {
color: #ed8936;
text-decoration: none;
}
footer a:hover {
text-decoration: underline;
}
p{
color: #ed8936;
user-select: none;
margin:0px;
margin-bottom: 5px;
}
h2{
user-select: none;
}
a{
user-select: none;
}
.game-container {
text-align: center;
border-radius: 8px;
color: white;
padding: 10px;
}
#gameCanvas {
max-width: 550px;
border: 1px solid #424242;
display: block;
border-radius: 3px;
}
ul {
list-style: none;
height: 123px;
overflow-x: hidden;
overflow-y: scroll;
li {
height: 25px;
}
}
#levelList li {
user-select: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
cursor: pointer;
}
#levelList li:hover {
background-color: white; /* Colore di evidenziazione */
color: #000000; /* Colore del testo evidenziato */
}
#levelList li.active {
border-radius: 4px;
background-color: white; /* Colore di evidenziazione */
color: #000000; /* Colore del testo evidenziato */
}
#levelList2 li {
user-select: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
cursor: pointer;
}
#levelList2 li:hover {
background-color: white; /* Colore di evidenziazione */
color: #000000; /* Colore del testo evidenziato */
}
#levelList2 li.active {
border-radius: 4px;
background-color: white; /* Colore di evidenziazione */
color: #000000; /* Colore del testo evidenziato */
}
nav ul {
list-style: none;
padding: 0;
margin: 0;
}
nav ul li {
padding: 0.5em;
background: #707070;
color: white;
}
nav ul li:hover {
background: white;
color: #8d8d8d;
}
.disabled {
background: #707070;
color: white;
pointer-events: none;
opacity: 0.6;
}