Skip to content

Commit 7fa7f15

Browse files
author
maurux01
committed
1 parent 4dae9d9 commit 7fa7f15

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed

styles.css

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,5 +190,48 @@ button:hover {
190190
padding: 1rem 1.5rem;
191191
font-size: 1.1rem;
192192
}
193+
}
194+
195+
.typing-area::placeholder {
196+
color: rgba(169, 177, 214, 0.7);
197+
font-style: italic;
198+
font-size: 1.2rem;
199+
transition: all 0.3s ease;
200+
letter-spacing: 0.5px;
201+
}
202+
203+
#timer, #score {
204+
background: linear-gradient(145deg, rgba(31, 35, 53, 0.8), rgba(31, 35, 53, 0.6));
205+
padding: 1rem 1.5rem;
206+
border-radius: 10px;
207+
font-size: 1.1rem;
208+
color: var(--secondary);
209+
border: 1px solid var(--primary);
210+
margin: 0.5rem;
211+
min-width: 150px;
212+
text-align: center;
213+
backdrop-filter: blur(5px);
214+
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
215+
}
216+
217+
#timer::before {
218+
content: "Tiempo: ";
219+
color: var(--light);
220+
font-size: 0.9rem;
221+
opacity: 0.8;
222+
}
223+
224+
#score::before {
225+
content: "Puntuación: ";
226+
color: var(--light);
227+
font-size: 0.9rem;
228+
opacity: 0.8;
193229
}
194230

231+
@media (max-width: 768px) {
232+
#timer, #score {
233+
padding: 0.8rem 1rem;
234+
font-size: 1rem;
235+
min-width: 120px;
236+
}
237+
}

0 commit comments

Comments
 (0)