custom.css 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  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. @import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');
  7. :root {
  8. --ifm-font-family-base: "Inter"
  9. }
  10. /* You can override the default Infima variables here. */
  11. :root {
  12. /* Colors */
  13. --ifm-color-primary: #17c1ff;
  14. --ifm-color-primary-dark: #008ece;
  15. --ifm-color-primary-darker: #0072a7;
  16. --ifm-color-primary-darkest: #084f72;
  17. --ifm-color-primary-light: #78daff;
  18. --ifm-color-primary-lighter: #b8eaff;
  19. --ifm-color-primary-lightest: #dff3ff;
  20. --ifm-navbar-background-color: #ffffff11;
  21. --navbar-background-color-mobile: #ffffffee;
  22. --ifm-heading-color: #000212;
  23. --ifm-color-content: var(--ifm-color-emphasis-800);
  24. --ifm-code-font-size: 95%;
  25. --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
  26. --color-graphql-comment: #47954d;
  27. --color-graphql-identifier: rgb(227, 17, 108);
  28. --color-members-border: var(--ifm-color-secondary);
  29. --docusaurus-highlighted-code-line-bg: #e0f1ff;
  30. --ifm-menu-link-sublist-icon: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-6 h-6"><path stroke-linecap="round" stroke-linejoin="round" d="M4.5 15.75l7.5-7.5 7.5 7.5" /></svg>');
  31. --body-background: white;
  32. --ifm-footer-background-color: #edf2f5;
  33. --color-docsearch-border: #b7b7c3;
  34. /* Fonts */
  35. --ifm-heading-font-family: 'Plus Jakarta Sans', var(--ifm-font-family-base);
  36. --ifm-heading-font-weight: 700;
  37. }
  38. /* For readability concerns, you should choose a lighter palette in dark mode. */
  39. html[data-theme='dark']{
  40. --ifm-background-color: #000212;
  41. --ifm-heading-color: #ffffff;
  42. --ifm-navbar-background-color: transparent;
  43. --navbar-background-color-mobile: transparent;
  44. --ifm-card-background-color: transparent;
  45. --ifm-color-content: hsla(0,0%,100%,.7);
  46. --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
  47. --color-graphql-comment: #6ea372;
  48. --color-graphql-identifier: rgb(255, 121, 198);
  49. --color-members-border: #333;
  50. --docusaurus-highlighted-code-line-bg: rgba(15, 71, 117, 0.5);
  51. --body-background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(79, 208, 255, 0.3), transparent);
  52. --ifm-footer-background-color: var(--ifm-background-color);
  53. --color-docsearch-border: #232347;
  54. --ifm-footer-title-color: #ffffff;
  55. }
  56. html[data-theme='light'] {
  57. --ifm-background-color: #ffffff;
  58. }
  59. h1, h2, h3, h4, h5, h6 {
  60. letter-spacing: -0.05rem;
  61. }
  62. .markdown h2:not(:first-of-type) {
  63. --ifm-h2-vertical-rhythm-top: 5;
  64. }
  65. .markdown img {
  66. border-radius: 4px;
  67. }
  68. .members-wrapper {
  69. border-left: 1px solid var(--color-members-border);
  70. padding-left: 32px;
  71. }
  72. .members-wrapper > h3 {
  73. margin-top: 42px;
  74. }
  75. .sidebar-section-header {
  76. text-transform: uppercase;
  77. font-weight: bold;
  78. font-size: 12px;
  79. opacity: 0.8;
  80. color: #afafaf;
  81. padding: var(--ifm-menu-link-padding-vertical)
  82. var(--ifm-menu-link-padding-horizontal);
  83. }
  84. .sidebar-section-divider {
  85. border-bottom: 1px solid var(--ifm-font-color-base);
  86. opacity: 0.2;
  87. margin: 6px 12px;
  88. }
  89. .limited-height-code-block pre.prism-code {
  90. max-height: 800px;
  91. }