website-redesign.less 17 KB

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