_home.less 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. .home {
  2. padding-bottom: @footer-margin * 2;
  3. .logo {
  4. margin-bottom: @20;
  5. }
  6. .hero {
  7. h1 {
  8. font-size: 3em;
  9. font-weight: 400;
  10. }
  11. h2 {
  12. margin-top: 0;
  13. font-size: 1.7em;
  14. }
  15. }
  16. }
  17. .prompt {
  18. &.box {
  19. border-radius: 10px !important;
  20. padding: 50px;
  21. margin-top: 30px !important;
  22. }
  23. }
  24. .signup {
  25. padding-top: @15;
  26. padding-bottom: @footer-margin * 2;
  27. }
  28. .home-main {
  29. p {
  30. font-size: 16px;
  31. color: #586069;
  32. }
  33. .ui.icon.header {
  34. font-weight: 400;
  35. }
  36. &.bg {
  37. background-image: linear-gradient(180deg, rgba(255,255,255,0) 50%, #fff),linear-gradient(70deg, #cde7ff 32%, #d3ffdd);
  38. }
  39. .align {
  40. margin-top: 1em;
  41. }
  42. .desc {
  43. padding-right: 29em;
  44. font-size: 1.2em;
  45. font-weight: 500;
  46. }
  47. &.btn {
  48. &.home {
  49. margin-top: 30px;
  50. margin-right: 8px;
  51. }
  52. &.register {
  53. background: #21ba45 !important;
  54. border-radius: 2em !important;
  55. height: 2.5em;
  56. text-transform: uppercase;
  57. font-size: 12px;
  58. letter-spacing: 0.03em;
  59. &:hover {
  60. color: #f5f5f5 !important;
  61. }
  62. }
  63. &.signin {
  64. text-transform: uppercase;
  65. font-size: 12px;
  66. letter-spacing: 0.03em;
  67. }
  68. }
  69. &.prompt {
  70. background-image: url(https://gitote-cdn.netlify.com/img/pattern.svg);
  71. background-position: center 30%;
  72. background-size: 25% auto;
  73. background-color: #f3f3f3;
  74. padding-top: @25;
  75. padding-bottom: 12px;
  76. }
  77. &.padding {
  78. padding-top: 4em;
  79. padding-bottom: 4em;
  80. }
  81. &.getstarted {
  82. background: @primary !important;
  83. h1 {
  84. color: @white-100;
  85. font-weight: 400;
  86. padding-top: 1em;
  87. padding-bottom: 1em;
  88. }
  89. }
  90. &.gradient-bg {
  91. background-image: linear-gradient(180deg,hsla(0,0%,100%,0) 50%,#fff),linear-gradient(70deg,#eaf5ff 32%,#f6fff8);
  92. }
  93. }
  94. .home-head {
  95. padding-top: 6.9em !important;
  96. padding-bottom: 6.9em !important;
  97. }
  98. // Mobile
  99. @media (max-width: 1020px) {
  100. .home-main {
  101. .desc, &.prompt {
  102. display: none !important;
  103. }
  104. &.mobile {
  105. text-align: center !important;
  106. }
  107. }
  108. }