website-redesign.scss 22 KB

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