homepage.less 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564
  1. @register-v-spacing: 20px;
  2. .deprecated-sl-masthead {
  3. display: inline-block;
  4. margin-top: @header-height;
  5. width: 100%;
  6. text-align: center;
  7. h1 {
  8. font-size: 3.3rem;
  9. line-height: 5rem;
  10. margin-bottom: 0;
  11. margin-top: @line-height-computed;
  12. }
  13. .img {
  14. max-width: 420px;
  15. background-image: url('../../../public/img/ol_plus_sl.png');
  16. background-size: 100%;
  17. background-repeat: no-repeat;
  18. margin: 20px auto 0;
  19. height: 197px;
  20. }
  21. }
  22. .deprecated-sl-login-buttons {
  23. margin: 35px 0;
  24. }
  25. .deprecated-sl-msg {
  26. width: 80%;
  27. margin: 35px auto 0;
  28. }
  29. .deprecated-sl-long-cta {
  30. padding-top: 12.5px;
  31. padding-bottom: 93px;
  32. .card {
  33. margin-top: 12.5px;
  34. min-height: 397px;
  35. }
  36. h3 {
  37. margin-top: 0;
  38. }
  39. }
  40. .masthead {
  41. background-image: -webkit-linear-gradient(
  42. to left,
  43. rgba(79, 156, 69, 1),
  44. rgba(28, 91, 38, 1)
  45. );
  46. background-image: linear-gradient(
  47. to left,
  48. rgba(79, 156, 69, 1),
  49. rgba(28, 91, 38, 1)
  50. );
  51. position: relative;
  52. text-align: center;
  53. overflow: hidden;
  54. padding-top: @header-height;
  55. h1,
  56. p,
  57. label {
  58. color: white;
  59. text-align: center;
  60. }
  61. h1 {
  62. font-size: 4.75rem;
  63. line-height: 6.25rem;
  64. margin-bottom: 0;
  65. margin-top: @line-height-computed;
  66. text-shadow: 0 1px 3px rgba(0, 0, 0, 0.42);
  67. span {
  68. font-family: @font-family-sans-serif;
  69. font-weight: 100;
  70. letter-spacing: 5px;
  71. }
  72. }
  73. p:first-of-type {
  74. font-size: @line-height-computed;
  75. font-weight: 200;
  76. margin-top: 0;
  77. text-rendering: auto;
  78. margin-bottom: @line-height-computed;
  79. }
  80. label {
  81. display: block;
  82. }
  83. .register-banner {
  84. background-image: -webkit-linear-gradient(
  85. top,
  86. rgba(0, 0, 0, 0.7),
  87. rgba(0, 0, 0, 0.9)
  88. );
  89. background-image: linear-gradient(
  90. to bottom,
  91. rgba(0, 0, 0, 0.7),
  92. rgba(0, 0, 0, 0.9)
  93. );
  94. padding: @register-v-spacing 0;
  95. position: absolute;
  96. bottom: 0;
  97. width: 100%;
  98. h2 {
  99. color: white;
  100. margin-top: 0;
  101. font-family: @font-family-sans-serif;
  102. font-weight: 500;
  103. letter-spacing: 1px;
  104. margin-bottom: @register-v-spacing;
  105. }
  106. .form-group {
  107. margin-left: @line-height-computed / 4;
  108. margin-right: @line-height-computed / 4;
  109. }
  110. .input-lg {
  111. border-radius: 9999px;
  112. }
  113. }
  114. .hp-register-password-error {
  115. margin-bottom: 9px;
  116. }
  117. .register-banner__password-error {
  118. padding: 5px 9px;
  119. border: none;
  120. border-radius: @btn-border-radius-base;
  121. }
  122. .screenshot {
  123. height: 600px;
  124. margin: auto;
  125. margin-bottom: -50px;
  126. overflow-y: hidden;
  127. box-shadow: 0 0 50px rgba(0, 0, 0, 0.67);
  128. max-width: 960px;
  129. .img {
  130. max-width: 960px;
  131. background-image: url('../../../public/img/homepage.png');
  132. background-size: 100%;
  133. background-repeat: no-repeat;
  134. margin: auto;
  135. height: 672px;
  136. }
  137. @media only screen and (-webkit-min-device-pixel-ratio: 2),
  138. only screen and (min--moz-device-pixel-ratio: 2),
  139. only screen and (-o-min-device-pixel-ratio: 2/1),
  140. only screen and (min-device-pixel-ratio: 2),
  141. only screen and (min-resolution: 192dpi),
  142. only screen and (min-resolution: 2dppx) {
  143. .img {
  144. background-image: url('../../../public/img/homepage@2x.png');
  145. }
  146. }
  147. }
  148. }
  149. .hp-register-external-separator {
  150. margin: 0 0 (@register-v-spacing / 5);
  151. color: #fff;
  152. }
  153. .hp-register-external-separator-or {
  154. vertical-align: middle;
  155. &::before,
  156. &::after {
  157. content: '';
  158. display: inline-block;
  159. vertical-align: middle;
  160. width: 5em;
  161. height: 1px;
  162. background-color: rgba(255, 255, 255, 0.3);
  163. }
  164. &::before {
  165. margin-right: 1.25em;
  166. }
  167. &::after {
  168. margin-left: 1.25em;
  169. }
  170. }
  171. .hp-register-newsletter-checkbox {
  172. font-size: 90%;
  173. & > .checkbox-newsletter {
  174. text-align: left;
  175. @media only screen and (min-width: @screen-sm-min) {
  176. text-align: center;
  177. }
  178. }
  179. }
  180. .hp-login-btn {
  181. .login-btn;
  182. min-width: 220px;
  183. }
  184. .hp-login-btn-large {
  185. .hp-login-btn;
  186. min-width: 256px;
  187. padding-left: 30px;
  188. font-size: 20px;
  189. }
  190. .hp-login-btn-icon-large {
  191. .login-btn-icon;
  192. width: 32px;
  193. height: 32px;
  194. }
  195. .hp-register-form-email-pwd {
  196. position: relative;
  197. }
  198. .hp-register-form-email-pwd-btn-container.form-group {
  199. display: block;
  200. margin-top: (@register-v-spacing / 2);
  201. @media only screen and (min-width: @screen-md-min) {
  202. position: absolute;
  203. display: inline-block;
  204. height: 100%;
  205. top: -(@register-v-spacing / 2);
  206. & > .btn-hero {
  207. height: 100%;
  208. }
  209. }
  210. }
  211. .sign-up-home-page {
  212. display: flex;
  213. justify-content: space-evenly;
  214. align-items: center;
  215. }
  216. .sign-up-btn {
  217. display: flex;
  218. align-items: center;
  219. }
  220. .universities-container {
  221. border-bottom: 1px solid @gray-lighter;
  222. }
  223. .universities {
  224. text-align: center;
  225. .uni-logo {
  226. display: inline-block;
  227. padding: 0 @padding-md;
  228. width: 20%;
  229. }
  230. }
  231. .pattern-container {
  232. background: url('../../../public/img/pattern-home.png') repeat #f1f1f1;
  233. border-top: 1px solid @gray-lightest;
  234. border-bottom: 1px solid @gray-lightest;
  235. }
  236. .pattern-grid {
  237. background: url('../../../public/img/grid.png') repeat @content-alt-bg-color;
  238. border-top: 1px solid @gray-lighter;
  239. border-bottom: 1px solid @gray-lighter;
  240. }
  241. .real-time-example {
  242. .cursor {
  243. background-color: hsl(200, 70%, 70%);
  244. display: inline-block;
  245. width: 2px;
  246. color: transparent;
  247. line-height: 1.4;
  248. position: relative;
  249. &:after {
  250. content: 'Joe';
  251. top: 22px;
  252. right: 0;
  253. position: absolute;
  254. display: block;
  255. background-color: hsl(200, 70%, 70%);
  256. padding: (@line-height-computed / 4) (@line-height-computed / 2);
  257. font-size: 0.8rem;
  258. z-index: 100;
  259. font-family: @font-family-sans-serif;
  260. color: white;
  261. font-weight: 700;
  262. }
  263. }
  264. }
  265. .track-changes-example {
  266. .removed,
  267. .added {
  268. color: #333;
  269. margin: 0 -1px;
  270. padding: 0 3px;
  271. }
  272. .added {
  273. background-color: hsl(200, 70%, 80%);
  274. }
  275. .removed {
  276. background-color: hsl(200, 70%, 95%);
  277. position: relative;
  278. &:after {
  279. content: ' ';
  280. position: absolute;
  281. top: 50%;
  282. left: 0;
  283. right: 0;
  284. border-top: 1px solid hsl(200, 70%, 40%);
  285. }
  286. }
  287. }
  288. .real-time-example-code {
  289. border-radius: 3px;
  290. border-left: 42px solid @gray-lighter;
  291. background-color: white;
  292. padding: 12px;
  293. font-family: @font-family-monospace;
  294. .highlight {
  295. color: @blue;
  296. }
  297. box-shadow: 0 3px 5px rgba(0, 0, 0, 0.3);
  298. }
  299. @media only screen and (max-width: @screen-sm-max) {
  300. .doc-history-example {
  301. margin-bottom: @margin-md;
  302. }
  303. .universities {
  304. .uni-logo {
  305. padding: @padding-md;
  306. width: 50%;
  307. }
  308. }
  309. }
  310. .website-redesign {
  311. .home-animation-text-container {
  312. padding-top: @header-height;
  313. display: flex;
  314. flex-direction: column;
  315. align-items: center;
  316. .home-begin-text {
  317. font-weight: 400;
  318. display: flex;
  319. color: #5f5ff0;
  320. font-size: 4rem;
  321. line-height: 1.25;
  322. font-family: 'DM Mono', monospace;
  323. align-self: flex-start;
  324. width: 100%;
  325. margin-top: 0;
  326. font-weight: 400;
  327. @media (max-width: @screen-sm-max) {
  328. text-align: center;
  329. flex-direction: column;
  330. align-items: center;
  331. font-size: 2.25rem;
  332. }
  333. }
  334. .home-parenthesis-text {
  335. color: #bbdbb8;
  336. font-size: 4rem;
  337. line-height: 1.25;
  338. font-family: 'DM Mono', monospace;
  339. display: inherit;
  340. #home-animation-text {
  341. font-family: 'DM Mono', monospace;
  342. color: @neutral-70;
  343. }
  344. @media (max-width: @screen-sm-max) {
  345. font-size: 2.25rem;
  346. }
  347. }
  348. }
  349. .home-top-text {
  350. text-align: center;
  351. font-size: 1.25rem;
  352. line-height: 1.4;
  353. margin-bottom: 0;
  354. @media (max-width: @screen-sm-max) {
  355. font-size: 1.125rem;
  356. line-height: 1.33;
  357. padding: 0 100px;
  358. }
  359. @media (max-width: @screen-xs-max) {
  360. padding: 0 20px;
  361. }
  362. // force different line for desktop on both text
  363. > span:first-of-type {
  364. display: block;
  365. @media (max-width: @screen-sm-max) {
  366. display: inline;
  367. }
  368. }
  369. // need to have an extra space only for mobile
  370. // since on mobile all the text are inline
  371. .dash-text {
  372. @media (max-width: @screen-sm-max) {
  373. &::after {
  374. content: ' ';
  375. }
  376. }
  377. }
  378. }
  379. .home-registration {
  380. display: flex;
  381. flex-direction: column;
  382. align-items: center;
  383. margin-top: 20px;
  384. .home-registration-sso {
  385. display: flex;
  386. gap: 16px;
  387. @media (max-width: @screen-sm-max) {
  388. flex-direction: column;
  389. width: 100%;
  390. }
  391. .form-group {
  392. .hp-login-btn {
  393. width: 100%;
  394. }
  395. }
  396. }
  397. .home-registration-separator {
  398. margin: 8px 0;
  399. color: @neutral-90;
  400. > span {
  401. vertical-align: middle;
  402. &::before,
  403. &::after {
  404. content: '';
  405. display: inline-block;
  406. vertical-align: middle;
  407. width: 196px;
  408. height: 1px;
  409. background-color: @neutral-20;
  410. @media (max-width: @screen-sm-max) {
  411. flex-direction: column;
  412. width: 100%;
  413. width: 156px;
  414. }
  415. }
  416. &::before {
  417. margin-right: 20px;
  418. @media (max-width: @screen-sm-max) {
  419. margin-right: 5px;
  420. }
  421. }
  422. &::after {
  423. margin-left: 20px;
  424. @media (max-width: @screen-sm-max) {
  425. margin-left: 5px;
  426. }
  427. }
  428. }
  429. }
  430. .home-registration-password {
  431. display: flex;
  432. flex-direction: column;
  433. .home-registration-password-input {
  434. display: flex;
  435. flex-direction: row;
  436. gap: 16px;
  437. margin-bottom: 0;
  438. }
  439. }
  440. .home-registration-sign-up {
  441. display: block;
  442. margin-top: 16px;
  443. width: 100%;
  444. margin-bottom: 0;
  445. > button {
  446. width: 100%;
  447. }
  448. }
  449. .tos-agreement-notice {
  450. font-size: 0.75rem;
  451. a {
  452. color: @green-60;
  453. text-decoration: underline;
  454. font-weight: 400;
  455. }
  456. }
  457. }
  458. .home-register-newsletter-checkbox {
  459. font-size: 0.75rem;
  460. margin-top: 10px;
  461. text-align: center;
  462. input[type='checkbox'] {
  463. margin-top: 2px;
  464. }
  465. }
  466. .home-millions-user-text {
  467. text-align: center;
  468. font-size: 1.25rem;
  469. margin-bottom: 5px;
  470. @media (max-width: @screen-sm-max) {
  471. font-size: 1rem;
  472. }
  473. }
  474. .home-university-logos {
  475. display: flex;
  476. justify-content: space-between;
  477. flex-wrap: wrap;
  478. > img {
  479. max-width: 145px;
  480. }
  481. // 991px
  482. @media (max-width: @screen-sm-max) {
  483. justify-content: center;
  484. gap: 50px;
  485. }
  486. }
  487. .home-templates-button-desktop {
  488. @media (max-width: @screen-sm-max) {
  489. display: none;
  490. }
  491. }
  492. .home-templates-button-mobile {
  493. display: none;
  494. @media (max-width: @screen-sm-max) {
  495. display: block;
  496. }
  497. }
  498. .home-plans-footer {
  499. text-align: center;
  500. font-size: 1.125rem;
  501. line-height: 1.333;
  502. }
  503. }