Advertisement
dfghgfhplkjbv

src/components/Ad/Ad.module.scss

Feb 27th, 2019
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.49 KB | None | 0 0
  1. @import 'src/styles/utility';
  2.  
  3. .root {
  4. display: flex;
  5. align-items: center;
  6. justify-content: center;
  7. // border-image: linear-gradient(to right, #9143fd 100%, #00d280 0);
  8. // border-image-slice: 1;
  9. // border: solid 4px transparent;
  10. // border-image: linear-gradient(#9143fd, #00d280);
  11. // border-image-slice: 1;
  12. // background: linear-gradient(#9143fd, #00d280);
  13. // -webkit-background-clip: text;
  14. // background-clip: text;
  15. // text-fill-color: transparent;
  16. // background: #fff;
  17. width: 100%;
  18. height: 464px;
  19. font-size: 1.5rem;
  20. font-weight: bold;
  21. text-transform: uppercase;
  22. position: sticky;
  23. top: 16px;
  24.  
  25. @media (max-width: $xl) {
  26. margin-bottom: 2rem;
  27. width: 100%;
  28. }
  29. @media (max-width: $sm) {
  30. margin: 0 auto 2rem;
  31. }
  32. }
  33.  
  34. .wrapper-link {
  35. display: block;
  36. height: 100%;
  37. text-decoration: none;
  38. cursor: pointer;
  39. width: 100%;
  40. }
  41.  
  42. .slide {
  43. background: linear-gradient(#9143fd, #00d280);
  44. width: 100% !important;
  45. height: 100%;
  46. color: white;
  47. padding: 40px;
  48. box-sizing: border-box;
  49. display: flex;
  50. align-items: center;
  51.  
  52. @media (max-width: $sm) {
  53. padding: 20px;
  54. }
  55. }
  56.  
  57. .title {
  58. text-transform: uppercase;
  59. background: transparent;
  60. width: 100%;
  61. height: 100%;
  62. position: absolute;
  63. z-index: 100;
  64. pointer-events: none;
  65.  
  66. span {
  67. position: absolute;
  68. bottom: 32px;
  69. left: 50%;
  70. transform: translateX(-50%);
  71. color: #fff;
  72. }
  73. }
  74.  
  75. .isInSingleJob {
  76. top: 100px;
  77. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement