-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
974 lines (831 loc) · 19.5 KB
/
style.css
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
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
/*
1. RESET & BASE
2. TYPOGRAPHY
3. PRELOADER
4. GENERAL STYLES (Layout, Sections, Buttons)
5. HEADER STYLES
6. HERO SECTION
7. ABOUT SECTION
8. EXPERIENCE, EDUCATION, SECTIONS
9. SKILLS SECTION
10. PROJECTS SECTION
11. ACHIEVEMENTS, VOLUNTEERING, PUBLICATIONS, COURSES, HONORS, LANGUAGES, AFFILIATIONS, INTERESTS SECTIONS
12. CONTACT SECTION
13. FOOTER
*/
/* ======================
1. RESET & BASE STYLES
====================== */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: "Roboto", sans-serif;
line-height: 1.6;
background-color: #e4e3e3;
color: #333;
overflow-x: hidden;
}
a {
color: #007bff;
transition: color 0.3s ease;
}
a:hover {
color: #0056b3;
text-decoration: none;
}
.container {
padding: 0 15px;
}
/* ======================
2. TYPOGRAPHY
====================== */
h1,
h2,
h3,
h4 {
font-weight: 600;
}
h1 {
font-size: 3.5em;
margin-bottom: 10px;
}
h2 {
font-size: 2.5em;
margin-bottom: 20px;
}
h3 {
font-size: 1.8em;
margin-bottom: 10px;
}
p {
margin-bottom: 15px;
font-size: medium;
font-weight: 400;
}
/* ======================
3. PRELOADER
====================== */
#preloader {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
background-color: #121212;
z-index: 10000;
}
.loader {
border: 4px solid #f3f3f3;
border-top: 4px solid #00c896;
border-radius: 50%;
width: 50px;
height: 50px;
animation: spin 2s linear infinite;
}
@keyframes spin {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
/* ======================
4. GENERAL STYLES
====================== */
.section {
padding: 40px 0;
}
.section-title {
margin-bottom: 40px;
}
.btn {
padding: 12px 25px;
border-radius: 5px;
transition: background-color 0.3s ease;
}
.btn-outline-light {
color: #fff;
border-color: #fff;
}
.btn-outline-light:hover {
background-color: #fff;
color: #007bff;
}
.bg-light {
background-color: #f8f9fa !important;
}
/* ======================
5. HEADER STYLES
====================== */
.header {
position: fixed;
top: 0;
left: 0;
width: 100%;
z-index: 100;
background-color: rgba(182, 182, 182, 0.301);
padding: 30px 0;
transition: background-color 0.3s ease;
}
.header.active {
background-color: #3d4240;
padding-bottom: 30px;
}
.navbar-brand {
font-weight: 700;
font-size: 2em;
color: #fff;
padding-bottom: 10px;
}
.navbar-nav .nav-link {
color: #fff !important;
font-weight: 500;
padding: 10px 30px;
transition: color 0.3s ease;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
color: #a2a2a2 !important;
}
.container.justify-content-center {
width: 100%;
}
/* ======================
6. SIDEBAR STYLES
====================== */
#sidebar {
position: fixed;
top: 0;
left: -250px;
width: 250px;
height: 100%;
background-color: #121212; /* Darker background */
color: #fff;
transition: left 0.3s ease;
z-index: 101;
overflow-y: auto; /* Add vertical scroll if content overflows */
}
#sidebar.active {
left: 0;
}
.sidebar-header {
background-color: #00c896; /* Neon green header */
padding: 30px 20px;
text-align: center;
}
.sidebar-brand {
font-weight: 700;
font-size: 1.8em;
color: #fff;
margin-bottom: 5px;
}
.sidebar-subtitle {
font-size: 0.9em;
color: rgba(255, 255, 255, 0.8); /* Slightly transparent white */
}
#sidebar .navbar-nav {
padding-top: 20px;
}
#sidebar .nav-link {
color: #fff !important;
padding: 12px 25px; /* Increased padding */
border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Subtle separator */
transition: background-color 0.3s ease;
}
#sidebar .nav-link:hover,
#sidebar .nav-link.active {
background-color: rgba(255, 255, 255, 0.1); /* Subtle background on hover/active */
}
/* Sidebar Toggle Button */
#sidebar-toggle {
display: none;
position: fixed;
top: 20px;
left: 20px;
background-color: rgba(0, 0, 0, 0.7);
padding: 10px 15px;
border-radius: 5px;
cursor: pointer;
z-index: 102;
}
#sidebar-toggle i {
color: #fff;
font-size: 1.5em;
}
/* Media Queries for Responsiveness */
@media (max-width: 768px) {
#sidebar-toggle {
display: block;
}
/* Hide the default navbar on mobile */
.header nav {
display: none;
}
}
/* CENTER THE NAVBAR CONTENT */
@media (min-width: 768px) { /* For medium and larger screens */
.navbar-collapse {
display: flex; /* Make navbar-collapse a flex container */
justify-content: center; /* Center its content horizontally */
}
}
/* ======================
6. HERO SECTION
====================== */
.hero {
/* background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images\img_1.jpg'); */
background-image: url("images/img_1.jpg");
background-size: cover;
background-position: center;
min-height: 500px;
display: flex;
align-items: center;
text-align: center;
color: #fff;
position: relative;
}
.name-background {
position: relative;
display: inline-block;
padding: 10px 20px;
margin-bottom: 20px;
}
.name-background .background-image {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
z-index: -1;
opacity: 0.8; /* Adjust opacity for transparency */
}
.name-background h1 {
position: relative;
z-index: 1;
color: #fff;
}
.hero::before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5);
z-index: -1;
}
.hero-content {
max-width: 800px;
margin: 0 auto;
z-index: 1;
}
.hero h1 {
font-size: 4em;
margin-bottom: 0.2em;
}
.hero h2 {
font-size: 2em;
margin-bottom: 20px;
font-weight: 500;
}
.hero p {
font-size: 1.2em;
margin-bottom: 30px;
}
.scroll-down {
position: absolute;
bottom: 30px;
left: 50%;
transform: translateX(-50%);
animation: bounce 2s infinite;
}
.scroll-down a {
color: #fff;
font-size: 2em;
}
@keyframes bounce {
0%,
20%,
50%,
80%,
100% {
transform: translateX(-50%) translateY(0);
}
40% {
transform: translateX(-50%) translateY(-10px);
}
60% {
transform: translateX(-50%) translateY(-5px);
}
}
/* ======================
7. ABOUT SECTION
====================== */
.about-content {
text-align: justify;
font-size: medium;
font-weight: 400;
}
/* ======================
8. EXPERIENCE & EDUCATION SECTIONS
====================== */
.experience-item,
.education-item {
background-color: #fff;
padding: 30px;
margin-bottom: 20px;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.experience-item h3,
.education-item h3 {
color: #007bff; /* Blue color for headings */
font-size: 1.8em; /* Increase heading font size */
margin-bottom: 10px;
}
.experience-header { /* Style for experience heading and date */
display: flex;
justify-content: space-between; /* Push date to the right */
align-items: center; /* Vertically align items */
}
.experience-header h3 {
margin-bottom: 0; /* Remove default margin */
}
.experience-header a{
color: #007bff; /* Blue color for the company name */
text-decoration: underline; /* Remove underline */
}
.experience-item .date,
.education-item .date {
font-size: 0.9em;
color: #666;
text-align: right; /* Align the date to the right */
padding-top: 19px; /* Add space between heading and date */;
}
.experience-item ul {
list-style-type: disc;
padding-left: 40px;
}
.experience-item p,
.education-item p { /* Common styles for paragraphs */
font-size: medium;
font-weight: 400;
line-height: 1.6; /* Improve readability */
text-align: left; /* Left-align the text */
}
.education-item {
display: flex;
flex-direction: column;
}
.education-header { /* Style for degree and university */
display: flex;
justify-content: space-between; /* Push date to the right */
align-items: center; /* Vertically align items */
}
.education-header h3 {
margin-bottom: 0; /* Remove default margin */
}
.education-header .date {
text-align: right;
}
/* ======================
9. SKILLS SECTION
====================== */
.skill-filters button {
margin: 0 8px 20px; /* Increased spacing for better visual separation */
border-radius: 20px; /* Rounded buttons for a softer look */
font-weight: 500; /* Slightly bolder text */
padding: 8px 18px; /* Adjusted padding for better proportions */
}
.skill-filters button.active {
background-color: #00c896; /* Your neon green color on active state */
border-color: #00c896;
color: #fff; /* White text on active */
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Subtle shadow on active */
}
.skill-matrix {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
.skill-category {
margin-bottom: 40px; /* Increased spacing between categories */
}
.skill-category h4 {
color: #333; /* Darker heading for better contrast */
font-weight: 600; /* Bolder heading */
}
.skill-item {
background-color: #fff;
padding: 12px 20px; /* Increased padding for a larger clickable area */
margin-bottom: 12px; /* Increased spacing between items */
border-radius: 25px; /* More rounded corners for a softer look */
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Enhanced shadow */
cursor: pointer;
transition: transform 0.2s ease, box-shadow 0.2s ease; /* Added box-shadow transition */
}
.skill-item:hover {
transform: translateY(-3px); /* More pronounced hover effect */
box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15); /* Darker shadow on hover */
}
/* ======================
10. PROJECTS SECTION
====================== */
.section {
padding: 80px 0; /* Increase the size of the section */
}
.project {
position: relative;
border-radius: 10px;
overflow: hidden;
margin-bottom: 20px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.project img {
width: 100%;
height: auto;
object-fit: cover;
transition: transform 0.3s ease;
}
.project:hover img {
transform: scale(1.1);
}
.project .overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 50%; /* Make the overlay cover the entire image */
background-color: rgba(116, 130, 111, 0.88);
color: #fff;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
opacity: 0;
transition: opacity 0.3s ease;
background: rgba(0, 0, 0, 0.5); /* Add a semi-transparent background to make the text more readable */
}
.project:hover .overlay {
opacity: 1;
}
.overlay h3 {
font-size: 2em; /* Make the title bigger */
margin-bottom: 10px;
text-align: center;
}
.overlay h3 a {
color: #fff; /* Make the hyperlink white */
text-decoration: seashell; /* Remove underline from hyperlink */
}
.overlay h3 a:hover {
color: #ddd; /* Change color on hover */
text-decoration: underline;
}
.project-description {
margin-top: 5px;
text-align: center;
}
.overlay img {
width: 100%;
height: auto;
object-fit: cover;
transition: transform 0.3s ease;
}
.overlay:hover img {
transform: scale(1.1);
}
.more-projects {
margin-bottom: 10px; /* Add spacing above the "Read More" button */
}
.more-projects a {
color: #007bff; /* Use the same blue color as other links */
text-decoration: none;
}
.more-projects a:hover {
text-decoration: underline;
}
.read-more {
background-color: #007bff; /* Use the same blue color as other links */
border-color: #007bff;
color: #fff;
}
.read-more:hover {
background-color: #0056b3;
border-color: #0056b3;
}
/* ======================
11. ACHIEVEMENTS, VOLUNTEERING, PUBLICATIONS, COURSES, HONORS, LANGUAGES, AFFILIATIONS, INTERESTS SECTIONS
====================== */
.volunteering-list {
list-style: none;
padding: 0;
}
.volunteering-item {
background-color: #fff;
padding: 30px;
margin-bottom: 20px;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.volunteering-item h3 {
/* Style for role title */
color: #007bff; /* Blue color for the role */
margin-bottom: 5px; /* Reduced margin */
}
.volunteering-item h4 {
/* Style for the volunteering activity title */
margin-bottom: 10px;
}
.volunteering-item .date {
font-size: 0.9em;
color: #666;
margin-bottom: 15px;
}
.volunteering-item ul {
list-style-type: disc;
padding-left: 40px;
}
.volunteering-item li {
margin-bottom: 10px;
}
.volunteering-image {
max-width: 500px;
margin: 20px auto;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.volunteering-description {
text-align: center;
font-style: italic;
color: #666;
}
.achievements-list,
.volunteering-item,
.publications-list,
.course-item,
.honors-list,
.languages-list,
.affiliations-list {
list-style-type: disc;
padding-left: 40px;
margin-bottom: 20px;
}
.achievements-list li,
.volunteering-item li,
.publications-list li,
.course-item,
.honors-list li,
.languages-list li,
.affiliations-list li {
margin-bottom: 10px;
}
.volunteering-item h3,
.course-item h3 {
margin-bottom: 10px;
}
.volunteering-item .date,
.course-item .date {
font-size: 0.9em;
color: #666;
}
.achievements-list {
list-style: none; /* Remove bullet points */
padding: 0;
}
.achievement-item {
background-color: #fff;
padding: 30px;
margin-bottom: 20px;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.achievement-item h3 {
color: #007bff; /* Example: Blue heading */
margin-bottom: 10px;
}
.achievement-item .date {
font-size: 0.9em;
color: #666;
margin-bottom: 15px;
}
.achievement-image {
max-width: 500px;
margin: 20px auto;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.achievement-description {
text-align: center;
font-style: italic;
color: #666;
}
.achievement-title,
.date {
display: inline-block;
vertical-align: top; /* Keeps them aligned at the top */
}
.achievement-title {
margin-right: 10px; /* Adjusts space between the title and the date */
}
.achievement-item .heading,
.volunteering-item .heading {
display: flex;
align-items: baseline; /* Align items to the baseline */
justify-content: space-between; /* Space between title and date */
}
.achievement-item .heading h3,
.volunteering-item .heading h3 {
margin-bottom: 0; /* Remove default margin from h3 */
}
.achievement-item .date,
.volunteering-item .date {
font-size: 0.9em;
color: #666;
margin-bottom: 10px; /* Add spacing below the date */
}
.read-more {
background-color: #007bff; /* Use the same blue color as other links */
border-color: #007bff;
color: #fff;
}
.read-more:hover {
background-color: #0056b3;
border-color: #0056b3;
}
.interests-list,
.publications-list {
list-style: none;
padding: 0;
}
.interests-list strong {
/* Style for interest titles */
font-weight: 600;
}
.interests-list li {
margin-bottom: 20px;
}
.interests-list h3 {
/* Use h3 for interest titles */
font-weight: 600;
color: #007bff;
margin-bottom: 10px; /* Add spacing below the heading */
}
.interests-list p {
/* Style the description paragraphs */
text-align: left; /* Align text to the left */
line-height: 1.6; /* Improve readability with line height */
font-weight: 400; /* Use normal font weight */
font-size: medium;
}
.publications-list li {
margin-bottom: 20px;
}
.publications-list a {
color: #007bff; /* Link color */
text-decoration: none;
}
.publications-list a:hover {
text-decoration: underline; /* Underline on hover */
}
.publications-list p {
margin-top: 10px; /* Add spacing between link and description */
}
.publications-list h3 {
/* Style for publication title */
font-weight: 600;
color: #007bff;
margin-bottom: 5px;
}
.publications-list h3 a {
/* Style for the link in the title */
color: #007bff;
text-decoration: underline;
}
.publications-list h3 a:hover {
text-decoration: underline;
}
.publications-list .publication-details {
/* Style for publication details */
font-size: 0.9em;
color: #666;
margin-bottom: -18px;
}
.publication-header {
display: flex;
align-items: center;
justify-content: start;
gap: 10px; /* Adjust the space between the h3 and the publication details */
}
.publication-details {
white-space: nowrap; /* Prevent the IEEE and date from wrapping */
}
.publications-list p {
/* Style for the publication description */
text-align: left;
line-height: 1.6;
}
.interests-list,
.publications-list {
list-style: none;
padding: 0;
background-color: #fff; /* White background for the box */
padding: 30px;
margin-bottom: 20px;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.courses-list {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive columns */
grid-auto-rows: auto; /* Let rows adjust to content */
gap: 20px;
list-style: none;
padding: 0;
margin-bottom: 0; /* Reset the margin */
}
.course-item {
background-color: #fff;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
overflow: hidden;
display: flex;
flex-direction: column;
text-align: center;
padding: 20px;
}
.course-item .content {
flex-grow: 1;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.course-item h3 {
color: #007bff;
margin-bottom: 5px;
font-size: 1em;
}
.course-item .date {
font-size: 0.8em;
color: #666;
margin-bottom: 10px;
}
.certificate-link {
display: inline-block;
padding: 6px 12px;
background-color: #00c896;
color: #fff;
border-radius: 5px;
text-decoration: none;
font-size: 0.9em;
transition: background-color 0.3s ease;
margin-top: auto; /* Push link to bottom */
}
.certificate-link:hover {
background-color: #00ffb0;
}
/* Media Query for Smaller Screens (Tablets and Phones) */
@media (max-width: 768px) {
.courses-list {
grid-template-columns: 1fr; /* Single column on smaller screens */
}
}
/* ======================
12. FOOTER
====================== */
.footer {
background-color: #333;
color: #fff;
padding: 30px 0;
margin-top: 80px;
}
.social-links a {
color: #fff;
margin: 0 10px;
transition: color 0.3s ease;
}
.social-links a:hover {
color: #00c896;
}
/* Media Queries - Adjust breakpoints as needed */
@media (max-width: 992px) {
.hero h1 {
font-size: 3.5em;
}
}
@media (max-width: 768px) {
.hero h1 {
font-size: 3em;
}
.hero h2 {
font-size: 1.8em;
}
}