website-redesign.scss 22 KB

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