Design system.
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 

149 rader
4.2 KiB

  1. @tailwind base;
  2. @tailwind utilities;
  3. @layer base {
  4. body {
  5. margin: 0;
  6. }
  7. h1 {
  8. @apply font-headings lowercase text-5xl font-thin leading-none my-8;
  9. }
  10. h2 {
  11. @apply font-headings lowercase text-4xl font-light leading-none my-8;
  12. }
  13. h3 {
  14. @apply font-headings lowercase text-3xl leading-none my-8;
  15. }
  16. h4 {
  17. @apply font-headings lowercase text-2xl leading-none my-8;
  18. }
  19. h5 {
  20. @apply font-headings lowercase text-xl leading-none my-8;
  21. }
  22. h6 {
  23. @apply font-headings lowercase text-lg leading-none my-8;
  24. }
  25. p {
  26. @apply my-8;
  27. }
  28. small {
  29. font-size: 0.75em;
  30. }
  31. a:focus {
  32. outline: 0;
  33. }
  34. /*pre {*/
  35. /* overflow: auto;*/
  36. /* margin: 0 -1rem;*/
  37. /* padding: 0 1rem;*/
  38. /* line-height: 1.2;*/
  39. /* box-sizing: border-box;*/
  40. /*}*/
  41. @media only print {
  42. pre, pre * {
  43. color: inherit !important;
  44. }
  45. code, code * {
  46. color: inherit !important;
  47. }
  48. img {
  49. filter: grayscale(100%);
  50. }
  51. :root {
  52. --color-accent: black !important;
  53. --color-active: black !important;
  54. }
  55. }
  56. }
  57. @layer utilities {
  58. .font-condensed {
  59. font-stretch: condensed;
  60. }
  61. .font-semi-condensed {
  62. font-stretch: semi-condensed;
  63. }
  64. .font-expanded {
  65. font-stretch: expanded;
  66. }
  67. .font-semi-expanded {
  68. font-stretch: semi-expanded;
  69. }
  70. .linejoin-round {
  71. stroke-linejoin: round;
  72. }
  73. .linecap-round {
  74. stroke-linecap: round;
  75. }
  76. }
  77. :root .rti--container {
  78. --rti-bg: transparent;
  79. --rti-border: transparent;
  80. --rti-main: transparent;
  81. --rti-radius: 0;
  82. --rti-s: 0.5rem;
  83. --rti-tag: transparent;
  84. --rti-tag-remove: transparent;
  85. --rti-tag-padding: 0 0;
  86. }
  87. .highlight .token.number { color: rgb(var(--color-code-number)); }
  88. .highlight .token.keyword { color: rgb(var(--color-code-keyword)); }
  89. .highlight .token.tag { color: rgb(var(--color-code-keyword)); }
  90. .highlight .token.type { color: rgb(var(--color-code-type)); }
  91. .highlight .token.instance-attribute { color: rgb(var(--color-code-instance-attribute)); }
  92. .highlight .token.maybe-class-name { color: rgb(var(--color-code-function)); font-style: italic; }
  93. .highlight .token.function { color: rgb(var(--color-code-function)); font-style: italic; }
  94. .highlight .token.parameter { color: rgb(var(--color-code-parameter)); }
  95. .highlight .token.property { color: rgb(var(--color-code-property)); }
  96. .highlight .token.attr-name { color: rgb(var(--color-code-property)); font-style: italic; }
  97. .highlight .token.string { color: rgb(var(--color-code-string)); }
  98. .highlight .token.attr-value { color: rgb(var(--color-code-string)); }
  99. .highlight .token.attr-value .attr-equals { color: rgb(var(--color-positive)); }
  100. .highlight .token.variable { color: rgb(var(--color-code-variable)); }
  101. .highlight .token.regexp { color: rgb(var(--color-code-regexp)); }
  102. .highlight .token.url { color: rgb(var(--color-code-url)); }
  103. .highlight .token.global { color: rgb(var(--color-code-global)); }
  104. .highlight .token.comment { opacity: 0.5; }
  105. .highlight .x00 { color: rgb(var(--color-code-keyword)); }
  106. .highlight .x10 { color: rgb(var(--color-code-global)); }
  107. .highlight .x20 { color: rgb(var(--color-code-string)); }
  108. .highlight .x30 { color: rgb(var(--color-code-number)); }
  109. .highlight .x40 { color: rgb(var(--color-code-url)); }
  110. .highlight .x50 { color: rgb(var(--color-code-type)); }
  111. .highlight .x60 { color: rgb(var(--color-code-parameter)); }
  112. .highlight .x70 { color: rgb(var(--color-code-property)); }
  113. .highlight .x80 { color: rgb(var(--color-negative)); background-color: rgb(var(--color-code-keyword)); }
  114. .highlight .x90 { color: rgb(var(--color-negative)); background-color: rgb(var(--color-code-global)); }
  115. .highlight .xa0 { color: rgb(var(--color-negative)); background-color: rgb(var(--color-code-string)); }
  116. .highlight .xb0 { color: rgb(var(--color-negative)); background-color: rgb(var(--color-code-number)); }
  117. .highlight .xc0 { color: rgb(var(--color-negative)); background-color: rgb(var(--color-code-url)); }
  118. .highlight .xd0 { color: rgb(var(--color-negative)); background-color: rgb(var(--color-code-type)); }
  119. .highlight .xe0 { color: rgb(var(--color-negative)); background-color: rgb(var(--color-code-parameter)); }
  120. .highlight .xf0 { color: rgb(var(--color-negative)); background-color: rgb(var(--color-code-property)); }
  121. .focus\:outline-0:-moz-focusring {
  122. outline: 0;
  123. }