globals.scss 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. @tailwind base;
  2. @tailwind components;
  3. @tailwind utilities;
  4. @font-face {
  5. font-family: "Manrope";
  6. font-style: normal;
  7. font-weight: 100 900;
  8. src:
  9. url("/fonts/manrope-variable.woff2") format("woff2 supports variations"),
  10. url("/fonts/manrope-variable.woff2") format("woff2-variations");
  11. }
  12. @layer base {
  13. :root {
  14. --header-area: calc(var(--header-offset) + var(--header-height));
  15. @apply [--header-offset:0rem] md:[--header-offset:1.5rem];
  16. @apply [--header-height:5.625rem] md:[--header-height:6rem];
  17. @apply [--gutter-width:1rem] md:[--gutter-width:1.25rem];
  18. @apply [--footer-offset:14rem] md:[--footer-offset:MAX(20vw,16rem)];
  19. }
  20. html {
  21. overflow-x: hidden;
  22. font-size: 16px;
  23. }
  24. }
  25. @layer utilities {
  26. .h1 {
  27. @apply text-h3 md:text-h1;
  28. @apply leading-h3 md:leading-h1;
  29. @apply font-extrabold tracking-normal;
  30. }
  31. .h2 {
  32. @apply text-h4 md:text-h2;
  33. @apply leading-h4 md:leading-h2;
  34. @apply font-extrabold tracking-normal;
  35. }
  36. .h3 {
  37. @apply text-h4 md:text-h3;
  38. @apply leading-h4 md:leading-h3;
  39. @apply font-extrabold tracking-normal;
  40. }
  41. .h4 {
  42. @apply text-h5 md:text-h4;
  43. @apply leading-h5 md:leading-h4;
  44. @apply font-extrabold tracking-semiwide md:tracking-normal;
  45. }
  46. .h5 {
  47. @apply text-h6 md:text-h5;
  48. @apply leading-h6 md:leading-h5;
  49. @apply font-extrabold tracking-semiwide;
  50. }
  51. .h6 {
  52. @apply text-h6;
  53. @apply leading-h6;
  54. @apply font-extrabold tracking-semiwide;
  55. }
  56. .sh1 {
  57. @apply text-b1 md:text-sh1;
  58. @apply leading-b1 md:leading-sh1;
  59. @apply font-extranormal tracking-semiwide;
  60. }
  61. .b1,
  62. .b2,
  63. .b3,
  64. .b4 {
  65. b,
  66. strong {
  67. @apply font-bold;
  68. }
  69. }
  70. .b1 {
  71. @apply text-b1;
  72. @apply leading-b1;
  73. @apply font-extranormal tracking-semiwide;
  74. }
  75. .b2 {
  76. @apply text-b2;
  77. @apply leading-b2;
  78. @apply font-extranormal tracking-semiwide;
  79. }
  80. .b3 {
  81. @apply text-b3;
  82. @apply leading-b3;
  83. @apply font-extranormal tracking-semiwide;
  84. }
  85. .b4 {
  86. @apply text-b4;
  87. @apply leading-b4;
  88. @apply font-normal tracking-semiwide;
  89. }
  90. .c2 {
  91. @apply text-c2;
  92. @apply leading-c2;
  93. @apply font-bold tracking-semiwide;
  94. }
  95. .c3 {
  96. @apply text-c3;
  97. @apply leading-c3;
  98. @apply font-extranormal tracking-semiwide;
  99. }
  100. .full-width-bg {
  101. margin-inline: calc(50% - 50vw);
  102. &__inner {
  103. @apply mx-auto w-full max-w-site px-6 lg:px-16;
  104. }
  105. }
  106. .carousel__dot {
  107. @apply mr-2 rounded-[50%] bg-gray-3 p-2;
  108. }
  109. .carousel__dot.carousel__dot--selected {
  110. @apply bg-blurple-500;
  111. }
  112. }