Skip to content

Commit fd5d6ea

Browse files
authored
style.css
1 parent 31230f8 commit fd5d6ea

1 file changed

Lines changed: 21 additions & 14 deletions

File tree

style.css

Lines changed: 21 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -270,48 +270,55 @@ h1 {
270270
}
271271

272272
/* ——— SMOOTH FADE-IN UP QUOTE ——— */
273+
/* Quote box */
273274
.quote {
274275
position: relative;
275276
font-family: 'Roboto Mono', monospace;
276-
background: rgba(30,41,59,0.9);
277+
background: rgba(30, 41, 59, 0.9);
277278
padding: 2.5rem;
278279
border-radius: 15px;
279280
border-left: 6px solid var(--primary);
280-
box-shadow: 0 0 15px rgba(59,130,246,0.3);
281+
box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
281282
overflow: hidden;
282283
margin: 2.5rem 0;
283284
}
284285

285-
/* texto principal */
286+
/* Texto de la cita: un poco más grande y con fade-in hacia arriba */
286287
.quote .typing {
288+
font-size: 1.4rem;
289+
line-height: 1.5;
287290
opacity: 0;
288-
transform: translateY(20px) scale(0.95) blur(4px);
289-
animation: fadeInUp 2s ease-out forwards;
290-
animation-delay: 1.5s;
291+
transform: translateY(20px) scale(0.95);
292+
animation: fadeInUp 1.5s ease-out forwards;
293+
animation-delay: 0.5s;
291294
}
292295

293-
/* autor, aparece tras el texto */
296+
/* Autor: aparece bajo la cita, en tamaño más pequeño */
294297
.quote .author {
298+
display: block;
299+
font-size: 1.1rem;
300+
line-height: 1.4;
301+
color: var(--gray);
295302
opacity: 0;
296303
transform: translateY(20px) scale(0.95);
297-
margin-top: 0.8rem;
298-
font-size: 1.3rem;
299-
line-height: 1.6;
300-
animation: fadeInUp 0.8s ease-out forwards;
301-
animation-delay: 1.5s;
304+
margin-top: 1rem;
305+
animation: fadeInUp 1s ease-out forwards;
306+
animation-delay: 2s;
302307
}
303308

309+
/* Keyframes para el fade-in y slide-up */
304310
@keyframes fadeInUp {
305311
from {
306312
opacity: 0;
307-
transform: translateY(20px) scale(0.95) blur(4px);
313+
transform: translateY(20px) scale(0.95);
308314
}
309315
to {
310316
opacity: 1;
311-
transform: translateY(0) scale(1) blur(0);
317+
transform: translateY(0) scale(1);
312318
}
313319
}
314320

321+
315322
.roadmap {
316323
display: flex;
317324
min-width: 1000px;

0 commit comments

Comments
 (0)