custom.css 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. /**
  2. * Any CSS included here will be global. The classic template
  3. * bundles Infima by default. Infima is a CSS framework designed to
  4. * work well for content-centric websites.
  5. */
  6. /* You can override the default Infima variables here. */
  7. :root {
  8. --ifm-color-primary: hsl(196 100% 35%);
  9. --ifm-color-primary-dark: hsl(196 100% 25%);
  10. --ifm-color-primary-darker: hsl(196 100% 15%);
  11. --ifm-color-primary-darkest: hsl(196 100% 7%);
  12. --ifm-color-primary-light: hsl(196 100% 65%);
  13. --ifm-color-primary-lighter: hsl(196 100% 75%);
  14. --ifm-color-primary-lightest: hsl(196 100% 90%);
  15. --ifm-code-font-size: 95%;
  16. --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
  17. --color-graphql-comment: #47954d;
  18. --color-graphql-identifier: rgb(227, 17, 108);
  19. }
  20. /* For readability concerns, you should choose a lighter palette in dark mode. */
  21. [data-theme='dark'] {
  22. --ifm-color-primary: hsl(196 100% 45%);
  23. --ifm-color-primary-dark: hsl(196 100% 35%);
  24. --ifm-color-primary-darker: hsl(196 100% 25%);
  25. --ifm-color-primary-darkest: hsl(196 100% 15%);
  26. --ifm-color-primary-light: hsl(196 100% 65%);
  27. --ifm-color-primary-lighter: hsl(196 100% 75%);
  28. --ifm-color-primary-lightest: hsl(196 100% 90%);
  29. --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
  30. --color-graphql-comment: #6ea372;
  31. --color-graphql-identifier: rgb(255, 121, 198);
  32. }
  33. .markdown h2:not(:first-of-type) {
  34. --ifm-h2-vertical-rhythm-top: 5;
  35. }
  36. .members-wrapper {
  37. border-left: 1px solid var(--ifm-color-secondary);
  38. padding-left: 32px;
  39. }
  40. .members-wrapper > h3 {
  41. margin-top: 42px;
  42. }
  43. /* Styling of GraphQL code blocks */
  44. .graphql-code-block {
  45. background-color: var(--ifm-pre-background);
  46. border-radius: var(--ifm-pre-border-radius);
  47. padding: var(--ifm-pre-padding);
  48. color: var(--ifm-pre-color);
  49. font: var(--ifm-code-font-size) / var(--ifm-pre-line-height) var(--ifm-font-family-monospace);
  50. }
  51. .graphql-code-line {
  52. }
  53. .graphql-code-line:not(.top-level) {
  54. margin-left: 24px;
  55. }
  56. .graphql-code-line.comment {
  57. color: var(--color-graphql-comment);
  58. }
  59. .graphql-code-identifier {
  60. color: var(--color-graphql-identifier);
  61. margin-right: 6px;
  62. }