website-redesign.scss 22 KB

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