website-redesign.less 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665
  1. .website-redesign {
  2. p,
  3. h1,
  4. h2,
  5. h3,
  6. h4,
  7. a,
  8. strong,
  9. span {
  10. font-family: 'Noto Sans', sans-serif;
  11. }
  12. h1 {
  13. font-size: 3rem;
  14. font-weight: 600;
  15. line-height: 4rem;
  16. }
  17. h2 {
  18. font-weight: 600;
  19. font-size: 2.25rem;
  20. line-height: 3rem;
  21. margin-top: 0;
  22. }
  23. h3 {
  24. font-weight: 600;
  25. }
  26. // override .btn default style
  27. .btn {
  28. font-weight: 600;
  29. }
  30. .img-rounded {
  31. // TODO: design specifies 'border-radius-large' which is 5px, but uses 16px
  32. border-radius: 16px;
  33. }
  34. .plans-cards {
  35. @media (min-width: @screen-md-min) {
  36. display: flex; /* equal heights */
  37. flex-wrap: wrap;
  38. }
  39. .plans-card-container {
  40. min-height: 348px;
  41. @media (max-width: @screen-sm-max) {
  42. margin-bottom: 16px;
  43. min-height: unset;
  44. }
  45. }
  46. .plans-card {
  47. border-radius: 8px;
  48. padding: 0;
  49. height: 100%;
  50. .plans-card-inner {
  51. padding: 36px;
  52. height: 100%;
  53. display: flex;
  54. flex-direction: column;
  55. font-size: 16px;
  56. .plans-card-inner-title {
  57. font-size: 20px;
  58. font-weight: 600;
  59. margin-top: 0;
  60. }
  61. ul {
  62. list-style-type: none;
  63. padding: 0;
  64. margin: 0;
  65. li {
  66. margin-bottom: 8px;
  67. }
  68. }
  69. .plans-card-inner-footer {
  70. margin-top: auto;
  71. display: flex;
  72. flex-direction: column;
  73. gap: 12px;
  74. @media (max-width: @screen-sm-max) {
  75. margin-top: 16px;
  76. }
  77. }
  78. }
  79. &.grey-border {
  80. border: 2px solid var(--neutral-20);
  81. }
  82. // workaround for border that contains both linear-gradient and border radius
  83. // https://stackoverflow.com/a/53037637
  84. &.blue-gradient-highlighted {
  85. border: double 2px transparent;
  86. border-radius: 8px;
  87. background-image: linear-gradient(var(--white), var(--white)),
  88. var(--premium-gradient);
  89. background-origin: border-box;
  90. background-clip: content-box, border-box;
  91. .plans-card-inner-title {
  92. color: var(--blue-60);
  93. }
  94. }
  95. }
  96. }
  97. .info-cards {
  98. @media (min-width: @screen-md-min) {
  99. display: flex; /* equal heights */
  100. flex-wrap: wrap;
  101. }
  102. .info-card-container {
  103. min-height: 348px;
  104. margin-bottom: 16px;
  105. @media (max-width: @screen-sm-max) {
  106. min-height: unset;
  107. }
  108. .info-card {
  109. border-radius: 8px;
  110. height: 100%;
  111. box-shadow: 0px 2px 4px 0px rgba(30, 37, 48, 0.16);
  112. border-top: 8px solid #2f4858;
  113. padding: 48px 40px 48px 40px;
  114. &.info-card-big-text {
  115. h3 {
  116. font-size: 1.5rem;
  117. line-height: 1.333;
  118. }
  119. p {
  120. font-size: 1.125rem;
  121. line-height: 1.333;
  122. }
  123. }
  124. }
  125. }
  126. }
  127. .features-card {
  128. display: flex; /* equal heights */
  129. flex-wrap: wrap;
  130. align-items: center;
  131. .features-card-image {
  132. img.img-responsive {
  133. width: 100%;
  134. }
  135. @media (max-width: @screen-sm-max) {
  136. margin-bottom: 50px;
  137. }
  138. }
  139. .features-card-description {
  140. padding-top: 16px;
  141. h3.features-card-ul-title {
  142. font-size: 1.875rem;
  143. line-height: 1.5;
  144. }
  145. h3.features-card-title {
  146. font-size: 1.5rem;
  147. line-height: 1.4;
  148. margin-bottom: 8px;
  149. }
  150. p {
  151. margin-bottom: 16px;
  152. font-size: 1.125rem;
  153. line-height: 1.333;
  154. @media (max-width: @screen-sm-max) {
  155. font-size: 1rem;
  156. line-height: 1.375;
  157. }
  158. }
  159. a.green-link {
  160. margin-top: 4px;
  161. display: block;
  162. }
  163. ul {
  164. list-style-type: none;
  165. padding: 0;
  166. margin: 0;
  167. li {
  168. margin-bottom: 12px;
  169. font-size: 1.125rem;
  170. line-height: 1.333;
  171. // flex is needed in the case of "premium" label being on the same line
  172. display: flex;
  173. @media (max-width: @screen-sm-max) {
  174. font-size: 1rem;
  175. line-height: 1.375;
  176. // only for label-premium that appears directly as a child of li
  177. > .label-premium {
  178. margin-left: auto;
  179. align-self: center;
  180. }
  181. }
  182. h4 {
  183. margin-top: 0;
  184. margin-bottom: 8px;
  185. font-size: 20px;
  186. font-weight: 600;
  187. }
  188. p {
  189. margin-bottom: 0;
  190. }
  191. }
  192. }
  193. }
  194. }
  195. .top-image-cards {
  196. .top-image-card {
  197. > img.img-responsive {
  198. width: 100%;
  199. border-radius: 8px;
  200. }
  201. .top-image-card-title {
  202. font-size: 24px;
  203. margin-top: 16px;
  204. margin-bottom: 8px;
  205. a {
  206. width: 100%;
  207. font-weight: 600;
  208. color: var(--neutral-90);
  209. display: inline-flex;
  210. justify-content: space-between;
  211. text-decoration: none;
  212. }
  213. i.material-symbols-rounded {
  214. vertical-align: middle;
  215. text-decoration: none;
  216. }
  217. }
  218. .top-image-card-text {
  219. font-size: 16px;
  220. }
  221. &:not(:last-of-type) {
  222. @media (max-width: @screen-sm-max) {
  223. margin-bottom: 40px;
  224. }
  225. }
  226. }
  227. }
  228. .cta-card {
  229. display: flex;
  230. flex-direction: column;
  231. align-items: center;
  232. padding: 64px;
  233. background: #2f4858;
  234. color: var(--white);
  235. border-radius: 8px;
  236. @media (max-width: @screen-sm-max) {
  237. padding: 48px 24px 48px 24px;
  238. }
  239. .cta-card-title {
  240. font-size: 3.25rem; // 52px
  241. margin-bottom: 8px;
  242. line-height: 1.3;
  243. &.title-mono {
  244. > span {
  245. // override Noto Sans
  246. font-family: 'DM Mono', monospace;
  247. }
  248. }
  249. span.purple-color {
  250. color: #939aff;
  251. font-weight: 400;
  252. }
  253. span.lime-color {
  254. font-weight: 500;
  255. color: #7ee787;
  256. }
  257. @media (max-width: @screen-sm-max) {
  258. font-size: 2.25rem; // 36px
  259. }
  260. }
  261. .cta-card-text {
  262. font-size: 1.125rem;
  263. line-height: 1.333;
  264. margin: 8px 0;
  265. text-align: center;
  266. }
  267. .cta-card-quote {
  268. font-size: 1.875rem; // 30px
  269. font-weight: 600;
  270. line-height: 2.5rem; // 40px
  271. letter-spacing: 0em;
  272. text-align: center;
  273. }
  274. }
  275. .quote-card {
  276. display: flex;
  277. flex-direction: column;
  278. align-items: center;
  279. padding: 48px;
  280. background: #2f4858;
  281. color: white;
  282. border-radius: 16px;
  283. .quote-card-quote {
  284. font-size: 1.875rem; // 30px
  285. font-weight: 600;
  286. line-height: 2.5rem; // 40px
  287. letter-spacing: 0em;
  288. text-align: center;
  289. @media (max-width: @screen-sm-max) {
  290. font-size: 1.5rem; // 24px
  291. line-height: 2rem; // 32px
  292. }
  293. }
  294. .quote-card-img {
  295. margin-top: 32px;
  296. margin-bottom: 16px;
  297. }
  298. @media (max-width: @screen-sm-max) {
  299. padding: 56px 24px 56px 24px;
  300. }
  301. }
  302. .integrations-card {
  303. .integrations-icons {
  304. img {
  305. width: 6rem; // 96px
  306. height: 6rem; // 96px
  307. }
  308. .first-row,
  309. .second-row {
  310. display: flex;
  311. }
  312. .first-row {
  313. justify-content: space-between;
  314. }
  315. .second-row {
  316. margin-top: 40px;
  317. justify-content: space-evenly;
  318. }
  319. }
  320. }
  321. .testimonial-media {
  322. border-radius: 24px;
  323. .testimonial-media-text {
  324. display: flex;
  325. flex-direction: column;
  326. min-height: 352px;
  327. background-color: #2f4858;
  328. color: var(--white);
  329. border-top-left-radius: 24px;
  330. border-top-right-radius: 0;
  331. border-bottom-left-radius: 24px;
  332. padding: 96px 56px;
  333. @media (max-width: @screen-sm-max) {
  334. border-top-left-radius: 24px;
  335. border-top-right-radius: 24px;
  336. border-bottom-left-radius: 0;
  337. min-height: 316px;
  338. padding: 56px 24px;
  339. }
  340. blockquote {
  341. hyphens: auto;
  342. flex-grow: 1;
  343. }
  344. .testimonial-media-author {
  345. font-size: 1.125rem;
  346. line-height: 1.333;
  347. @media (max-width: @screen-sm-max) {
  348. font-size: 1rem;
  349. line-height: 1.375;
  350. }
  351. }
  352. }
  353. .testimonial-media-video {
  354. height: 100%;
  355. min-height: 352px;
  356. background-color: var(--neutral-20);
  357. border-top-right-radius: 24px;
  358. border-bottom-right-radius: 24px;
  359. border-bottom-left-radius: 0;
  360. display: flex;
  361. align-items: center;
  362. justify-content: center;
  363. @media (max-width: @screen-sm-max) {
  364. border-top-right-radius: 0;
  365. border-bottom-right-radius: 24px;
  366. border-bottom-left-radius: 24px;
  367. }
  368. video {
  369. height: 100%;
  370. width: 100%;
  371. }
  372. }
  373. }
  374. .security-info {
  375. .security-info-first-row {
  376. margin-bottom: 32px;
  377. @media (max-width: @screen-sm-max) {
  378. margin-bottom: 0;
  379. }
  380. }
  381. .security-info-item {
  382. @media (max-width: @screen-sm-max) {
  383. margin-bottom: 16px;
  384. }
  385. }
  386. }
  387. .resources {
  388. @media (min-width: @screen-md-min) {
  389. display: flex; /* equal heights */
  390. flex-wrap: wrap;
  391. }
  392. .resources-card {
  393. display: flex;
  394. flex-wrap: wrap;
  395. flex-direction: column;
  396. margin-bottom: 48px;
  397. align-content: flex-start;
  398. @media (max-width: @screen-sm-max) {
  399. margin-bottom: 16px;
  400. }
  401. img {
  402. width: 56px;
  403. }
  404. h3 {
  405. width: 100%;
  406. }
  407. a {
  408. margin-top: auto;
  409. }
  410. }
  411. }
  412. .centered-block {
  413. @media (min-width: @screen-md-min) {
  414. text-align: center;
  415. }
  416. }
  417. .mono-text {
  418. font-family: 'DM Mono', monospace;
  419. color: var(--green-60);
  420. font-feature-settings: 'ss05';
  421. font-size: 1.125rem;
  422. font-weight: 500;
  423. line-height: 1.5rem;
  424. margin: 0;
  425. ~ h1,
  426. ~ h2,
  427. ~ h3 {
  428. margin-top: 8px;
  429. }
  430. }
  431. .link-with-arrow {
  432. font-size: 1.125rem;
  433. line-height: 1.333;
  434. i.material-symbols-rounded {
  435. vertical-align: middle;
  436. padding-bottom: 3px;
  437. font-size: 24px;
  438. }
  439. }
  440. .green-link {
  441. .link-with-arrow;
  442. color: @green-60;
  443. &:hover {
  444. color: var(--green-70);
  445. .right-arrow {
  446. background: var(--green-70);
  447. }
  448. }
  449. }
  450. .white-link {
  451. .link-with-arrow;
  452. color: white;
  453. }
  454. .btn-blue-gradient {
  455. background: var(--premium-gradient);
  456. color: var(--white);
  457. &:hover {
  458. background: var(--blue-70);
  459. }
  460. }
  461. .round-background {
  462. border-radius: 50%;
  463. font-size: 25px;
  464. top: 4px;
  465. vertical-align: middle;
  466. margin-right: 8px;
  467. width: 25px;
  468. height: 25px;
  469. }
  470. .green-round-background {
  471. .round-background;
  472. background: var(--green-10);
  473. color: var(--green-40);
  474. }
  475. .blue-round-background {
  476. .round-background;
  477. background: var(--blue-10);
  478. color: var(--blue-40);
  479. }
  480. // most of these are here to replace rules from core/type.less
  481. blockquote {
  482. border-left: none;
  483. font-size: 1.875rem;
  484. line-height: 1.333;
  485. font-weight: 600;
  486. quotes: '\0022''\0022'; // use straight (" ") instead of curly ones (“ ”)
  487. padding: unset;
  488. margin: unset;
  489. font-family: 'Noto Sans', sans-serif;
  490. &::after {
  491. visibility: visible;
  492. display: inline;
  493. margin-left: 1px; // it's too tight to the text otherwise
  494. }
  495. &::before {
  496. color: inherit;
  497. margin-right: 0;
  498. vertical-align: 0;
  499. }
  500. &::after,
  501. &::before {
  502. font-size: 1.875rem;
  503. line-height: 1.333;
  504. }
  505. @media (max-width: @screen-sm-max) {
  506. font-size: 1.5rem;
  507. line-height: 1.333;
  508. &::after,
  509. &::before {
  510. visibility: visible;
  511. font-size: 1.5rem;
  512. line-height: 1.333;
  513. }
  514. }
  515. }
  516. .circle-img {
  517. height: 64px;
  518. max-width: 64px;
  519. }
  520. .premium-badge {
  521. .premium-badge-img {
  522. margin-left: 10px;
  523. }
  524. @media (max-width: @screen-xs-max) {
  525. display: flex;
  526. .premium-badge-img {
  527. width: 87px;
  528. margin-left: auto;
  529. }
  530. }
  531. }
  532. .responsive-button-container {
  533. display: flex;
  534. margin-top: 24px;
  535. gap: 16px;
  536. &.centered-buttons {
  537. justify-content: center;
  538. }
  539. @media (max-width: @screen-sm-max) {
  540. flex-direction: column-reverse;
  541. width: 100%;
  542. }
  543. }
  544. .label-premium {
  545. height: 20px; // override default height
  546. }
  547. .header-description {
  548. p {
  549. font-size: 1.25rem;
  550. line-height: 1.4;
  551. margin-bottom: 0;
  552. @media (max-width: @screen-sm-max) {
  553. font-size: 1.125rem;
  554. line-height: 1.33;
  555. }
  556. }
  557. }
  558. }