@@ -232,7 +232,7 @@ main {
232232 line-height : 1 ;
233233}
234234
235- .section-header h3 {
235+ .section-header . title {
236236 font-family : "Raleway" , sans-serif;
237237 font-size : 32px ;
238238 color : # EEEEEE ;
@@ -243,7 +243,7 @@ main {
243243 padding-bottom : 15px ;
244244}
245245
246- .section-header h3 ::before {
246+ .section-header . title ::before {
247247 content : "" ;
248248 position : absolute;
249249 display : block;
@@ -254,7 +254,7 @@ main {
254254 left : calc (50% - 60px );
255255}
256256
257- .section-header h3 ::after {
257+ .section-header . title ::after {
258258 content : "" ;
259259 position : absolute;
260260 display : block;
@@ -334,24 +334,58 @@ main {
334334
335335/* Team Members */
336336
337- # team .member {
338- text-align : center;
339- margin-bottom : 20px ;
340- background : # 333333 ;
337+ # team .container .section-header .title {
338+ text-align : left;
339+ margin-bottom : 30px ;
340+ font-size : 20px ;
341+ }
342+
343+ # team .container .section-header .title ::before {
344+ width : 100% ;
345+ left : 0 ;
346+ }
347+
348+ # team .container .section-header .title ::after {
349+ width : 200px ;
350+ left : 0 ;
351+ height : 2px ;
352+ }
353+
354+ # team .img-fluid {
355+ max-height : 221px ;
356+ width : 100% ;
357+ object-fit : cover;
358+ }
359+
360+ # faculty-container {
361+ margin-bottom : 40px ;
362+ padding : 0 6.2% ;
363+ }
364+
365+ # member-container {
366+ margin : 0 ;
367+ display : flex;
368+ }
369+
370+ # team .slider-container {
371+ padding : 0 5% ;
341372 position : relative;
342- border-radius : 15 px ;
373+ overflow : hidden ;
343374}
344375
345- # team .member img {
346- border-radius : 15px ;
376+ # team .slides {
377+ position : relative;
378+ overflow : hidden;
347379}
348380
349- # team .team-container {
350- padding-top : 50px ;
381+ # team .member {
382+ text-align : center;
383+ margin-bottom : 20px ;
384+ position : relative;
385+ overflow : hidden;
351386}
352387
353388# team .member .member-info {
354- opacity : 0 ;
355389 display : -webkit-box;
356390 display : -webkit-flex;
357391 display : -ms-flexbox;
@@ -366,37 +400,42 @@ main {
366400 align-items : center;
367401 position : absolute;
368402 bottom : 0 ;
369- top : 0 ;
370403 left : 0 ;
371404 right : 0 ;
372405 transition : 0.2s ;
406+ padding : 15px 0 ;
407+ background : rgba (29 , 28 , 41 , 0.6 );
373408}
374409
375410# team .member .member-info-content {
376- margin-top : -50px ;
377411 transition : margin 0.2s ;
412+ height : 40px ;
413+ transition : height 0.4s ;
378414}
379415
380416# team .member : hover .member-info {
381- background : rgba (0 , 0 , 0 , 0.7 );
382- opacity : 1 ;
383417 transition : 0.4s ;
384- border-radius : 15px ;
385418}
386419
387420# team .member : hover .member-info-content {
388- margin-top : 0 ;
389- transition : margin 0.4s ;
390- padding : 5px ;
421+ height : 80px ;
391422}
392423
393- # team .member h4 {
424+ # team .member h3 {
394425 font-family : "Raleway" , sans-serif;
426+ font-weight : 700 ;
395427 margin-bottom : 2px ;
396428 font-size : 18px ;
397429 color : # fff ;
398430}
399431
432+ # team .member span {
433+ font-style : italic;
434+ display : block;
435+ font-size : 13px ;
436+ color : # FFFFFF ;
437+ }
438+
400439# team .member .social {
401440 margin-top : 15px ;
402441}
@@ -411,14 +450,93 @@ main {
411450}
412451
413452# team .member .social a i {
414- font-size : 25px ;
415- margin : 0 2px ;
453+ font-size : 18px ;
454+ margin : 0 5px ;
455+ }
456+
457+ @media (max-width : 1200px ) {
458+ # team .member {
459+ max-height : 180px ;
460+ }
461+
462+ # team .member h3 {
463+ font-size : 17px ;
464+ }
465+
466+ # team .member span {
467+ font-size : 11px ;
468+ }
469+ }
470+
471+ @media (max-width : 992px ) {
472+ # team .member {
473+ max-height : 175px ;
474+ }
475+
476+ # team .member h3 {
477+ font-size : 17px ;
478+ }
479+
480+ # team .member span {
481+ font-size : 11px ;
482+ }
483+ }
484+
485+ @media (max-width : 768px ) {
486+ # team .member {
487+ max-height : 200px ;
488+ }
489+
490+ # team .member h3 {
491+ font-size : 16px ;
492+ }
493+
494+ # team .member span {
495+ font-size : 12px ;
496+ }
497+
498+ }
499+
500+ @media (max-width : 576px ) {
501+ # team .member {
502+ max-height : 34vw ;
503+ }
504+ }
505+
506+ /* Team Slider */
507+
508+ .slide-controls {
509+ position : absolute;
510+ top : 50% ;
511+ left : 0 ;
512+ transform : translateY (-50% );
513+ width : 100% ;
514+ display : flex;
515+ justify-content : space-between;
516+ align-items : center;
517+ }
518+
519+ # next-btn , # prev-btn {
520+ cursor : pointer;
521+ background : transparent;
522+ font-size : 30px ;
523+ border : none;
524+ padding : 10px ;
525+ color : white;
526+ }
527+
528+ # next-btn : focus , # prev-btn : focus {
529+ outline : none;
530+ }
531+
532+ # next-btn : hover , # prev-btn : hover {
533+ color : # FF5722 ;
416534}
417535
418536/* Footer */
419537
420538.footer-container {
421- margin : 0 10% ;
539+ margin : 20 px 10% ;
422540 width : 85% ;
423541 padding-top : 20px ;
424542}
@@ -449,6 +567,10 @@ main {
449567 margin-top : 20px ;
450568}
451569
570+ .footer-contact {
571+ margin-bottom : 30px ;
572+ }
573+
452574.footer-contact .social-links a {
453575 font-size : 18px ;
454576 display : inline-block;
@@ -556,129 +678,4 @@ main {
556678 .welcome-msg {
557679 font-size : 14px ;
558680 }
559- }
560-
561- /* Team */
562-
563- .team-container h4 {
564- font-family : "Raleway" , sans-serif;
565- font-size : 18px ;
566- font-weight : bold;
567- color : # fff ;
568- text-transform : uppercase;
569- position : relative;
570- padding-bottom : 12px ;
571- text-align : center;
572- }
573-
574- .team-container h4 ::before ,
575- .team-container h4 ::after {
576- content : "" ;
577- position : absolute;
578- left : 0 ;
579- bottom : 0 ;
580- height : 2px ;
581- }
582-
583- .team-container h4 ::before {
584- right : 0 ;
585- left : 0 ;
586- background : # 555555 ;
587- }
588-
589- .team-container h4 ::after {
590- background : # FF5722 ;
591- left : 20% ;
592- width : 60% ;
593- }
594-
595-
596- .faculty-container {
597- margin-left : 22% !important ;
598- }
599- .member-container {
600- margin-left : 13% !important ;
601- }
602-
603- .member-container , .faculty-container {
604- margin : 0px 25px ;
605- padding : 12px ;
606- display : inline-block;
607- width : 155px ;
608- position : relative;
609- z-index : 0 ;
610- }
611-
612-
613- .member-container : hover , .faculty-container : hover {
614- z-index : 100 ;
615- }
616-
617- .member-container : hover > .outer-circle , .faculty-container : hover > .outer-circle {
618- animation : fade 0.5s ease 0s 1 forwards;
619-
620- }
621-
622- .faculty-container : hover > .basic-details > h3 , .member-container : hover > .basic-details > h3 {
623- color : # ff5622e1 ;
624- }
625-
626- .faculty-designation , .member-designation {
627- padding : 0px 6px 0px !important ;
628- }
629-
630-
631- .basic-details {
632- position : relative;
633- z-index : 20 ;
634- }
635-
636- .basic-details .member-image , .faculty-image {
637- border-radius : 50% ;
638- width : 131px ;
639- height : 131px ;
640- }
641-
642- .basic-details .member-name , .faculty-name {
643- color : white;
644- padding : 11% 0% 0px 9px ;
645- font-size : 15px ;
646-
647- }
648-
649- .outer-circle {
650- position : absolute;
651- background-color : # ff5622c0 ;
652- padding-top : 135px ;
653- padding-bottom : 20px ;
654- width : 100% ;
655- top : 0px ;
656- left : 0px ;
657- z-index : 15 ;
658- opacity : 0 ;
659- border-radius : 100% ;
660- }
661-
662- @media only screen and (max-width : 550px ) {
663- .outer-circle {
664- padding-top : 140px ;
665- }
666-
667-
668- }
669-
670- .outer-circle h5 {
671- color : white;
672- font-weight : 100 ;
673- }
674-
675- @keyframes fade {
676- from {
677- opacity : 0 ;
678- transform : translateY (1px );
679- }
680- to {
681- opacity : 1 ;
682- transform : translateY (0px );
683- }
684681}
0 commit comments