Advertisement
dfghgfhplkjbv

src/components/Home/Home.module.scss

Feb 21st, 2019
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.14 KB | None | 0 0
  1. @import 'src/styles/utility';
  2.  
  3. .root {
  4. @include container;
  5. }
  6.  
  7. .more {
  8. margin-bottom: 25px;
  9. text-align: center;
  10.  
  11. button {
  12. @include reset-btn();
  13. @include base-font();
  14. @include base-transition();
  15. border: 3px solid #000;
  16. font-size: 1.125rem;
  17. font-weight: 700;
  18. letter-spacing: 0.15rem;
  19.  
  20. line-height: normal;
  21. padding: 21px 25px;
  22. text-transform: uppercase;
  23.  
  24. &:hover {
  25. background-color: #000;
  26. color: #fff;
  27. }
  28. }
  29. }
  30.  
  31. .interviews {
  32. display: flex;
  33. @media (max-width: $lg) {
  34. display: block;
  35. }
  36. }
  37.  
  38. .interviewsWrapper {
  39. width: 50%;
  40.  
  41. @media (max-width: $lg) {
  42. width: 100%;
  43. }
  44. }
  45.  
  46. .articles {
  47. display: flex;
  48. flex-flow: row wrap;
  49. justify-content: space-between;
  50. }
  51.  
  52. .calculator {
  53. height: 464px;
  54. width: calc(50% - 8px);
  55. max-width: 100%;
  56. justify-content: center;
  57. align-items: center;
  58. position: sticky;
  59. top: 100px;
  60. margin-left: 8px;
  61. margin-bottom: 16px;
  62.  
  63. @media (max-width: $lg) {
  64. width: 100%;
  65. margin-left: 0;
  66. }
  67. }
  68.  
  69. .video-wrapper,
  70. .podcasts-wrapper {
  71. position: relative;
  72. height: auto;
  73. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement