website-redesign.less 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339
  1. .website-redesign {
  2. p,
  3. h2,
  4. h3,
  5. a {
  6. font-family: 'Noto Sans', sans-serif;
  7. }
  8. h2 {
  9. font-weight: 600;
  10. font-size: 2.25rem;
  11. line-height: 3rem;
  12. margin-top: 0;
  13. }
  14. h3 {
  15. font-weight: 600;
  16. }
  17. a {
  18. font-weight: 600;
  19. }
  20. .img-rounded {
  21. // TODO: design specifies 'border-radius-large' which is 5px, but uses 16px
  22. border-radius: 16px;
  23. }
  24. .plans-cards {
  25. @media (min-width: @screen-md-min) {
  26. display: flex; /* equal heights */
  27. flex-wrap: wrap;
  28. }
  29. .plans-card-container {
  30. min-height: 348px;
  31. @media (max-width: @screen-sm-max) {
  32. margin-bottom: 16px;
  33. height: 398px;
  34. }
  35. }
  36. .plans-card {
  37. border-radius: 8px;
  38. padding: 0;
  39. height: 100%;
  40. .plans-card-inner {
  41. padding: 36px;
  42. height: 100%;
  43. display: flex;
  44. flex-direction: column;
  45. font-size: 16px;
  46. .plans-card-inner-title {
  47. font-size: 20px;
  48. font-weight: 600;
  49. margin-top: 0;
  50. }
  51. ul {
  52. list-style-type: none;
  53. padding: 0;
  54. margin: 0;
  55. li {
  56. margin-bottom: 8px;
  57. }
  58. }
  59. .plans-card-inner-footer {
  60. margin-top: auto;
  61. display: flex;
  62. flex-direction: column;
  63. gap: 12px;
  64. }
  65. }
  66. &.grey-border {
  67. border: 2px solid #e7e9ee;
  68. }
  69. // workaround for border that contains both linear-gradient and border radius
  70. // https://stackoverflow.com/a/53037637
  71. &.blue-gradient-highlighted {
  72. border: double 2px transparent;
  73. border-radius: 8px;
  74. background-image: linear-gradient(white, white),
  75. linear-gradient(245.63deg, #214475 0%, #254c84 28.54%, #6597e0 96.69%);
  76. background-origin: border-box;
  77. background-clip: content-box, border-box;
  78. .plans-card-inner-title {
  79. background: linear-gradient(
  80. 245.63deg,
  81. #214475 0%,
  82. #254c84 28.54%,
  83. #6597e0 96.69%
  84. );
  85. background-clip: text;
  86. color: transparent;
  87. }
  88. }
  89. }
  90. }
  91. .info-cards {
  92. .info-card-container {
  93. height: 348px;
  94. margin-bottom: 16px;
  95. .info-card {
  96. border-radius: 8px;
  97. height: 100%;
  98. box-shadow: 0px 2px 4px 0px #1e253029;
  99. border-top: 8px solid #2f4858;
  100. padding: 48px 40px 48px 40px;
  101. }
  102. }
  103. }
  104. .features-card {
  105. .features-card-image {
  106. img.img-responsive {
  107. width: 100%;
  108. }
  109. @media (max-width: @screen-sm-max) {
  110. margin-bottom: 50px;
  111. }
  112. }
  113. .features-card-description {
  114. p {
  115. margin-bottom: 10px;
  116. }
  117. ul {
  118. list-style-type: none;
  119. padding: 0;
  120. margin: 0;
  121. li {
  122. margin-bottom: 8px;
  123. }
  124. }
  125. .premium-badge {
  126. .premium-badge-img {
  127. margin-left: 10px;
  128. }
  129. @media (max-width: @screen-xs-max) {
  130. display: flex;
  131. .premium-badge-img {
  132. width: 87px;
  133. margin-left: auto;
  134. }
  135. }
  136. }
  137. }
  138. }
  139. .top-image-cards {
  140. .top-image-card {
  141. > img.img-responsive {
  142. width: 100%;
  143. }
  144. .top-image-card-title {
  145. font-size: 24px;
  146. margin-top: 16px;
  147. margin-bottom: 8px;
  148. a {
  149. width: 100%;
  150. color: @neutral-90;
  151. display: inline-flex;
  152. justify-content: space-between;
  153. }
  154. i.material-symbols-rounded {
  155. vertical-align: middle;
  156. text-decoration: none;
  157. }
  158. }
  159. .top-image-card-text {
  160. font-size: 16px;
  161. }
  162. &:not(:last-of-type) {
  163. @media (max-width: @screen-sm-max) {
  164. margin-bottom: 40px;
  165. }
  166. }
  167. }
  168. }
  169. .cta-card {
  170. display: flex;
  171. flex-direction: column;
  172. align-items: center;
  173. padding: 64px;
  174. background: #2f4858;
  175. color: white;
  176. border-radius: 8px;
  177. .cta-card-title {
  178. font-size: 52px;
  179. font-weight: 500;
  180. font-family: 'DM Mono', monospace;
  181. margin-bottom: 8px;
  182. span.purple-color {
  183. color: #939aff;
  184. }
  185. span.lime-color {
  186. color: #7ee787;
  187. }
  188. }
  189. .cta-card-buttons {
  190. margin-top: 24px;
  191. display: flex;
  192. gap: 12px;
  193. }
  194. }
  195. .testimonial-media {
  196. border-radius: 24px;
  197. .testimonial-media-text-container {
  198. display: flex;
  199. flex-direction: column;
  200. min-height: 352px;
  201. background-color: #2f4858;
  202. color: white;
  203. border-top-left-radius: 24px;
  204. border-top-right-radius: 0;
  205. border-bottom-left-radius: 24px;
  206. padding: 96px 64px;
  207. @media (max-width: @screen-sm-max) {
  208. border-top-left-radius: 24px;
  209. border-top-right-radius: 24px;
  210. border-bottom-left-radius: 0;
  211. min-height: 316px;
  212. padding: 56px 24px;
  213. }
  214. .testimonial-media-text {
  215. margin-bottom: auto;
  216. font-size: 28px;
  217. font-weight: 600;
  218. line-height: 38px;
  219. @media (max-width: @screen-sm-max) {
  220. font-size: 24px;
  221. line-height: 32px;
  222. }
  223. }
  224. }
  225. .testimonial-media-video {
  226. height: 100%;
  227. min-height: 352px;
  228. background-color: @neutral-20;
  229. border-top-right-radius: 24px;
  230. border-bottom-right-radius: 24px;
  231. border-bottom-left-radius: 0;
  232. @media (max-width: @screen-sm-max) {
  233. border-top-right-radius: 0;
  234. border-bottom-right-radius: 24px;
  235. border-bottom-left-radius: 24px;
  236. }
  237. }
  238. }
  239. .mono-text {
  240. font-family: 'DM Mono', monospace;
  241. color: @green-60;
  242. font-feature-settings: 'ss05';
  243. font-size: 1.125rem;
  244. font-weight: 500;
  245. line-height: 1.5rem;
  246. margin: 0;
  247. }
  248. .green-link {
  249. color: @green-60;
  250. i.material-symbols-rounded {
  251. vertical-align: middle;
  252. padding-bottom: 3px;
  253. font-size: 24px;
  254. }
  255. &:hover {
  256. color: @green-70;
  257. .right-arrow {
  258. background: @green-70;
  259. }
  260. }
  261. }
  262. .btn-blue-gradient {
  263. background: linear-gradient(
  264. 245.63deg,
  265. #214475 0%,
  266. #254c84 28.54%,
  267. #6597e0 96.69%
  268. );
  269. color: white;
  270. }
  271. .round-background {
  272. border-radius: 50%;
  273. font-size: 25px;
  274. top: 4px;
  275. vertical-align: middle;
  276. margin-right: 8px;
  277. }
  278. .green-round-background {
  279. .round-background;
  280. background: @green-10;
  281. color: @green-40;
  282. }
  283. .blue-round-background {
  284. .round-background;
  285. background: @blue-10;
  286. color: @blue-40;
  287. }
  288. }