Advertisement
dfghgfhplkjbv

src/components/SingleJob/SingleJob.module.scss

Feb 27th, 2019
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.03 KB | None | 0 0
  1. @import 'src/styles/utility';
  2.  
  3. .root {
  4. @include container;
  5. align-items: center;
  6. }
  7.  
  8. .inner {
  9. margin-top: 40px;
  10. display: flex;
  11.  
  12. @media (max-width: $lg) {
  13. flex-direction: column;
  14. }
  15. }
  16.  
  17. .content {
  18. margin-right: 40px;
  19.  
  20. @media (max-width: 1024px) {
  21. margin-right: 20px;
  22. }
  23.  
  24. @media (max-width: $lg) {
  25. margin-right: 0;
  26. }
  27. }
  28.  
  29. .ad {
  30. flex-basis: 30%;
  31. max-width: 100%;
  32. width: 390px;
  33.  
  34. img {
  35. display: block;
  36. position: sticky;
  37. top: 0;
  38. height: auto;
  39. max-width: 100%;
  40. }
  41.  
  42. // @media (max-width: $container) {
  43. // flex-basis: 70%;
  44. // padding-bottom: 40px;
  45. // }
  46.  
  47. @media (max-width: $lg) {
  48. flex-basis: 100%;
  49. width: 100%;
  50. }
  51. }
  52.  
  53. .respond {
  54. overflow: visible;
  55. width: 100%;
  56. background-color: #00dc85;
  57. border: none;
  58. overflow: visible;
  59. padding: 0;
  60. height: 60px;
  61. color: #fff;
  62. font-size: 1.125rem;
  63. font-weight: bold;
  64. margin: 0 auto;
  65. cursor: pointer;
  66. margin-bottom: 20px;
  67. position: sticky;
  68. top: 16px;
  69. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement