website-redesign.less 15 KB

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