Advertisement
dfghgfhplkjbv

src/components/Home/Home.module.scss

Feb 21st, 2019
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.16 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. margin-top: -150px;
  34. @media (max-width: $lg) {
  35. display: block;
  36. }
  37. }
  38.  
  39. .interviewsWrapper {
  40. width: 50%;
  41.  
  42. @media (max-width: $lg) {
  43. width: 100%;
  44. }
  45. }
  46.  
  47. .articles {
  48. display: flex;
  49. flex-flow: row wrap;
  50. justify-content: space-between;
  51. }
  52.  
  53. .calculator {
  54. height: 464px;
  55. width: calc(50% - 8px);
  56. max-width: 100%;
  57. justify-content: center;
  58. align-items: center;
  59. position: sticky;
  60. top: 100px;
  61. margin-left: 8px;
  62. margin-bottom: 16px;
  63.  
  64. @media (max-width: $lg) {
  65. width: 100%;
  66. margin-left: 0;
  67. }
  68. }
  69.  
  70. .video-wrapper,
  71. .podcasts-wrapper {
  72. position: relative;
  73. height: auto;
  74. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement