website-redesign.less 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900
  1. .website-redesign {
  2. // hero section of features, enterprises, and universities will have an image that will overflow the page
  3. overflow-x: hidden;
  4. p,
  5. h1,
  6. h2,
  7. h3,
  8. h4,
  9. a,
  10. strong,
  11. span {
  12. font-family: 'Noto Sans', sans-serif;
  13. }
  14. h1 {
  15. font-size: 3rem;
  16. font-weight: 600;
  17. line-height: 4rem;
  18. }
  19. h2 {
  20. font-weight: 600;
  21. font-size: 2.25rem;
  22. line-height: 1.333;
  23. margin-top: 0;
  24. @media (max-width: @screen-sm-max) {
  25. font-size: 1.875rem;
  26. }
  27. }
  28. h3 {
  29. font-weight: 600;
  30. }
  31. h1,
  32. h2,
  33. h3 {
  34. > span.mono-text {
  35. display: block;
  36. margin-bottom: @margin-xs;
  37. }
  38. }
  39. // override .btn default style
  40. .btn {
  41. font-weight: 600;
  42. }
  43. .img-rounded {
  44. // TODO: design specifies 'border-radius-large' which is 5px, but uses 16px
  45. border-radius: 16px;
  46. }
  47. .plans-cards {
  48. @media (min-width: @screen-md-min) {
  49. display: flex; /* equal heights */
  50. flex-wrap: wrap;
  51. }
  52. .plans-card-container {
  53. min-height: 348px;
  54. @media (max-width: @screen-sm-max) {
  55. margin-bottom: 16px;
  56. min-height: unset;
  57. }
  58. }
  59. .plans-card {
  60. border-radius: 8px;
  61. padding: 0;
  62. height: 100%;
  63. .plans-card-inner {
  64. padding: 36px;
  65. height: 100%;
  66. display: flex;
  67. flex-direction: column;
  68. font-size: 16px;
  69. .plans-card-inner-title {
  70. font-size: 20px;
  71. font-weight: 600;
  72. margin-top: 0;
  73. }
  74. ul {
  75. list-style-type: none;
  76. padding: 0;
  77. margin: 0;
  78. li {
  79. margin-bottom: 8px;
  80. }
  81. }
  82. .plans-card-inner-footer {
  83. margin-top: auto;
  84. display: flex;
  85. flex-direction: column;
  86. gap: 12px;
  87. @media (max-width: @screen-sm-max) {
  88. margin-top: 16px;
  89. }
  90. }
  91. }
  92. &.grey-border {
  93. border: 2px solid var(--neutral-20);
  94. }
  95. &.blue-border {
  96. border: solid 2px var(--sapphire-blue);
  97. border-radius: 8px;
  98. .plans-card-inner-title {
  99. color: var(--sapphire-blue);
  100. }
  101. }
  102. }
  103. }
  104. .plans-bottom-text {
  105. font-size: 1.125rem;
  106. }
  107. .info-cards {
  108. @media (min-width: @screen-md-min) {
  109. display: flex; /* equal heights */
  110. flex-wrap: wrap;
  111. }
  112. .info-card-container {
  113. margin-bottom: 16px;
  114. .info-card {
  115. border-radius: 8px;
  116. height: 100%;
  117. box-shadow: 0px 2px 4px 0px #1e253014, 0px 4px 12px 0px #1e25301f;
  118. border-top: 8px solid var(--sapphire-blue);
  119. padding: 32px 40px 32px 40px;
  120. &.info-card-big-text {
  121. h3 {
  122. font-size: 1.5rem;
  123. line-height: 1.333;
  124. }
  125. p {
  126. font-size: 1.125rem;
  127. line-height: 1.333;
  128. }
  129. }
  130. i.material-symbols {
  131. color: var(--sapphire-blue);
  132. }
  133. }
  134. }
  135. }
  136. .security-heading-section {
  137. @media (max-width: @screen-sm-max) {
  138. p {
  139. text-align: left;
  140. }
  141. h2 {
  142. width: 100%;
  143. text-align: left;
  144. }
  145. }
  146. .heading-and-stickers-container {
  147. display: flex;
  148. justify-content: center;
  149. .lock-sticker {
  150. width: 70px;
  151. position: absolute;
  152. top: -95px;
  153. right: -90px;
  154. @media (max-width: @screen-lg) {
  155. right: -145px;
  156. }
  157. @media (max-width: @screen-sm-max) {
  158. display: none;
  159. }
  160. }
  161. .arrow-sticker {
  162. width: 140px;
  163. position: absolute;
  164. top: -50px;
  165. right: -55px;
  166. @media (max-width: @screen-lg) {
  167. right: -110px;
  168. }
  169. @media (max-width: @screen-sm-max) {
  170. display: none;
  171. }
  172. }
  173. }
  174. }
  175. .features-card {
  176. display: flex; /* equal heights */
  177. flex-wrap: wrap;
  178. align-items: center;
  179. .features-card-image {
  180. img.img-responsive {
  181. width: 100%;
  182. }
  183. @media (max-width: @screen-sm-max) {
  184. margin-bottom: 50px;
  185. }
  186. }
  187. .features-card-video {
  188. display: flex;
  189. justify-content: center;
  190. video {
  191. box-shadow: 0px 4px 6px 0px rgba(30, 37, 48, 0.12),
  192. 0px 8px 16px 0px rgba(30, 37, 48, 0.12);
  193. max-height: 100%;
  194. width: auto;
  195. width: 100%;
  196. }
  197. video.video-w-md-90 {
  198. width: 90%;
  199. @media (max-width: @screen-sm-max) {
  200. width: 100%;
  201. }
  202. }
  203. @media (max-width: @screen-sm-max) {
  204. margin-bottom: 50px;
  205. }
  206. }
  207. .features-card-description,
  208. .features-card-description-list {
  209. padding-top: 16px;
  210. p {
  211. margin-bottom: 16px;
  212. font-size: 1.125rem;
  213. line-height: 1.333;
  214. @media (max-width: @screen-sm-max) {
  215. font-size: 1rem;
  216. line-height: 1.375;
  217. }
  218. }
  219. a.green-link {
  220. margin-top: 4px;
  221. display: block;
  222. }
  223. ul {
  224. list-style-type: none;
  225. padding: 0;
  226. margin: 0;
  227. li {
  228. margin-bottom: 12px;
  229. font-size: 1.125rem;
  230. line-height: 1.333;
  231. // flex is needed in the case of "premium" label being on the same line
  232. display: flex;
  233. @media (max-width: @screen-sm-max) {
  234. font-size: 1rem;
  235. line-height: 1.375;
  236. // only for label-premium that appears directly as a child of li
  237. > .label-premium {
  238. margin-left: auto;
  239. align-self: center;
  240. }
  241. }
  242. h4 {
  243. margin-top: 0;
  244. margin-bottom: 8px;
  245. font-size: 20px;
  246. font-weight: 600;
  247. }
  248. p {
  249. margin-bottom: 0;
  250. }
  251. }
  252. }
  253. }
  254. .features-card-description {
  255. h3 {
  256. font-size: 1.5rem;
  257. line-height: 1.4;
  258. margin-bottom: 8px;
  259. }
  260. }
  261. .features-card-description-list {
  262. h3 {
  263. font-size: 1.875rem;
  264. line-height: 1.5;
  265. }
  266. }
  267. }
  268. .features-card-hero {
  269. /* borrow from features-card, but rewrite if needed before adding too many overrides */
  270. .features-card;
  271. position: relative;
  272. height: 655px;
  273. padding-top: @line-height-computed * 2;
  274. @media (max-width: @screen-sm-max) {
  275. height: unset;
  276. padding-top: 0;
  277. }
  278. .features-card-description {
  279. display: flex;
  280. flex-direction: column;
  281. justify-content: center;
  282. h1 {
  283. @media (max-width: @screen-sm-max) {
  284. font-size: 2.25rem;
  285. line-height: 1.333;
  286. }
  287. &.features-card-hero-smaller-title {
  288. @media (min-width: @screen-lg-min) {
  289. // 3rem is the default, this is a workaround for big screen
  290. // since 6-width column on md screen size will wrap the text in three lines
  291. font-size: 2.8rem;
  292. }
  293. }
  294. }
  295. p {
  296. font-size: 1.25rem;
  297. width: 90%;
  298. @media (max-width: @screen-sm-max) {
  299. font-size: 1.125rem;
  300. line-height: 1.33;
  301. width: unset;
  302. }
  303. }
  304. }
  305. .features-card-image {
  306. position: absolute;
  307. // on wide screen, image will be fixed without any variable width translation
  308. transform: translateX(600px);
  309. top: 100px;
  310. width: 720px;
  311. height: auto;
  312. padding: 0;
  313. // starting from 1500px, image will have a variable translation that depends on screen width
  314. // this will make image "fixed" on a specific point on the screen
  315. @media (max-width: 1500px) {
  316. transform: translateX(calc(50vw - 121px));
  317. }
  318. @media (max-width: 1400px) {
  319. width: 650px;
  320. transform: translateX(calc(50vw - 52px));
  321. }
  322. // bootstrap layout changes on 1200px (@screen-lg), add a specific
  323. // case for this exact width
  324. @media (min-width: 1200px) and (max-width: 1200px) {
  325. width: 600px;
  326. transform: translateX(calc(50vw));
  327. }
  328. @media (max-width: 1199px) {
  329. width: 600px;
  330. transform: translateX(calc(50vw - 106px));
  331. }
  332. @media (max-width: 1100px) {
  333. width: 550px;
  334. transform: translateX(calc(50vw - 55px));
  335. }
  336. // 991px
  337. @media (max-width: @screen-sm-max) {
  338. position: relative;
  339. transform: none;
  340. top: 0;
  341. width: 100%;
  342. margin-bottom: 50px;
  343. }
  344. img.img-responsive {
  345. width: 100%;
  346. }
  347. }
  348. .sticky-tags {
  349. position: absolute;
  350. z-index: 2;
  351. height: 160px;
  352. bottom: -105px;
  353. right: 55px;
  354. @media (max-width: 1400px) {
  355. height: 150px;
  356. bottom: -103px;
  357. right: 47px;
  358. }
  359. @media (max-width: 1200px) {
  360. height: 130px;
  361. bottom: -87px;
  362. }
  363. @media (max-width: 1100px) {
  364. height: 120px;
  365. bottom: -81px;
  366. }
  367. // 991px
  368. @media (max-width: @screen-sm-max) {
  369. height: 130px;
  370. bottom: -75px;
  371. right: 70px;
  372. }
  373. // 767px
  374. @media (max-width: @screen-xs-max) {
  375. height: 24%;
  376. bottom: -10vw; // scale with width
  377. right: 9.5vw; // scale with width
  378. }
  379. }
  380. }
  381. .collaboration-logos-container {
  382. display: flex;
  383. flex-wrap: wrap;
  384. justify-content: space-evenly;
  385. @media (max-width: @screen-sm-max) {
  386. display: grid;
  387. grid-template-columns: repeat(2, 1fr);
  388. gap: 10px;
  389. justify-items: center;
  390. }
  391. .enterprise-logo {
  392. display: inline-block;
  393. padding: 0 @padding-md;
  394. height: 35px;
  395. @media (max-width: @screen-sm-max) {
  396. margin-top: @margin-md;
  397. }
  398. }
  399. .logo-height-45 {
  400. height: 45px;
  401. }
  402. }
  403. .top-image-cards {
  404. .top-image-card {
  405. > img.img-responsive {
  406. width: 100%;
  407. border-radius: 8px;
  408. }
  409. .top-image-card-title {
  410. font-size: 24px;
  411. margin-top: 16px;
  412. margin-bottom: 8px;
  413. a {
  414. width: 100%;
  415. font-weight: 600;
  416. color: var(--neutral-90);
  417. display: inline-flex;
  418. justify-content: space-between;
  419. text-decoration: none;
  420. }
  421. i.material-symbols-rounded {
  422. vertical-align: middle;
  423. text-decoration: none;
  424. }
  425. }
  426. .top-image-card-text {
  427. font-size: 16px;
  428. }
  429. &:not(:last-of-type) {
  430. @media (max-width: @screen-sm-max) {
  431. margin-bottom: 40px;
  432. }
  433. }
  434. }
  435. }
  436. .cta-card {
  437. display: flex;
  438. flex-direction: column;
  439. align-items: center;
  440. padding: 64px;
  441. background: var(--dark-jungle-green);
  442. color: var(--white);
  443. border-radius: 8px;
  444. @media (max-width: @screen-sm-max) {
  445. padding: 48px 24px 48px 24px;
  446. }
  447. .cta-card-title {
  448. font-size: 3.25rem; // 52px
  449. margin-bottom: 8px;
  450. line-height: 1.3;
  451. &.title-mono {
  452. > span {
  453. // override Noto Sans
  454. font-family: 'DM Mono', monospace;
  455. }
  456. }
  457. span.purple-color {
  458. color: #939aff;
  459. font-weight: 400;
  460. }
  461. span.lime-color {
  462. font-weight: 500;
  463. color: var(--malachite);
  464. }
  465. @media (max-width: @screen-sm-max) {
  466. font-size: 2.25rem; // 36px
  467. }
  468. }
  469. .cta-card-text {
  470. font-size: 1.125rem;
  471. line-height: 1.333;
  472. margin: 8px 0;
  473. text-align: center;
  474. }
  475. .cta-card-quote {
  476. font-size: 1.875rem; // 30px
  477. font-weight: 600;
  478. line-height: 2.5rem; // 40px
  479. letter-spacing: 0em;
  480. text-align: center;
  481. }
  482. }
  483. .quote-card {
  484. display: flex;
  485. flex-direction: column;
  486. align-items: center;
  487. padding: 32px;
  488. background: var(--deep-green);
  489. color: white;
  490. border-radius: 16px;
  491. text-align: center;
  492. blockquote {
  493. font-size: 1.875rem; // 30px
  494. font-weight: 600;
  495. line-height: 1.26;
  496. @media (max-width: @screen-sm-max) {
  497. font-size: 1.5rem; // 24px
  498. line-height: 1.333;
  499. }
  500. }
  501. .quote-card-img {
  502. margin-top: 32px;
  503. margin-bottom: 16px;
  504. }
  505. @media (max-width: @screen-sm-max) {
  506. padding: 56px 24px 56px 24px;
  507. }
  508. }
  509. .integrations-card {
  510. .integrations-icons {
  511. img {
  512. width: 6rem; // 96px
  513. height: 6rem; // 96px
  514. }
  515. .first-row,
  516. .second-row {
  517. display: flex;
  518. }
  519. .first-row {
  520. justify-content: space-between;
  521. }
  522. .second-row {
  523. margin-top: 40px;
  524. justify-content: space-evenly;
  525. }
  526. }
  527. }
  528. .text-with-bg {
  529. font-family: 'DM Mono', monospace;
  530. font-feature-settings: 'ss05';
  531. padding: 0 @padding-sm;
  532. margin: 0 6px;
  533. border-radius: 10px;
  534. margin-top: 5px;
  535. // will make all spans content inline while avoiding overflowing the viewport in mobile
  536. // https://developer.mozilla.org/en-US/docs/Web/CSS/display#flow-root
  537. // https://css-tricks.com/display-flow-root/
  538. display: inline flow-root;
  539. &.tangerine-bg {
  540. background-color: var(--vivid-tangerine);
  541. }
  542. &.purple-bg {
  543. background-color: var(--ceil);
  544. }
  545. &.yellow-bg {
  546. background-color: var(--caramel);
  547. }
  548. }
  549. .security-info {
  550. .security-info-first-row {
  551. margin-bottom: 32px;
  552. @media (max-width: @screen-sm-max) {
  553. margin-bottom: 0;
  554. }
  555. }
  556. .security-info-item {
  557. @media (max-width: @screen-sm-max) {
  558. margin-bottom: 16px;
  559. }
  560. }
  561. }
  562. .resources {
  563. @media (min-width: @screen-md-min) {
  564. display: flex; /* equal heights */
  565. flex-wrap: wrap;
  566. }
  567. .resources-card {
  568. display: flex;
  569. flex-wrap: wrap;
  570. flex-direction: column;
  571. margin-bottom: 48px;
  572. align-content: flex-start;
  573. @media (max-width: @screen-sm-max) {
  574. margin-bottom: 16px;
  575. }
  576. img {
  577. width: 56px;
  578. }
  579. h3 {
  580. width: 100%;
  581. }
  582. a {
  583. margin-top: auto;
  584. }
  585. }
  586. }
  587. .centered-block {
  588. @media (min-width: @screen-md-min) {
  589. text-align: center;
  590. }
  591. }
  592. .mono-text {
  593. font-family: 'DM Mono', monospace;
  594. color: var(--green-60);
  595. font-feature-settings: 'ss05';
  596. font-size: 1.125rem;
  597. font-weight: 500;
  598. line-height: 1.5rem;
  599. margin: 0;
  600. }
  601. .link-with-arrow {
  602. font-size: 1.125rem;
  603. line-height: 1.333;
  604. font-family: 'DM Mono', monospace;
  605. font-feature-settings: 'ss05';
  606. font-weight: 500;
  607. i.material-symbols-rounded {
  608. vertical-align: middle;
  609. padding-bottom: 3px;
  610. font-size: 24px;
  611. }
  612. }
  613. .green-link {
  614. .link-with-arrow;
  615. color: var(--emerald-green);
  616. &:hover {
  617. color: var(--green-60);
  618. .right-arrow {
  619. background: var(--green-60);
  620. }
  621. }
  622. }
  623. .inline-green-link {
  624. color: var(--green-50);
  625. text-decoration: underline;
  626. }
  627. .white-link {
  628. .link-with-arrow;
  629. color: white;
  630. }
  631. .btn-blue {
  632. background: var(--sapphire-blue);
  633. color: var(--white);
  634. &:hover {
  635. background: var(--sapphire-blue-dark);
  636. }
  637. }
  638. .round-background {
  639. border-radius: 50%;
  640. font-size: 1.5rem;
  641. top: 4px;
  642. vertical-align: middle;
  643. margin-right: 8px;
  644. width: 24px;
  645. height: 24px;
  646. }
  647. .green-round-background {
  648. .round-background;
  649. background: var(--mint-green);
  650. color: var(--deep-green);
  651. }
  652. .blue-round-background {
  653. .round-background;
  654. background: var(--blue-10);
  655. color: var(--blue-40);
  656. }
  657. // most of these are here to replace rules from core/type.less
  658. blockquote {
  659. border-left: none;
  660. font-size: 1.875rem;
  661. line-height: 1.333;
  662. font-weight: 600;
  663. quotes: '\201C''\201D'; // override default quotes
  664. padding: unset;
  665. margin: unset;
  666. font-family: 'Noto Sans', sans-serif;
  667. &::after {
  668. visibility: visible;
  669. display: inline;
  670. margin-left: 1px; // it's too tight to the text otherwise
  671. }
  672. &::before {
  673. color: inherit;
  674. margin-right: 0;
  675. vertical-align: 0;
  676. }
  677. &::after,
  678. &::before {
  679. font-size: 1.875rem;
  680. line-height: 1.333;
  681. }
  682. @media (max-width: @screen-sm-max) {
  683. font-size: 1.5rem;
  684. line-height: 1.333;
  685. &::after,
  686. &::before {
  687. visibility: visible;
  688. font-size: 1.5rem;
  689. line-height: 1.333;
  690. }
  691. }
  692. }
  693. .circle-img {
  694. height: 64px;
  695. max-width: 64px;
  696. }
  697. .premium-badge {
  698. .premium-badge-img {
  699. margin-left: 10px;
  700. }
  701. @media (max-width: @screen-xs-max) {
  702. display: flex;
  703. .premium-badge-img {
  704. width: 87px;
  705. margin-left: auto;
  706. }
  707. }
  708. }
  709. .responsive-button-container {
  710. display: flex;
  711. margin-top: 24px;
  712. gap: 16px;
  713. &.centered-buttons {
  714. justify-content: center;
  715. }
  716. @media (max-width: @screen-sm-max) {
  717. flex-direction: column-reverse;
  718. width: 100%;
  719. }
  720. }
  721. .label-premium {
  722. height: 20px; // override default height
  723. }
  724. .header-description {
  725. p {
  726. font-size: 1.25rem;
  727. line-height: 1.4;
  728. margin-bottom: 0;
  729. @media (max-width: @screen-sm-max) {
  730. font-size: 1.125rem;
  731. line-height: 1.33;
  732. }
  733. }
  734. }
  735. .editor-pdf-video {
  736. display: flex;
  737. align-items: center;
  738. justify-content: center;
  739. height: 585px;
  740. @media (max-width: @screen-sm-max) {
  741. height: auto;
  742. }
  743. video {
  744. box-shadow: 0px 60px 25px -15px rgba(16, 24, 40, 0.2);
  745. max-height: 100%;
  746. width: auto;
  747. @media (max-width: @screen-sm-max) {
  748. width: 100%;
  749. }
  750. }
  751. }
  752. }