@@ -7,6 +7,8 @@ $light-blue: #44C6E6;
7
7
$off-white : #F6F8FA ;
8
8
$darker-blue : #081646 ;
9
9
$orange : #FF9C4A ;
10
+ $grey : #D0D9E2 ;
11
+
10
12
// Typography
11
13
:root {
12
14
--body-font-size : 1.3rem ;
@@ -404,59 +406,81 @@ section {
404
406
405
407
406
408
// Contact
407
- footer {
408
- width : 100% ;
409
- height : 300px ;
410
- left : 0 ;
411
- right : 0 ;
412
- bottom : 0 ;
413
- margin-top : 20px ;
414
- background-image : url (" ../assets/footer/footer.svg" );
415
- background-repeat : repeat no-repeat ;
416
- background-position : bottom center ;
417
- background-size : auto 300px ;
418
- overflow-x : clip ;
419
-
420
- #footer-content {
409
+ #contact {
410
+ padding-bottom : 0 ;
411
+ display : flex ;
412
+ justify-content : space-between ;
413
+ flex-direction : row ;
414
+ min-height : auto ;
415
+
416
+ #contact-content {
417
+ width : 50% ;
418
+ padding-right : 20px ;
419
+ }
420
+
421
+ #contact-socials {
422
+ align-self : flex-end ;
423
+ background-image : url (" ../assets/bh8/contact-monitor.svg" );
424
+ width : 430px ;
425
+ max-width : 50% ;
426
+ height : 330px ;
427
+ margin-bottom : -2px ; // Gets rid of gap between svg and footer
428
+ background-size : contain ;
429
+ background-repeat : no-repeat ;
430
+ background-position : center bottom ;
431
+ padding : 1rem 2.5rem 5rem ;
421
432
display : flex ;
422
433
flex-direction : column ;
423
- justify-content : space-around ;
424
- height : 235px ;
425
- margin : auto ;
426
- padding : 15px ;
427
- text-align : center ;
434
+ justify-content : center ;
435
+ align-items : center ;
428
436
429
- h2 {
430
- margin-top : -5px ;
431
- margin-bottom : -5px ;
432
- }
437
+ #social-icons {
438
+ display : flex ;
439
+ flex-wrap : wrap ;
433
440
434
- p {
435
- font-size : 1em ;
436
- }
441
+ a {
442
+ margin : 1rem ;
443
+
444
+ i {
445
+ font-size : 3rem ;
446
+ color : $blue ;
437
447
438
- // FA brand icons
439
- i {
440
- font-size : 3 em ;
441
- padding : 0 px 5 px ;
442
- color : $blue ;
448
+ & :hover {
449
+ color : $dark-blue ;
450
+ }
451
+ }
452
+ }
443
453
}
454
+ }
455
+ }
444
456
445
- a {
446
- display : inline-block ;
447
- transition : 0.2s ;
448
457
449
- i {
450
- transition : 0.2s ;
451
- }
458
+ // Footer
459
+ footer {
460
+ background-color : $grey ;
461
+ padding : 2rem 5rem ;
462
+ display : flex ;
463
+ justify-content : space-between ;
464
+
465
+ #footer-left {
466
+ padding-right : 1rem ;
467
+ }
468
+
469
+ #footer-right {
470
+ display : flex ;
471
+ justify-content : space-between ;
452
472
453
- & :hover i {
454
- transform : translateY (-4px );
473
+ p {
474
+ padding-bottom : 0 ;
475
+
476
+ & :not (p :last-of-type ) {
477
+ padding-right : 1rem ;
455
478
}
456
479
}
457
480
}
458
481
}
459
482
483
+
460
484
@media screen and (max-width : 1500px ) {
461
485
// FAQ
462
486
#faq {
@@ -497,6 +521,16 @@ footer {
497
521
#about #about-content #about-buttons {
498
522
width : 100% ;
499
523
}
524
+
525
+ // Footer
526
+ footer #footer-right {
527
+ flex-direction : column ;
528
+ text-align : right ;
529
+
530
+ p :not (p :last-of-type ) {
531
+ padding-right : 0 ;
532
+ }
533
+ }
500
534
}
501
535
502
536
@media screen and (max-width : 955px ) {
@@ -664,6 +698,24 @@ footer {
664
698
}
665
699
}
666
700
}
701
+
702
+ // Contact
703
+ #contact {
704
+ flex-direction : column ;
705
+
706
+ #contact-content {
707
+ width : 100% ;
708
+ padding-right : 0px ;
709
+ }
710
+
711
+ #contact-socials {
712
+ margin : 2rem auto -2px ;
713
+ max-width : 75% ;
714
+ width : 75% ;
715
+ height : calc ((100vw - 7rem ) * 0.56 ); // should be the same as 75% of the current width
716
+ // Essentially: (100vw - section padding to get 100% width) * 0.75 to get the 75% width * 0.75 for 75% of 75% width
717
+ }
718
+ }
667
719
}
668
720
669
721
@media screen and (max-width : 650px ) {
@@ -676,24 +728,23 @@ footer {
676
728
}
677
729
}
678
730
679
- footer {
680
- height : 200 px ;
681
- background-size : auto 200 px ;
682
-
683
- #footer -content {
684
- height : 157 px ;
685
-
686
- h2 {
687
- font-size : 1.2 em ;
688
- }
731
+ // Contact
732
+ #contact #contact-socials {
733
+ max-width : 100 % ;
734
+ width : 100 % ;
735
+ justify -content: flex-start ;
736
+ padding : 0 ;
737
+ margin : 2 rem 0 ;
738
+ background-image : none ;
739
+ height : auto ;
740
+ }
689
741
690
- p {
691
- font-size : 0.8 em ;
692
- }
742
+ // Footer
743
+ footer {
744
+ flex-direction : column ;
693
745
694
- i {
695
- font-size : 2em ;
696
- }
746
+ #footer-right {
747
+ text-align : left ;
697
748
}
698
749
}
699
- }
750
+ }
0 commit comments