@@ -379,85 +379,109 @@ button#toggle-stats:hover {
379
379
380
380
}
381
381
382
- .language-and-milestone {
382
+ .language-and-milestone {
383
383
display : flex;
384
- gap : 20px ;
384
+ gap : 20px ;
385
385
justify-content : center;
386
386
align-items : center;
387
387
animation : slide-in-right 0.5s ease-in-out;
388
388
flex-wrap : wrap;
389
389
}
390
390
391
- .text-base {
391
+ .text-base {
392
392
text-align : left;
393
393
font-size : 16px ;
394
394
}
395
+
395
396
# languages {
396
397
text-align : center;
397
398
margin-bottom : 30px ;
398
- width : 500px ;
399
+ width : 500px ;
399
400
background-color : # 121245 ;
400
- padding : 10px 20px ;
401
+ padding : 10px 20px ;
401
402
border-radius : 15px ;
402
- height : 340px ;
403
- color : white;
403
+ height : 340px ;
404
+ color : white;
404
405
animation : slideInRight 0.3s ease-in-out;
406
+ transition : background-color 0.3s ease;
407
+ }
408
+
409
+ # languages : hover {
410
+ background-color : # 0D6EFD ;
405
411
}
412
+
406
413
# language-list {
407
414
list-style : none;
408
415
text-align : center;
409
- width : 100% ;
410
- padding : 0px ;
416
+ width : 100% ;
417
+ padding : 0px ;
411
418
}
412
419
413
420
# language-list li {
414
421
padding : 10px 0px ;
415
422
display : flex;
416
- width : 100% ;
417
- gap : 20px ;
418
- border-bottom : 2px solid white;
423
+ width : 100% ;
424
+ gap : 20px ;
425
+ border-bottom : 2px solid white;
419
426
justify-content : space-between;
420
427
font-size : 16px ;
421
428
font-weight : 600 ;
429
+ transition : color 0.3s ease;
430
+ }
431
+
432
+ # language-list li : hover {
433
+ color : # 0D6EFD ;
422
434
}
423
435
424
- .progress-bar-container {
436
+ .progress-bar-container {
425
437
background-color : whitesmoke;
426
438
border-radius : 8px ;
427
439
overflow : hidden;
428
- width : 300px ;
429
- height : 20px ;
440
+ width : 300px ;
441
+ height : 20px ;
430
442
animation : fadeIn 1s ease-in-out;
431
443
}
444
+
432
445
.progress-bar {
433
446
height : 20px ;
434
- background-color : # 0D6EFD ;
447
+ background-color : # 0D6EFD ;
435
448
width : 300px ;
436
449
text-align : left;
437
450
display : flex;
438
451
flex-wrap : nowrap;
439
452
font-size : 12px ;
440
453
justify-content : center;
441
454
align-items : center;
442
- color : white;
455
+ color : white;
443
456
animation : fadeIn 1s ease-in-out;
457
+ transition : width 0.3s ease;
458
+ }
459
+
460
+ .progress-bar-container : hover .progress-bar {
461
+ width : 320px ;
444
462
}
463
+
445
464
# milestone {
446
465
text-align : center;
447
466
margin-bottom : 30px ;
448
- width : 500px ;
467
+ width : 500px ;
449
468
background-color : # 121245 ;
450
- padding : 10px 20px ;
469
+ padding : 10px 20px ;
451
470
border-radius : 15px ;
452
- height : 340px ;
453
- color : white;
471
+ height : 340px ;
472
+ color : white;
454
473
animation : slideInRight 1s ease-in-out;
474
+ transition : background-color 0.3s ease;
475
+ }
476
+
477
+ # milestone : hover {
478
+ background-color : # 0D6EFD ;
455
479
}
456
480
457
481
.chart-container {
458
482
display : flex;
459
483
align-items : center;
460
- width : 150px ;
484
+ width : 150px ;
461
485
margin : 50px 20px ;
462
486
animation : slideInRight 1s ease-in-out;
463
487
}
@@ -473,32 +497,45 @@ button#toggle-stats:hover {
473
497
display : flex;
474
498
align-items : center;
475
499
margin-bottom : 8px ;
476
- width : 300px ;
500
+ width : 300px ;
501
+ transition : transform 0.3s ease;
502
+ }
503
+
504
+ .legend span : hover {
505
+ transform : scale (1.1 );
477
506
}
507
+
478
508
@media (max-width : 560px ) {
479
509
.chart-container {
480
- width : 120px ;
510
+ width : 120px ;
481
511
}
482
512
.legend span {
483
- width : 170px ;
513
+ width : 170px ;
484
514
}
485
- .progress-bar-container {
486
- width : 200px ;
515
+ .progress-bar-container {
516
+ width : 200px ;
487
517
}
488
518
.progress-bar {
489
519
width : 200px ;
490
520
}
491
521
}
522
+
492
523
.legend span ::before {
493
524
content : '' ;
494
525
display : inline-block;
495
526
width : 20px ;
496
527
height : 20px ;
497
528
margin-right : 8px ;
498
529
border-radius : 50% ;
499
- background-color : currentColor; /* This will be set dynamically */
530
+ background-color : currentColor;
531
+ transition : transform 0.3s ease;
500
532
}
501
533
534
+ .legend span ::before : hover {
535
+ transform : rotate (45deg );
536
+ }
537
+
538
+
502
539
/* Footer stays at the bottom */
503
540
.footer {
504
541
background-color : # 121245 ;
0 commit comments