website-redesign.less 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182
  1. @cta-card-bg-color: var(--dark-jungle-green);
  2. .website-redesign-overflow-unset {
  3. overflow: unset !important;
  4. }
  5. .website-redesign {
  6. // hero section of features, enterprises, and universities will have an image that will overflow the page
  7. overflow-x: hidden;
  8. p,
  9. div,
  10. h1,
  11. h2,
  12. h3,
  13. h4,
  14. a,
  15. strong {
  16. font-family: 'Noto Sans', sans-serif;
  17. }
  18. h1 {
  19. font-weight: 600;
  20. .heading-2xl();
  21. @media (max-width: @screen-sm-max) {
  22. .heading-xl();
  23. }
  24. }
  25. h2 {
  26. font-weight: 600;
  27. margin-top: 0;
  28. .heading-xl();
  29. @media (max-width: @screen-sm-max) {
  30. .heading-lg();
  31. }
  32. }
  33. h3 {
  34. font-weight: 600;
  35. }
  36. h1,
  37. h2,
  38. h3 {
  39. > span.mono-text {
  40. display: block;
  41. margin-bottom: @margin-xs;
  42. }
  43. }
  44. // override .btn default style
  45. .btn {
  46. font-weight: 600;
  47. }
  48. .img-rounded {
  49. // TODO: design specifies 'border-radius-large' which is 5px, but uses 16px
  50. border-radius: 16px;
  51. }
  52. .plans-cards {
  53. @media (min-width: @screen-md-min) {
  54. display: flex; /* equal heights */
  55. flex-wrap: wrap;
  56. }
  57. .plans-card-container {
  58. min-height: 348px;
  59. @media (max-width: @screen-sm-max) {
  60. margin-bottom: 16px;
  61. min-height: unset;
  62. }
  63. }
  64. .plans-card {
  65. border-radius: 8px;
  66. padding: 0;
  67. height: 100%;
  68. .plans-card-inner {
  69. padding: 36px;
  70. height: 100%;
  71. display: flex;
  72. flex-direction: column;
  73. font-size: 16px;
  74. .plans-card-inner-title {
  75. font-size: 20px;
  76. font-weight: 600;
  77. margin-top: 0;
  78. }
  79. ul {
  80. list-style-type: none;
  81. padding: 0;
  82. margin: 0;
  83. li {
  84. margin-bottom: 8px;
  85. }
  86. }
  87. .plans-card-inner-footer {
  88. margin-top: auto;
  89. display: flex;
  90. flex-direction: column;
  91. gap: 12px;
  92. @media (max-width: @screen-sm-max) {
  93. margin-top: 16px;
  94. }
  95. }
  96. }
  97. &.grey-border {
  98. border: 2px solid var(--neutral-20);
  99. }
  100. &.blue-border {
  101. border: solid 2px var(--sapphire-blue);
  102. border-radius: 8px;
  103. .plans-card-inner-title {
  104. color: var(--sapphire-blue);
  105. }
  106. }
  107. }
  108. }
  109. .plans-bottom-text {
  110. font-size: 1.125rem;
  111. }
  112. .info-cards {
  113. @media (min-width: @screen-md-min) {
  114. display: flex; /* equal heights */
  115. flex-wrap: wrap;
  116. }
  117. .info-card-container {
  118. margin-bottom: 16px;
  119. .info-card {
  120. border-radius: 8px;
  121. height: 100%;
  122. box-shadow:
  123. 0px 2px 4px 0px #1e253014,
  124. 0px 4px 12px 0px #1e25301f;
  125. border-top: 8px solid var(--sapphire-blue);
  126. padding: 32px 40px 32px 40px;
  127. &.info-card-big-text {
  128. h3 {
  129. font-size: 1.5rem;
  130. line-height: 1.333;
  131. }
  132. p {
  133. font-size: 1.125rem;
  134. line-height: 1.333;
  135. }
  136. }
  137. i.material-symbols {
  138. color: var(--sapphire-blue);
  139. }
  140. }
  141. }
  142. }
  143. .security-heading-section {
  144. @media (max-width: @screen-sm-max) {
  145. p {
  146. text-align: left;
  147. }
  148. h2 {
  149. width: 100%;
  150. text-align: left;
  151. }
  152. }
  153. .heading-and-stickers-container {
  154. display: flex;
  155. justify-content: center;
  156. .lock-sticker {
  157. width: 70px;
  158. position: absolute;
  159. top: -95px;
  160. right: -50px;
  161. @media (max-width: @screen-lg) {
  162. right: -105px;
  163. }
  164. @media (max-width: @screen-sm-max) {
  165. display: none;
  166. }
  167. }
  168. .arrow-sticker {
  169. width: 140px;
  170. position: absolute;
  171. top: -50px;
  172. right: -15px;
  173. @media (max-width: @screen-lg) {
  174. right: -70px;
  175. }
  176. @media (max-width: @screen-sm-max) {
  177. display: none;
  178. }
  179. }
  180. }
  181. }
  182. .customer-story-card-title {
  183. margin-top: 25px;
  184. margin-bottom: 12.5px;
  185. font-size: 1.5rem;
  186. font-weight: 600;
  187. a {
  188. display: flex;
  189. justify-content: space-between;
  190. color: var(--neutral-90);
  191. i {
  192. font-size: 1.5rem;
  193. }
  194. }
  195. }
  196. .customer-story-content {
  197. .table-of-contents-section {
  198. padding-right: 64px;
  199. @media (max-width: @screen-sm-max) {
  200. display: none;
  201. }
  202. .table-of-contents {
  203. border-top: 1px solid var(--neutral-30);
  204. border-bottom: 1px solid var(--neutral-30);
  205. padding: 32px 0;
  206. .heading {
  207. font-size: 1.125rem;
  208. font-weight: 600;
  209. line-height: 1.333;
  210. color: var(--green-60);
  211. }
  212. li {
  213. list-style: none;
  214. padding-top: 16px;
  215. font-weight: 500;
  216. a {
  217. text-decoration: none;
  218. color: var(--neutral-70);
  219. }
  220. }
  221. }
  222. }
  223. .story-details-section {
  224. h3 {
  225. font-size: 1.875rem;
  226. line-height: 1.333;
  227. margin-top: 0;
  228. }
  229. .at-glance-section {
  230. padding-top: 24px;
  231. p {
  232. margin-top: 16px;
  233. }
  234. }
  235. p {
  236. font-size: 1.125rem;
  237. }
  238. .border-r-16 {
  239. border-radius: 16px;
  240. }
  241. .introduction-image-caption {
  242. padding-top: 16px;
  243. }
  244. .stats-card {
  245. display: flex;
  246. flex-direction: row;
  247. padding: 32px;
  248. border-radius: 16px;
  249. background: var(--dark-jungle-green);
  250. color: var(--white);
  251. @media (max-width: @screen-sm-max) {
  252. flex-direction: column;
  253. }
  254. .stats {
  255. h3 {
  256. font-size: 2rem;
  257. font-weight: 600;
  258. }
  259. p {
  260. font-weight: 600;
  261. height: 50px;
  262. }
  263. }
  264. }
  265. }
  266. .customer-quote {
  267. border-left: 2px solid var(--green-60);
  268. padding-left: 16px;
  269. blockquote {
  270. color: var(--neutral-90);
  271. font-size: 1.6rem;
  272. line-height: 1.333;
  273. }
  274. p {
  275. margin-top: 1rem;
  276. font-size: 1.125rem;
  277. }
  278. }
  279. }
  280. .features-card {
  281. display: flex; /* equal heights */
  282. flex-wrap: wrap;
  283. align-items: center;
  284. .features-card-media,
  285. .features-card-media-right {
  286. padding-top: 24px;
  287. img.img-responsive {
  288. width: 100%;
  289. }
  290. video {
  291. box-shadow:
  292. 0px 4px 6px 0px rgba(30, 37, 48, 0.12),
  293. 0px 8px 16px 0px rgba(30, 37, 48, 0.12);
  294. max-height: 100%;
  295. width: auto;
  296. width: 100%;
  297. }
  298. @media (max-width: @screen-sm-max) {
  299. margin-bottom: 50px;
  300. }
  301. }
  302. @media (min-width: @screen-md-min) {
  303. .features-card-media-right {
  304. padding-left: 64px;
  305. }
  306. .features-card-media {
  307. padding-right: 64px;
  308. }
  309. }
  310. .features-card-description,
  311. .features-card-description-list {
  312. padding-top: 16px;
  313. p {
  314. margin-bottom: 16px;
  315. font-size: 1.125rem;
  316. line-height: 1.333;
  317. @media (max-width: @screen-sm-max) {
  318. font-size: 1rem;
  319. line-height: 1.375;
  320. }
  321. }
  322. a.green-link {
  323. margin-top: 4px;
  324. display: block;
  325. }
  326. }
  327. .features-card-description {
  328. h3 {
  329. font-size: 1.5rem;
  330. line-height: 1.4;
  331. margin-bottom: 8px;
  332. }
  333. }
  334. .features-card-description-list {
  335. h3 {
  336. font-size: 1.875rem;
  337. line-height: 1.5;
  338. }
  339. ul.list-simple-text,
  340. ul.list-heading-text {
  341. list-style-type: none;
  342. padding: 0;
  343. margin: 0;
  344. li {
  345. margin-bottom: 12px;
  346. font-size: 1.125rem;
  347. line-height: 1.333;
  348. display: flex;
  349. .label-premium {
  350. margin-left: 0;
  351. font-family: 'Noto Sans', sans-serif;
  352. }
  353. @media (max-width: @screen-sm-max) {
  354. font-size: 1rem;
  355. line-height: 1.375;
  356. }
  357. }
  358. }
  359. ul.list-heading-text {
  360. li {
  361. h4 {
  362. margin-top: 0;
  363. margin-bottom: 8px;
  364. font-size: 20px;
  365. font-weight: 600;
  366. }
  367. }
  368. }
  369. }
  370. }
  371. .features-card-hero {
  372. display: flex; /* equal heights */
  373. flex-wrap: wrap;
  374. align-items: center;
  375. position: relative;
  376. height: 655px;
  377. padding-top: @line-height-computed * 2;
  378. @media (max-width: @screen-sm-max) {
  379. height: unset;
  380. padding-top: 0;
  381. }
  382. .features-card-description {
  383. display: flex;
  384. flex-direction: column;
  385. justify-content: center;
  386. h1 {
  387. &.features-card-hero-smaller-title {
  388. @media (min-width: @screen-lg-min) {
  389. // 3rem is the default, this is a workaround for big screen
  390. // since 6-width column on md screen size will wrap the text in three lines
  391. font-size: 2.8rem;
  392. }
  393. }
  394. }
  395. p {
  396. font-size: 1.25rem;
  397. width: 90%;
  398. @media (max-width: @screen-sm-max) {
  399. font-size: 1.125rem;
  400. line-height: 1.33;
  401. width: unset;
  402. }
  403. }
  404. }
  405. .features-card-image {
  406. position: absolute;
  407. // on wide screen, image will be fixed without any variable width translation
  408. transform: translateX(600px);
  409. top: 100px;
  410. width: 720px;
  411. height: auto;
  412. padding: 0px 15px;
  413. // starting from 1500px, image will have a variable translation that depends on screen width
  414. // this will make image "fixed" on a specific point on the screen
  415. @media (max-width: 1500px) {
  416. transform: translateX(calc(50vw - 121px));
  417. }
  418. @media (max-width: 1400px) {
  419. width: 650px;
  420. transform: translateX(calc(50vw - 52px));
  421. }
  422. // bootstrap layout changes on 1200px (@screen-lg), add a specific
  423. // case for this exact width
  424. @media (min-width: 1200px) and (max-width: 1200px) {
  425. width: 600px;
  426. transform: translateX(calc(50vw));
  427. }
  428. @media (max-width: 1199px) {
  429. width: 600px;
  430. transform: translateX(calc(50vw - 106px));
  431. }
  432. @media (max-width: 1100px) {
  433. width: 550px;
  434. transform: translateX(calc(50vw - 55px));
  435. }
  436. // 991px
  437. @media (max-width: @screen-sm-max) {
  438. position: relative;
  439. transform: none;
  440. top: 0;
  441. width: 100%;
  442. margin-bottom: 50px;
  443. }
  444. img.img-responsive {
  445. width: 100%;
  446. }
  447. }
  448. .sticky-tags {
  449. position: absolute;
  450. z-index: 2;
  451. height: 160px;
  452. bottom: -105px;
  453. right: 55px;
  454. @media (max-width: 1400px) {
  455. height: 150px;
  456. bottom: -103px;
  457. right: 47px;
  458. }
  459. @media (max-width: 1200px) {
  460. height: 130px;
  461. bottom: -87px;
  462. }
  463. @media (max-width: 1100px) {
  464. height: 120px;
  465. bottom: -81px;
  466. }
  467. // 991px
  468. @media (max-width: @screen-sm-max) {
  469. height: 130px;
  470. bottom: -75px;
  471. right: 70px;
  472. }
  473. // 767px
  474. @media (max-width: @screen-xs-max) {
  475. height: 24%;
  476. bottom: -10vw; // scale with width
  477. right: 9.5vw; // scale with width
  478. }
  479. }
  480. }
  481. .organization-logos-container {
  482. display: flex;
  483. justify-content: space-around;
  484. align-items: center;
  485. @media (max-width: @screen-md-max) {
  486. flex-wrap: wrap;
  487. gap: 30px;
  488. }
  489. .organization-logo {
  490. object-fit: contain;
  491. max-height: 62px;
  492. &.samsung-logo {
  493. max-height: 110px;
  494. height: 110px;
  495. }
  496. @media (max-width: @screen-md-max) {
  497. max-height: 40px;
  498. flex-basis: 34%;
  499. }
  500. }
  501. }
  502. .template-cards {
  503. .template-card {
  504. > img.img-responsive {
  505. width: 100%;
  506. border-radius: 8px;
  507. }
  508. .template-card-title {
  509. font-size: 24px;
  510. margin-top: 16px;
  511. margin-bottom: 8px;
  512. a {
  513. width: 100%;
  514. font-weight: 600;
  515. color: var(--neutral-90);
  516. display: inline-flex;
  517. justify-content: space-between;
  518. text-decoration: none;
  519. &:hover {
  520. text-decoration: underline;
  521. }
  522. }
  523. i.material-symbols {
  524. vertical-align: middle;
  525. text-decoration: none;
  526. }
  527. }
  528. .template-card-text {
  529. font-size: 16px;
  530. }
  531. &:not(:last-of-type) {
  532. @media (max-width: @screen-sm-max) {
  533. margin-bottom: 40px;
  534. }
  535. }
  536. }
  537. }
  538. .lime-color-text {
  539. color: var(--malachite);
  540. }
  541. .cta-card-individual-customer {
  542. display: flex;
  543. justify-content: space-between;
  544. padding: 64px;
  545. background-image: linear-gradient(
  546. to right,
  547. rgba(0, 0, 0, 0.4) 0%,
  548. @cta-card-bg-color 20%,
  549. @cta-card-bg-color 100%
  550. ),
  551. url('../../../public/img/website-redesign/overleaf-pattern-purple.png');
  552. background-size: cover;
  553. color: var(--white);
  554. border-radius: 8px;
  555. @media (max-width: @screen-sm-max) {
  556. padding: 48px 24px;
  557. }
  558. h2 {
  559. font-size: 1.875rem;
  560. color: var(--white);
  561. }
  562. p {
  563. font-size: 1.125rem;
  564. }
  565. .btn-container {
  566. padding-top: 10px;
  567. display: flex;
  568. justify-content: center;
  569. align-items: flex-start;
  570. }
  571. }
  572. .paragraph-line-height {
  573. line-height: 1.333; // 24px
  574. }
  575. .cta-card {
  576. display: flex;
  577. flex-direction: column;
  578. align-items: center;
  579. padding: 64px;
  580. color: var(--white);
  581. background-image: linear-gradient(
  582. to right,
  583. rgba(0, 0, 0, 0.4) 0%,
  584. @cta-card-bg-color 25%,
  585. @cta-card-bg-color 75%,
  586. rgba(0, 0, 0, 0.4) 100%
  587. ),
  588. url('../../../public/img/website-redesign/overleaf-pattern-purple.png');
  589. background-size: cover;
  590. border-radius: 8px;
  591. @media (max-width: @screen-sm-max) {
  592. padding: 48px 24px;
  593. }
  594. .cta-card-title {
  595. font-size: 3.25rem; // 52px
  596. margin-bottom: 8px;
  597. line-height: 1.3;
  598. &.title-mono {
  599. > span {
  600. // override Noto Sans
  601. .dm-mono;
  602. }
  603. }
  604. span.purple-color {
  605. color: #939aff;
  606. font-weight: 400;
  607. }
  608. span.lime-color {
  609. font-weight: 500;
  610. color: var(--malachite);
  611. }
  612. @media (max-width: @screen-sm-max) {
  613. font-size: 2.25rem; // 36px
  614. }
  615. }
  616. .cta-card-text {
  617. font-size: 1.125rem;
  618. line-height: 1.333;
  619. margin: 8px 0;
  620. text-align: center;
  621. }
  622. .cta-card-quote {
  623. font-size: 1.875rem; // 30px
  624. font-weight: 600;
  625. line-height: 2.5rem; // 40px
  626. letter-spacing: 0em;
  627. text-align: center;
  628. }
  629. }
  630. .quote-card {
  631. display: flex;
  632. flex-direction: column;
  633. align-items: center;
  634. padding: 32px;
  635. background: var(--dark-jungle-green);
  636. color: white;
  637. border-radius: 16px;
  638. text-align: center;
  639. blockquote {
  640. font-size: 1.875rem; // 30px
  641. font-weight: 600;
  642. line-height: 1.26;
  643. @media (max-width: @screen-sm-max) {
  644. font-size: 1.5rem; // 24px
  645. line-height: 1.333;
  646. }
  647. }
  648. .quote-card-img {
  649. margin-top: 32px;
  650. margin-bottom: 16px;
  651. }
  652. .quote-card-link {
  653. color: var(--green-30);
  654. }
  655. @media (max-width: @screen-sm-max) {
  656. padding: 56px 24px 56px 24px;
  657. }
  658. }
  659. .integrations-card {
  660. display: flex; /* for center align */
  661. flex-wrap: wrap;
  662. align-items: center;
  663. .integrations-icons {
  664. img {
  665. width: 6rem; // 96px
  666. height: 6rem; // 96px
  667. }
  668. .first-row,
  669. .second-row {
  670. display: flex;
  671. }
  672. .first-row {
  673. justify-content: space-between;
  674. }
  675. .second-row {
  676. margin-top: 40px;
  677. justify-content: space-evenly;
  678. }
  679. }
  680. }
  681. .text-with-bg {
  682. .dm-mono;
  683. padding: 0 @padding-sm;
  684. border-radius: 10px;
  685. margin-top: 5px;
  686. // will make all spans content inline while avoiding overflowing the viewport in mobile
  687. // https://developer.mozilla.org/en-US/docs/Web/CSS/display#flow-root
  688. // https://css-tricks.com/display-flow-root/
  689. display: inline flow-root;
  690. &.tangerine-bg {
  691. background-color: var(--vivid-tangerine);
  692. }
  693. &.purple-bg {
  694. background-color: var(--ceil);
  695. }
  696. &.yellow-bg {
  697. background-color: var(--caramel);
  698. }
  699. &.green-bg {
  700. background-color: var(--green-30);
  701. }
  702. }
  703. .security-info {
  704. .security-info-first-row {
  705. margin-bottom: 32px;
  706. @media (max-width: @screen-sm-max) {
  707. margin-bottom: 0;
  708. }
  709. }
  710. .security-info-item {
  711. @media (max-width: @screen-sm-max) {
  712. margin-bottom: 16px;
  713. }
  714. }
  715. }
  716. .resources {
  717. @media (min-width: @screen-md-min) {
  718. display: flex; /* equal heights */
  719. flex-wrap: wrap;
  720. }
  721. .resources-card {
  722. display: flex;
  723. flex-wrap: wrap;
  724. flex-direction: column;
  725. margin-bottom: 48px;
  726. align-content: flex-start;
  727. @media (max-width: @screen-sm-max) {
  728. margin-bottom: 16px;
  729. }
  730. img {
  731. width: 56px;
  732. }
  733. h3 {
  734. width: 100%;
  735. }
  736. a {
  737. margin-top: auto;
  738. }
  739. }
  740. }
  741. .centered-block {
  742. @media (min-width: @screen-md-min) {
  743. text-align: center;
  744. }
  745. }
  746. .heading-section-md-align-left {
  747. @media (max-width: @screen-md-min) {
  748. display: flex;
  749. flex-direction: column;
  750. align-items: baseline;
  751. h2 {
  752. text-align: left;
  753. }
  754. p {
  755. text-align: left;
  756. }
  757. }
  758. }
  759. .dm-mono {
  760. font-family: 'DM Mono', monospace;
  761. // We're using the "ss05" (stylistic set 5) version of the DM Mono, by setting the `font-feature-settings` rule
  762. // https://developer.mozilla.org/en-US/docs/Web/CSS/font-feature-settings
  763. // We use the ss05 specifically to remove the "squiggle" below the f letter.
  764. // You can try removing the `font-feature-settings` rule and check what happens to the letter "f",
  765. // as it's quite hard to describe it with sentences alone
  766. font-feature-settings: 'ss05';
  767. }
  768. .mono-text {
  769. .dm-mono;
  770. color: var(--green-60);
  771. font-size: 1.125rem;
  772. font-weight: 500;
  773. line-height: 1.5rem;
  774. margin: 0;
  775. }
  776. .customer-stories-hero-heading {
  777. @media (max-width: @screen-sm-max) {
  778. font-size: 2.25rem;
  779. line-height: 1.333;
  780. }
  781. }
  782. .customer-stories-hero-text {
  783. font-size: 1.25rem;
  784. }
  785. .customer-stories-logos-text {
  786. font-size: 1.125rem;
  787. }
  788. .link-with-arrow {
  789. .dm-mono;
  790. font-size: var(--font-size-04);
  791. line-height: var(--line-height-03);
  792. font-weight: 500;
  793. color: var(--green-50);
  794. i.material-symbols {
  795. vertical-align: middle;
  796. padding-bottom: 3px;
  797. font-size: 24px;
  798. line-height: inherit;
  799. margin-left: var(--spacing-02);
  800. }
  801. &:hover {
  802. color: var(--green-60);
  803. }
  804. }
  805. .link-monospace {
  806. .dm-mono;
  807. font-weight: 500;
  808. color: var(--green-50);
  809. &:hover {
  810. color: var(--green-60);
  811. }
  812. }
  813. .green-link {
  814. .link-with-arrow;
  815. // TODO: replace .green-link uses with .link-with-arrow
  816. }
  817. .inline-green-link {
  818. color: var(--green-50);
  819. padding: 0;
  820. text-decoration: underline;
  821. // text-decoration-;skip-ink is for letter with descender (like 'g' and 'y')
  822. // this will force underline to not skip the descender
  823. text-decoration-skip-ink: none;
  824. &:hover {
  825. color: var(--green-60);
  826. }
  827. &:focus {
  828. &:extend(.input-focus-style);
  829. }
  830. }
  831. .btn-blue {
  832. background: var(--sapphire-blue);
  833. color: var(--white);
  834. &:hover {
  835. background: var(--sapphire-blue-dark);
  836. }
  837. }
  838. .btn-primary {
  839. &:not([disabled]) {
  840. background: var(--green-50);
  841. color: var(--white);
  842. &:hover {
  843. background: var(--green-60);
  844. }
  845. }
  846. }
  847. a {
  848. &:focus,
  849. &:focus-visible {
  850. outline: 0;
  851. }
  852. &:focus-visible {
  853. .box-shadow-button-input();
  854. }
  855. i {
  856. vertical-align: middle;
  857. margin-left: var(--spacing-02);
  858. padding-bottom: 3px;
  859. }
  860. &.link-lg {
  861. font-size: var(--font-size-04);
  862. line-height: var(--line-height-03);
  863. i {
  864. font-size: 24px;
  865. line-height: inherit;
  866. }
  867. }
  868. }
  869. .round-background {
  870. border-radius: 50%;
  871. font-size: 1.5rem;
  872. top: 4px;
  873. vertical-align: middle;
  874. margin-right: 8px;
  875. width: 24px;
  876. height: 24px;
  877. }
  878. .green-round-background {
  879. .round-background;
  880. background: var(--green-30);
  881. }
  882. .blue-round-background {
  883. .round-background;
  884. background: var(--blue-10);
  885. color: var(--blue-40);
  886. }
  887. // most of these are here to replace rules from core/type.less
  888. blockquote {
  889. border-left: none;
  890. font-size: 1.875rem;
  891. line-height: 1.333;
  892. font-weight: 600;
  893. quotes: '\201C' '\201D'; // override default quotes
  894. padding: unset;
  895. margin: unset;
  896. font-family: 'Noto Sans', sans-serif;
  897. &::after {
  898. visibility: visible;
  899. display: inline;
  900. margin-left: 1px; // it's too tight to the text otherwise
  901. }
  902. &::before {
  903. color: inherit;
  904. margin-right: 0;
  905. vertical-align: 0;
  906. }
  907. &::after,
  908. &::before {
  909. font-size: 1.875rem;
  910. line-height: 1.333;
  911. }
  912. @media (max-width: @screen-sm-max) {
  913. font-size: 1.5rem;
  914. line-height: 1.333;
  915. &::after,
  916. &::before {
  917. visibility: visible;
  918. font-size: 1.5rem;
  919. line-height: 1.333;
  920. }
  921. }
  922. }
  923. .circle-img {
  924. height: 64px;
  925. max-width: 64px;
  926. }
  927. .responsive-button-container {
  928. display: flex;
  929. margin-top: 24px;
  930. gap: 16px;
  931. &.centered-buttons {
  932. justify-content: center;
  933. }
  934. &.align-left-button-sm {
  935. @media (max-width: @screen-sm-max) {
  936. justify-content: start;
  937. }
  938. }
  939. @media (max-width: @screen-xs-max) {
  940. width: 100%;
  941. flex-direction: column;
  942. }
  943. }
  944. .label-premium {
  945. height: 20px; // override default height
  946. }
  947. .label-premium-block-md {
  948. @media (max-width: @screen-md-max) {
  949. display: block;
  950. width: fit-content;
  951. margin: 10px 0px 0px 0px;
  952. }
  953. }
  954. .header-description {
  955. p {
  956. font-size: 1.25rem;
  957. line-height: 1.4;
  958. margin-bottom: 0;
  959. @media (max-width: @screen-sm-max) {
  960. font-size: 1.125rem;
  961. line-height: 1.33;
  962. }
  963. }
  964. }
  965. .editor-pdf-video {
  966. display: flex;
  967. align-items: center;
  968. justify-content: center;
  969. height: 585px;
  970. padding: 0px 15px;
  971. @media (max-width: @screen-sm-max) {
  972. height: auto;
  973. }
  974. video {
  975. box-shadow: 0px 60px 25px -15px rgba(16, 24, 40, 0.2);
  976. max-height: 100%;
  977. width: auto;
  978. @media (max-width: @screen-sm-max) {
  979. width: 100%;
  980. }
  981. }
  982. }
  983. .overleaf-sticker {
  984. float: right;
  985. @media (max-width: @screen-sm-max) {
  986. width: 74px; // 70% of 106px
  987. }
  988. }
  989. }