homepage.less 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284
  1. .universities {
  2. text-align: center;
  3. .uni-logo {
  4. display: inline-block;
  5. padding: 0 @padding-md;
  6. width: 20%;
  7. }
  8. }
  9. @media only screen and (max-width: @screen-sm-max) {
  10. .universities {
  11. .uni-logo {
  12. padding: @padding-md;
  13. width: 50%;
  14. }
  15. }
  16. }
  17. .website-redesign {
  18. .home-animation-text-container {
  19. padding-top: @header-height;
  20. display: flex;
  21. flex-direction: column;
  22. align-items: center;
  23. .home-begin-text {
  24. font-weight: 400;
  25. display: flex;
  26. color: #5f5ff0;
  27. font-size: 4rem;
  28. line-height: 1.25;
  29. font-family: 'DM Mono', monospace;
  30. align-self: flex-start;
  31. width: 100%;
  32. margin-top: 0;
  33. font-weight: 400;
  34. @media (max-width: @screen-sm-max) {
  35. text-align: center;
  36. flex-direction: column;
  37. align-items: center;
  38. font-size: 2.25rem;
  39. }
  40. }
  41. .home-parenthesis-text {
  42. color: #bbdbb8;
  43. font-size: 4rem;
  44. line-height: 1.25;
  45. display: inherit;
  46. span {
  47. /* specifity workaround, otherwise .website-redesign span would take precedence */
  48. font-family: 'DM Mono', monospace;
  49. }
  50. #home-animation-text {
  51. color: @neutral-70;
  52. }
  53. @media (max-width: @screen-sm-max) {
  54. font-size: 2.25rem;
  55. }
  56. }
  57. }
  58. .home-top-text {
  59. text-align: center;
  60. font-size: 1.25rem;
  61. line-height: 1.4;
  62. margin-bottom: 0;
  63. font-weight: 400;
  64. @media (max-width: @screen-sm-max) {
  65. font-size: 1.125rem;
  66. line-height: 1.33;
  67. padding: 0 100px;
  68. }
  69. @media (max-width: @screen-xs-max) {
  70. padding: 0 20px;
  71. }
  72. // force different line for desktop on both text
  73. > span:first-of-type {
  74. display: block;
  75. @media (max-width: @screen-sm-max) {
  76. display: inline;
  77. }
  78. }
  79. // need to have an extra space only for mobile
  80. // since on mobile all the text are inline
  81. .dash-text {
  82. @media (max-width: @screen-sm-max) {
  83. &::after {
  84. content: ' ';
  85. }
  86. }
  87. }
  88. }
  89. .home-registration {
  90. display: flex;
  91. flex-direction: column;
  92. align-items: center;
  93. margin-top: 20px;
  94. .home-registration-sso {
  95. display: flex;
  96. gap: 16px;
  97. @media (max-width: @screen-sm-max) {
  98. flex-direction: column;
  99. width: 100%;
  100. }
  101. .form-group {
  102. .hp-login-btn {
  103. .login-btn;
  104. width: 100%;
  105. min-width: 220px;
  106. .login-btn-icon {
  107. position: absolute;
  108. left: 6px;
  109. top: 7px;
  110. width: 20px;
  111. height: 20px;
  112. }
  113. }
  114. }
  115. }
  116. .home-registration-separator {
  117. margin: 8px 0;
  118. color: @neutral-90;
  119. > span {
  120. vertical-align: middle;
  121. &::before,
  122. &::after {
  123. content: '';
  124. display: inline-block;
  125. vertical-align: middle;
  126. width: 196px;
  127. height: 1px;
  128. background-color: @neutral-20;
  129. @media (max-width: @screen-sm-max) {
  130. flex-direction: column;
  131. width: 100%;
  132. width: 156px;
  133. }
  134. }
  135. &::before {
  136. margin-right: 20px;
  137. @media (max-width: @screen-sm-max) {
  138. margin-right: 5px;
  139. }
  140. }
  141. &::after {
  142. margin-left: 20px;
  143. @media (max-width: @screen-sm-max) {
  144. margin-left: 5px;
  145. }
  146. }
  147. }
  148. }
  149. .home-registration-password {
  150. display: flex;
  151. flex-direction: column;
  152. .home-registration-password-input {
  153. display: flex;
  154. flex-direction: row;
  155. gap: 16px;
  156. margin-bottom: 0;
  157. }
  158. input {
  159. flex: 1;
  160. }
  161. }
  162. .home-registration-sign-up {
  163. display: block;
  164. margin-top: 16px;
  165. width: 100%;
  166. margin-bottom: 0;
  167. > button {
  168. width: 100%;
  169. }
  170. }
  171. .tos-agreement-notice {
  172. font-size: 0.75rem;
  173. }
  174. }
  175. .home-millions-user-text {
  176. text-align: center;
  177. font-size: 1.25rem;
  178. margin-bottom: 5px;
  179. @media (max-width: @screen-sm-max) {
  180. font-size: 1rem;
  181. }
  182. }
  183. .home-university-logos {
  184. display: flex;
  185. justify-content: space-between;
  186. flex-wrap: wrap;
  187. > img {
  188. max-width: 145px;
  189. }
  190. // 991px
  191. @media (max-width: @screen-sm-max) {
  192. justify-content: center;
  193. gap: 50px;
  194. }
  195. }
  196. .home-templates-button-desktop {
  197. @media (max-width: @screen-sm-max) {
  198. display: none;
  199. }
  200. }
  201. .home-templates-button-mobile {
  202. display: none;
  203. @media (max-width: @screen-sm-max) {
  204. display: block;
  205. }
  206. }
  207. .home-plans-footer {
  208. text-align: center;
  209. font-size: 1.125rem;
  210. line-height: 1.333;
  211. }
  212. #home-features-arrow-green {
  213. position: absolute;
  214. left: 154px;
  215. top: -98px;
  216. @media (max-width: @screen-sm-max) {
  217. height: 100px;
  218. left: 120px;
  219. top: -60px;
  220. }
  221. }
  222. #home-rocket-yellow {
  223. position: absolute;
  224. right: 30px;
  225. @media (max-width: @screen-md-max) {
  226. height: 100px;
  227. right: 30px;
  228. bottom: -84px;
  229. }
  230. @media (max-width: @screen-sm-max) {
  231. height: 70px;
  232. right: 0;
  233. bottom: unset;
  234. top: -79px;
  235. margin-right: 10px;
  236. }
  237. }
  238. }