website-redesign.less 23 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186
  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: linear-gradient(
  549. to right,
  550. rgba(0, 0, 0, 0.4) 0%,
  551. @cta-card-bg-color 20%,
  552. @cta-card-bg-color 100%
  553. ),
  554. url('../../../public/img/website-redesign/overleaf-pattern-purple.png');
  555. background-size: cover;
  556. color: var(--white);
  557. border-radius: 8px;
  558. @media (max-width: @screen-sm-max) {
  559. padding: 48px 24px;
  560. }
  561. h2 {
  562. font-size: 1.875rem;
  563. color: var(--white);
  564. }
  565. p {
  566. font-size: 1.125rem;
  567. }
  568. .btn-container {
  569. padding-top: 10px;
  570. display: flex;
  571. justify-content: center;
  572. align-items: flex-start;
  573. }
  574. }
  575. .paragraph-line-height {
  576. line-height: 1.333; // 24px
  577. }
  578. .cta-card {
  579. display: flex;
  580. flex-direction: column;
  581. align-items: center;
  582. padding: 64px;
  583. color: var(--white);
  584. background-image: linear-gradient(
  585. to right,
  586. rgba(0, 0, 0, 0.4) 0%,
  587. @cta-card-bg-color 25%,
  588. @cta-card-bg-color 75%,
  589. rgba(0, 0, 0, 0.4) 100%
  590. ),
  591. url('../../../public/img/website-redesign/overleaf-pattern-purple.png');
  592. background-size: cover;
  593. border-radius: 8px;
  594. @media (max-width: @screen-sm-max) {
  595. padding: 48px 24px;
  596. }
  597. .cta-card-title {
  598. font-size: 3.25rem; // 52px
  599. margin-bottom: 8px;
  600. line-height: 1.3;
  601. &.title-mono {
  602. > span {
  603. // override Noto Sans
  604. .dm-mono;
  605. }
  606. }
  607. span.purple-color {
  608. color: #939aff;
  609. font-weight: 400;
  610. }
  611. span.lime-color {
  612. font-weight: 500;
  613. color: var(--malachite);
  614. }
  615. @media (max-width: @screen-sm-max) {
  616. font-size: 2.25rem; // 36px
  617. }
  618. }
  619. .cta-card-text {
  620. font-size: 1.125rem;
  621. line-height: 1.333;
  622. margin: 8px 0;
  623. text-align: center;
  624. }
  625. .cta-card-quote {
  626. font-size: 1.875rem; // 30px
  627. font-weight: 600;
  628. line-height: 2.5rem; // 40px
  629. letter-spacing: 0em;
  630. text-align: center;
  631. }
  632. }
  633. .quote-card {
  634. display: flex;
  635. flex-direction: column;
  636. align-items: center;
  637. padding: 32px;
  638. background: var(--dark-jungle-green);
  639. color: white;
  640. border-radius: 16px;
  641. text-align: center;
  642. blockquote {
  643. font-size: 1.875rem; // 30px
  644. font-weight: 600;
  645. line-height: 1.26;
  646. @media (max-width: @screen-sm-max) {
  647. font-size: 1.5rem; // 24px
  648. line-height: 1.333;
  649. }
  650. }
  651. .quote-card-img {
  652. margin-top: 32px;
  653. margin-bottom: 16px;
  654. }
  655. .quote-card-link {
  656. color: var(--green-30);
  657. }
  658. @media (max-width: @screen-sm-max) {
  659. padding: 56px 24px 56px 24px;
  660. }
  661. }
  662. .integrations-card {
  663. display: flex; /* for center align */
  664. flex-wrap: wrap;
  665. align-items: center;
  666. .integrations-icons {
  667. img {
  668. width: 6rem; // 96px
  669. height: 6rem; // 96px
  670. }
  671. .first-row,
  672. .second-row {
  673. display: flex;
  674. }
  675. .first-row {
  676. justify-content: space-between;
  677. }
  678. .second-row {
  679. margin-top: 40px;
  680. justify-content: space-evenly;
  681. }
  682. }
  683. }
  684. .text-with-bg {
  685. .dm-mono;
  686. padding: 0 @padding-sm;
  687. border-radius: 10px;
  688. margin-top: 5px;
  689. // will make all spans content inline while avoiding overflowing the viewport in mobile
  690. // https://developer.mozilla.org/en-US/docs/Web/CSS/display#flow-root
  691. // https://css-tricks.com/display-flow-root/
  692. display: inline flow-root;
  693. &.tangerine-bg {
  694. background-color: var(--vivid-tangerine);
  695. }
  696. &.purple-bg {
  697. background-color: var(--ceil);
  698. }
  699. &.yellow-bg {
  700. background-color: var(--caramel);
  701. }
  702. &.green-bg {
  703. background-color: var(--green-30);
  704. }
  705. }
  706. .security-info {
  707. .security-info-first-row {
  708. margin-bottom: 32px;
  709. @media (max-width: @screen-sm-max) {
  710. margin-bottom: 0;
  711. }
  712. }
  713. .security-info-item {
  714. @media (max-width: @screen-sm-max) {
  715. margin-bottom: 16px;
  716. }
  717. }
  718. }
  719. .resources {
  720. @media (min-width: @screen-md-min) {
  721. display: flex; /* equal heights */
  722. flex-wrap: wrap;
  723. }
  724. .resources-card {
  725. display: flex;
  726. flex-wrap: wrap;
  727. flex-direction: column;
  728. margin-bottom: 48px;
  729. align-content: flex-start;
  730. @media (max-width: @screen-sm-max) {
  731. margin-bottom: 16px;
  732. }
  733. img {
  734. width: 56px;
  735. }
  736. h3 {
  737. width: 100%;
  738. }
  739. a {
  740. margin-top: auto;
  741. }
  742. }
  743. }
  744. .centered-block {
  745. @media (min-width: @screen-md-min) {
  746. text-align: center;
  747. }
  748. }
  749. .heading-section-md-align-left {
  750. @media (max-width: @screen-md-min) {
  751. display: flex;
  752. flex-direction: column;
  753. align-items: baseline;
  754. h2 {
  755. text-align: left;
  756. }
  757. p {
  758. text-align: left;
  759. }
  760. }
  761. }
  762. .dm-mono {
  763. font-family: 'DM Mono', monospace;
  764. // We're using the "ss05" (stylistic set 5) version of the DM Mono, by setting the `font-feature-settings` rule
  765. // https://developer.mozilla.org/en-US/docs/Web/CSS/font-feature-settings
  766. // We use the ss05 specifically to remove the "squiggle" below the f letter.
  767. // You can try removing the `font-feature-settings` rule and check what happens to the letter "f",
  768. // as it's quite hard to describe it with sentences alone
  769. font-feature-settings: 'ss05';
  770. }
  771. .mono-text {
  772. .dm-mono;
  773. color: var(--green-60);
  774. font-size: 1.125rem;
  775. font-weight: 500;
  776. line-height: 1.5rem;
  777. margin: 0;
  778. }
  779. .customer-stories-hero-heading {
  780. @media (max-width: @screen-sm-max) {
  781. font-size: 2.25rem;
  782. line-height: 1.333;
  783. }
  784. }
  785. .customer-stories-hero-text {
  786. font-size: 1.25rem;
  787. }
  788. .customer-stories-logos-text {
  789. font-size: 1.125rem;
  790. }
  791. .link-with-arrow {
  792. .dm-mono;
  793. font-size: var(--font-size-04);
  794. line-height: var(--line-height-03);
  795. font-weight: 500;
  796. color: var(--green-50);
  797. .material-symbols {
  798. vertical-align: middle;
  799. padding-bottom: 3px;
  800. font-size: 24px;
  801. line-height: inherit;
  802. margin-left: var(--spacing-02);
  803. }
  804. &:hover {
  805. color: var(--green-60);
  806. }
  807. }
  808. .link-monospace {
  809. .dm-mono;
  810. font-weight: 500;
  811. color: var(--green-50);
  812. &:hover {
  813. color: var(--green-60);
  814. }
  815. }
  816. .green-link {
  817. .link-with-arrow;
  818. // TODO: replace .green-link uses with .link-with-arrow
  819. }
  820. .inline-green-link {
  821. color: var(--green-50);
  822. padding: 0;
  823. text-decoration: underline;
  824. // text-decoration-;skip-ink is for letter with descender (like 'g' and 'y')
  825. // this will force underline to not skip the descender
  826. text-decoration-skip-ink: none;
  827. &:hover {
  828. color: var(--green-60);
  829. }
  830. &:focus {
  831. &:extend(.input-focus-style);
  832. }
  833. }
  834. .btn-blue {
  835. background: var(--sapphire-blue);
  836. color: var(--white);
  837. &:hover {
  838. background: var(--sapphire-blue-dark);
  839. }
  840. }
  841. .btn-primary {
  842. &:not([disabled]) {
  843. background: var(--green-50);
  844. color: var(--white);
  845. &:hover {
  846. background: var(--green-60);
  847. }
  848. }
  849. }
  850. a {
  851. &:focus,
  852. &:focus-visible {
  853. outline: 0;
  854. }
  855. &:focus-visible {
  856. .box-shadow-button-input();
  857. }
  858. .material-symbols {
  859. vertical-align: middle;
  860. margin-left: var(--spacing-02);
  861. padding-bottom: 3px;
  862. }
  863. &.link-lg {
  864. font-size: var(--font-size-04);
  865. line-height: var(--line-height-03);
  866. i {
  867. font-size: 24px;
  868. line-height: inherit;
  869. }
  870. }
  871. }
  872. .round-background {
  873. border-radius: 50%;
  874. font-size: 1.5rem;
  875. top: 4px;
  876. vertical-align: middle;
  877. margin-right: 8px;
  878. width: 24px;
  879. height: 24px;
  880. }
  881. .green-round-background {
  882. .round-background;
  883. background: var(--green-30);
  884. }
  885. .blue-round-background {
  886. .round-background;
  887. background: var(--blue-10);
  888. color: var(--blue-40);
  889. }
  890. // most of these are here to replace rules from core/type.less
  891. blockquote {
  892. border-left: none;
  893. font-size: 1.875rem;
  894. line-height: 1.333;
  895. font-weight: 600;
  896. quotes: '\201C' '\201D'; // override default quotes
  897. padding: unset;
  898. margin: unset;
  899. font-family: 'Noto Sans', sans-serif;
  900. &::after {
  901. visibility: visible;
  902. display: inline;
  903. margin-left: 1px; // it's too tight to the text otherwise
  904. }
  905. &::before {
  906. color: inherit;
  907. margin-right: 0;
  908. vertical-align: 0;
  909. }
  910. &::after,
  911. &::before {
  912. font-size: 1.875rem;
  913. line-height: 1.333;
  914. }
  915. @media (max-width: @screen-sm-max) {
  916. font-size: 1.5rem;
  917. line-height: 1.333;
  918. &::after,
  919. &::before {
  920. visibility: visible;
  921. font-size: 1.5rem;
  922. line-height: 1.333;
  923. }
  924. }
  925. }
  926. .circle-img {
  927. height: 64px;
  928. max-width: 64px;
  929. }
  930. .responsive-button-container {
  931. display: flex;
  932. margin-top: 24px;
  933. gap: 16px;
  934. &.centered-buttons {
  935. justify-content: center;
  936. }
  937. &.align-left-button-sm {
  938. @media (max-width: @screen-sm-max) {
  939. justify-content: start;
  940. }
  941. }
  942. @media (max-width: @screen-xs-max) {
  943. width: 100%;
  944. flex-direction: column;
  945. }
  946. }
  947. .label-premium {
  948. height: 20px; // override default height
  949. }
  950. .label-premium-block-md {
  951. @media (max-width: @screen-md-max) {
  952. display: block;
  953. width: fit-content;
  954. margin: 10px 0px 0px 0px;
  955. }
  956. }
  957. .header-description {
  958. p {
  959. font-size: 1.25rem;
  960. line-height: 1.4;
  961. margin-bottom: 0;
  962. @media (max-width: @screen-sm-max) {
  963. font-size: 1.125rem;
  964. line-height: 1.33;
  965. }
  966. }
  967. }
  968. .editor-pdf-video {
  969. display: flex;
  970. align-items: center;
  971. justify-content: center;
  972. height: 585px;
  973. padding: 0px 15px;
  974. @media (max-width: @screen-sm-max) {
  975. height: auto;
  976. }
  977. video {
  978. box-shadow: 0px 60px 25px -15px rgba(16, 24, 40, 0.2);
  979. max-height: 100%;
  980. width: auto;
  981. @media (max-width: @screen-sm-max) {
  982. width: 100%;
  983. }
  984. }
  985. }
  986. .overleaf-sticker {
  987. float: right;
  988. @media (max-width: @screen-sm-max) {
  989. width: 74px; // 70% of 106px
  990. }
  991. }
  992. }