website-redesign.less 23 KB

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