Design system.
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 

147 lignes
4.4 KiB

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