Advertisement
dfghgfhplkjbv

src/components/Footer/Footer.module.scss

Feb 27th, 2019
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.52 KB | None | 0 0
  1. @import 'src/styles/utility';
  2.  
  3. .root {
  4. background-color: $black;
  5. padding-bottom: 56px;
  6. }
  7.  
  8. .row {
  9. @include container;
  10. display: flex;
  11. flex-wrap: wrap;
  12. justify-content: space-between;
  13.  
  14. padding-top: 56px;
  15.  
  16. @media (max-width: $md) {
  17. flex-direction: column;
  18.  
  19. &:first-child {
  20. padding-bottom: 0;
  21. }
  22. }
  23. }
  24.  
  25. .nav {
  26. display: flex;
  27. justify-content: space-between;
  28.  
  29. ul {
  30. list-style: none;
  31. margin: 0;
  32. margin-right: 72px;
  33. padding: 0;
  34.  
  35. &:last-child {
  36. margin-right: 0;
  37. }
  38.  
  39. a {
  40. @include base-font();
  41. @include base-transition();
  42. color: #fff;
  43.  
  44. display: inline-block;
  45. font-size: 0.875rem;
  46. font-weight: 600;
  47.  
  48. margin-bottom: 14px;
  49. text-decoration: none;
  50. text-transform: uppercase;
  51.  
  52. &:hover {
  53. text-decoration: underline;
  54. }
  55. }
  56. }
  57.  
  58. @media (max-width: $lg) {
  59. flex-basis: 40%;
  60. }
  61.  
  62. @media (max-width: $md) {
  63. justify-content: initial;
  64. margin-bottom: 24px;
  65. }
  66.  
  67. @media (max-width: $sm) {
  68. flex-direction: column;
  69. }
  70. }
  71.  
  72. .copyright {
  73. @include base-transition();
  74. color: #fff;
  75.  
  76. display: inline-block;
  77. text-decoration: none;
  78.  
  79. span {
  80. color: $green;
  81. }
  82. }
  83.  
  84. .social {
  85. display: flex;
  86. list-style: none;
  87. margin: 0;
  88. padding: 0;
  89.  
  90. li {
  91. margin-right: 20px;
  92. &:last-child {
  93. margin-right: 0;
  94. }
  95. }
  96. }
  97.  
  98. .extra {
  99. @include container();
  100. border-top: 1px solid rgba(255, 255, 255, 0.4);
  101. display: flex;
  102. justify-content: space-between;
  103. margin-top: 32px;
  104. padding-top: 48px;
  105. }
  106.  
  107. .toTop {
  108. @include reset-btn();
  109. @include base-transition();
  110.  
  111. color: #fff;
  112. text-decoration: none;
  113.  
  114. &:hover {
  115. color: $green;
  116. cursor: pointer;
  117. }
  118. }
  119.  
  120. .logo {
  121. display: block;
  122. position: relative;
  123. img {
  124. height: 30px;
  125.  
  126. @media (max-width: $lg) {
  127. flex-basis: 40%;
  128. }
  129.  
  130. @media (max-width: $md) {
  131. flex-basis: 100%;
  132. margin-bottom: 48px;
  133. }
  134. @media (max-width: $sm) {
  135. margin-left: -52px;
  136. }
  137. }
  138. figure {
  139. position: absolute;
  140. right: -88px;
  141. top: -25%;
  142. color: #fff;
  143. text-transform: uppercase;
  144. font-weight: bold;
  145. font-size: 0.65rem;
  146. background-color: #161616;
  147. padding: 4px 8px;
  148. border-radius: 3px;
  149. @media (max-width: $md) {
  150. right: 160px;
  151. }
  152. @media (max-width: $sm) {
  153. margin-right: -100px;
  154. }
  155. }
  156. }
  157.  
  158. .offline-mode {
  159. opacity: 0.3;
  160. pointer-events: none;
  161. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement