1
+ /* General fade-in animation */
2
+ .fade-in {
3
+ opacity : 0 ;
4
+ animation : fadeIn 1s ease-in-out forwards;
5
+ }
6
+
7
+ @keyframes fadeIn {
8
+ from {
9
+ opacity : 0 ;
10
+ }
11
+ to {
12
+ opacity : 1 ;
13
+ }
14
+ }
15
+ /* Slide-In Animations */
16
+ @keyframes slide-in-right {
17
+ 0% {
18
+ transform : translateX (100% );
19
+ opacity : 0 ;
20
+ }
21
+ 100% {
22
+ transform : translateX (0 );
23
+ opacity : 1 ;
24
+ }
25
+ }
26
+
27
+
28
+ .slide-in-right {
29
+ animation : slide-in-right 0.5s ease-out;
30
+ }
31
+
32
+
1
33
/* Ensure full height of the body and remove margin/padding */
2
34
html ,
3
35
body {
@@ -12,11 +44,13 @@ body {
12
44
display : flex;
13
45
flex-direction : column;
14
46
color : white;
47
+
15
48
}
16
49
17
50
header {
18
51
background-color : # 121245 ;
19
52
padding : 10px 20px ;
53
+ animation : fadeIn 1s ease-in-out;
20
54
}
21
55
22
56
.navbar {
@@ -90,6 +124,7 @@ header {
90
124
main {
91
125
padding : 20px ;
92
126
flex : 1 ;
127
+ animation : fadeIn 1s ease-in-out;
93
128
/* Makes main content take up the remaining space */
94
129
}
95
130
@@ -104,6 +139,7 @@ main {
104
139
h2 {
105
140
font-size : 2em ;
106
141
margin-bottom : 20px ;
142
+ animation : slideInRight 1s ease-in-out;
107
143
}
108
144
109
145
p {
@@ -122,6 +158,7 @@ button#toggle-stats {
122
158
border : none;
123
159
cursor : pointer;
124
160
transition : background-color 0.3s ease;
161
+ animation : slideInRight 1s ease-in-out;
125
162
}
126
163
127
164
button # toggle-stats : hover {
@@ -131,6 +168,7 @@ button#toggle-stats:hover {
131
168
# statistics-cards {
132
169
display : none;
133
170
text-align : center;
171
+ animation : slideInRight 0.3s ease-in-out;
134
172
}
135
173
136
174
.stats-grid {
@@ -151,6 +189,7 @@ button#toggle-stats:hover {
151
189
color : # fff ;
152
190
text-shadow : 0.5px 0.5px 1px rgb (0 , 10 , 150 ), 0 0 1em rgb (34 , 174 , 255 ), 0 0 0.5em rgb (0 , 221 , 255 );
153
191
transition : transform 0.3s ease-in-out, text-shadow 0.3s ease-in-out;
192
+ animation : slideInRight 0.3s ease-in-out;
154
193
}
155
194
156
195
.stat-card : hover {
@@ -206,6 +245,7 @@ button#toggle-stats:hover {
206
245
gap : 20px ;
207
246
justify-content : center;
208
247
align-items : center;
248
+ animation : slide-in-right 0.5s ease-in-out;
209
249
}
210
250
211
251
.text-base {
@@ -221,6 +261,7 @@ button#toggle-stats:hover {
221
261
border-radius : 15px ;
222
262
height : 340px ;
223
263
color : white;
264
+ animation : slideInRight 0.3s ease-in-out;
224
265
}
225
266
# language-list {
226
267
list-style : none;
@@ -246,6 +287,7 @@ button#toggle-stats:hover {
246
287
overflow : hidden;
247
288
width : 300px ;
248
289
height : 20px ;
290
+ animation : fadeIn 1s ease-in-out;
249
291
}
250
292
.progress-bar {
251
293
height : 20px ;
@@ -258,6 +300,7 @@ button#toggle-stats:hover {
258
300
justify-content : center;
259
301
align-items : center;
260
302
color : white;
303
+ animation : fadeIn 1s ease-in-out;
261
304
}
262
305
# milestone {
263
306
text-align : center;
@@ -268,13 +311,15 @@ button#toggle-stats:hover {
268
311
border-radius : 15px ;
269
312
height : 340px ;
270
313
color : white;
314
+ animation : slideInRight 1s ease-in-out;
271
315
}
272
316
273
317
.chart-container {
274
318
display : flex;
275
319
align-items : center;
276
320
width : 150px ;
277
321
margin : 50px 20px ;
322
+ animation : slideInRight 1s ease-in-out;
278
323
}
279
324
280
325
.legend {
@@ -309,6 +354,7 @@ button#toggle-stats:hover {
309
354
padding : 20px ;
310
355
text-align : center;
311
356
margin-top : auto;
357
+ animation : fadeIn 1s ease-in-out;
312
358
}
313
359
314
360
# footer-link {
@@ -326,6 +372,7 @@ button#toggle-languages {
326
372
border : none;
327
373
cursor : pointer;
328
374
transition : background-color 0.3s ease;
375
+ animation : slideInRight 1s ease-in-out;
329
376
}
330
377
331
378
button # toggle-languages : hover {
@@ -337,6 +384,7 @@ button#toggle-languages:hover {
337
384
margin : 20px auto;
338
385
max-width : 1200px ;
339
386
padding : 0 20px ;
387
+ animation : fadeIn 1s ease-in-out;
340
388
}
341
389
342
390
# directories {
@@ -348,6 +396,7 @@ button#toggle-languages:hover {
348
396
padding : 0 ;
349
397
margin-top : 50px ;
350
398
margin-bottom : 100px ;
399
+ animation : slideInRight 1s ease-in-out;
351
400
}
352
401
353
402
.card {
@@ -360,6 +409,7 @@ button#toggle-languages:hover {
360
409
padding : 20px ;
361
410
box-sizing : border-box;
362
411
transition : transform 0.3s ease, box-shadow 0.3s ease;
412
+ animation : fadeIn 1s ease-in-out;
363
413
}
364
414
365
415
.card-languages {
@@ -378,6 +428,7 @@ button#toggle-languages:hover {
378
428
379
429
.card-languages h3 {
380
430
text-align : center;
431
+ animation : fadeIn 1s ease-in-out;
381
432
}
382
433
383
434
.card-languages : hover {
@@ -423,6 +474,7 @@ button#toggle-languages:hover {
423
474
padding : 40px ;
424
475
background-color : # 0a0a2e ;
425
476
text-align : center;
477
+ animation : slideInRight 1s ease-in-out;
426
478
}
427
479
428
480
# contributors h2 {
@@ -439,6 +491,7 @@ button#toggle-languages:hover {
439
491
justify-content : center;
440
492
padding : 20px ; /* Padding around the grid */
441
493
background : linear-gradient (135deg , # 121245, # 121245 ); /* Subtle gradient background */
494
+ animation : slideInRight 1s ease-in-out;
442
495
}
443
496
444
497
/* Styling for individual contributor div */
@@ -454,6 +507,7 @@ button#toggle-languages:hover {
454
507
background : # 0b0b38 ; /* White background */
455
508
box-shadow : 0 4px 8px rgba (0 , 0 , 0 , 0.1 ); /* Enhanced shadow for depth */
456
509
transition : transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transition effects */
510
+ animation : slideInRight 1s ease-in-out;
457
511
}
458
512
459
513
.contributor : hover {
@@ -503,6 +557,7 @@ button#toggle-languages:hover {
503
557
font-size : 2.5rem ; /* Increase font size */
504
558
font-weight : 900 ; /* Bold font weight */
505
559
color : white; /* Dark color for better contrast */
560
+ animation : fadeIn 1s ease-in-out;
506
561
507
562
}
508
563
@@ -521,6 +576,7 @@ button#toggle-languages:hover {
521
576
cursor : pointer;
522
577
font-size : 24px ;
523
578
z-index : 100 ;
579
+ animation : fadeIn 1s ease-in-out;
524
580
}
525
581
526
582
/* Chatbox */
@@ -538,6 +594,7 @@ button#toggle-languages:hover {
538
594
transition : all 0.3s ease;
539
595
max-height : 600px ; /* Adjust as needed */
540
596
overflow : hidden;
597
+ animation : fadeIn 1s ease-in-out;
541
598
}
542
599
543
600
.chatbot .active {
@@ -566,6 +623,7 @@ button#toggle-languages:hover {
566
623
flex-grow : 1 ;
567
624
overflow-y : auto;
568
625
padding : 10px ;
626
+ animation : fadeIn 1s ease-in-out;
569
627
}
570
628
571
629
.message {
@@ -680,6 +738,7 @@ button#toggle-languages:hover {
680
738
cursor : pointer;
681
739
transition : opacity 0.3s ease, transform 0.3s ease;
682
740
z-index : 1000 ;
741
+ animation : slideInRight 0.5s ease-in-out;
683
742
}
684
743
685
744
# go-to-top : hover {
@@ -700,6 +759,7 @@ button#toggle-languages:hover {
700
759
font-size : 2em ;
701
760
margin-bottom : 20px ;
702
761
color : # 333 ;
762
+ animation : slideInRight 1s ease-in-out;
703
763
}
704
764
705
765
.milestones-grid {
@@ -715,6 +775,7 @@ button#toggle-languages:hover {
715
775
box-shadow : 0 4px 8px rgba (0 , 0 , 0 , 0.1 );
716
776
border-left : 5px solid # 054ffd ;
717
777
transition : transform 0.3s ease;
778
+ animation : slideInRight 1s ease-in-out;
718
779
}
719
780
720
781
.milestone-card : hover {
@@ -740,6 +801,7 @@ button#toggle-languages:hover {
740
801
overflow : hidden;
741
802
margin-bottom : 10px ;
742
803
height : 8px ;
804
+ animation : slideInRight 1s ease-in-out;
743
805
}
744
806
745
807
.progress {
0 commit comments