_home.less 2.0 KB

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