website-redesign.scss 21 KB

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