_home.less 2.0 KB

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