website-redesign.scss 21 KB

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