_footer.scss 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  1. /*--------------------------------------------------------------
  2. # Footer
  3. --------------------------------------------------------------*/
  4. #footer {
  5. background: darken($secondary, 5);
  6. padding: 0 0 30px 0;
  7. color: $white;
  8. font-size: 14px;
  9. .footer-top {
  10. padding: 60px 0 30px 0;
  11. .footer-info {
  12. margin-top: -90px;
  13. margin-bottom: 15px;
  14. background: lighten($primary, 48);
  15. color: $secondary;
  16. border-top: 4px solid $primary;
  17. text-align: center;
  18. padding: 30px 20px;
  19. h3 {
  20. font-size: 24px;
  21. margin: 0 0 20px 0;
  22. padding: 2px 0 2px 0;
  23. line-height: 1;
  24. font-weight: 700;
  25. }
  26. p {
  27. font-size: 14px;
  28. line-height: 24px;
  29. margin-bottom: 0;
  30. font-family: $font-primary;
  31. }
  32. }
  33. .social-links {
  34. a {
  35. font-size: 18px;
  36. display: inline-block;
  37. background: $secondary;
  38. color: $white;
  39. line-height: 1;
  40. padding: 8px 0;
  41. margin-right: 4px;
  42. border-radius: 50%;
  43. text-align: center;
  44. width: 36px;
  45. height: 36px;
  46. transition: 0.3s;
  47. &:hover {
  48. background: $primary;
  49. color: #fff;
  50. text-decoration: none;
  51. }
  52. }
  53. }
  54. h4 {
  55. font-size: 16px;
  56. font-weight: 600;
  57. color: #fff;
  58. position: relative;
  59. padding-bottom: 12px;
  60. }
  61. .footer-links {
  62. margin-bottom: 30px;
  63. ul{
  64. list-style: none;
  65. padding: 0;
  66. margin: 0;
  67. i {
  68. padding-right: 2px;
  69. color: lighten($primary, 20);
  70. font-size: 18px;
  71. line-height: 1;
  72. }
  73. li {
  74. padding: 10px 0;
  75. &:first-child {
  76. padding-top: 0;
  77. }
  78. display: flex;
  79. align-items: center;
  80. }
  81. a {
  82. color: $white;
  83. transition: 0.3s;
  84. display: inline-block;
  85. line-height: 1;
  86. &:hover {
  87. color: lighten($primary, 15);
  88. }
  89. }
  90. }
  91. }
  92. .footer-newsletter {
  93. form {
  94. margin-top: 30px;
  95. background: #fff;
  96. padding: 6px 10px;
  97. position: relative;
  98. border-radius: 4;
  99. input[type="email"] {
  100. border: 0;
  101. padding: 4px;
  102. width: calc(100% - 110px);
  103. }
  104. input[type="submit"] {
  105. position: absolute;
  106. top: 0;
  107. right: 0;
  108. bottom: 0;
  109. border: 0;
  110. background: none;
  111. font-size: 16px;
  112. padding: 0 20px;
  113. background: $primary;
  114. color: $white;
  115. transition: 0.3s;
  116. border-radius: 4;
  117. &:hover {
  118. background: darken($primary, 10%);
  119. }
  120. }
  121. }
  122. }
  123. }
  124. .copyright {
  125. border-top: 1px solid lighten($secondary, 5);
  126. text-align: center;
  127. padding-top: 30px;
  128. }
  129. .credits {
  130. padding-top: 10px;
  131. text-align: center;
  132. font-size: 13px;
  133. color: $white;
  134. }
  135. @media (max-width: 575px) {
  136. .footer-top .footer-info {
  137. margin: -20px 0 30px 0;
  138. }
  139. }
  140. }