custom.css 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. /* stylelint-disable docusaurus/copyright-header */
  2. /**
  3. * Any CSS included here will be global. The classic template
  4. * bundles Infima by default. Infima is a CSS framework designed to
  5. * work well for content-centric websites.
  6. */
  7. /* You can override the default Infima variables here. */
  8. :root {
  9. --ifm-background-color:#d9d9d9;
  10. --ifm-navbar-background-color:#e2e2e2;
  11. --ifm-color-primary: #AC0000;
  12. --ifm-color-primary-dark: #C01E1E;
  13. --ifm-color-primary-darker: #880707;
  14. --ifm-color-primary-darkest: #420101;
  15. --ifm-color-primary-light: #E34C4C;
  16. --ifm-color-primary-lighter: #F79999;
  17. --ifm-color-primary-lightest: #FBC8C8;
  18. --ifm-code-font-size: 95%;
  19. --ifm-h1-font-size: 2rem;
  20. --ifm-h2-font-size: 1.2rem;
  21. }
  22. html[data-theme='dark'] {
  23. --ifm-background-color:#484c57;
  24. --ifm-navbar-background-color:#535763;
  25. --ifm-footer-background-color:#535763;
  26. --ifm-alert-background-color: #383a42;
  27. --ifm-color-primary: #25c2a0;
  28. --ifm-color-primary-dark: rgb(33, 175, 144);
  29. --ifm-color-primary-darker: rgb(31, 165, 136);
  30. --ifm-color-primary-darkest: rgb(26, 136, 112);
  31. --ifm-color-primary-light: rgb(70, 203, 174);
  32. --ifm-color-primary-lighter: rgb(102, 212, 189);
  33. --ifm-color-primary-lightest: rgb(146, 224, 208);
  34. --ifm-code-font-size: 95%;
  35. }
  36. [data-theme='dark'] .ds-dropdown-menu {
  37. --ifm-background-color: #383a42;
  38. border-color: #535763;
  39. }
  40. [data-theme='dark'] .alert--secondary {
  41. background-color: #383a42;
  42. }
  43. .theme-light .mermaid {
  44. --color-red: #ff7777;
  45. --color-orange: #ffbb99;
  46. --color-yellow: #ffeeaa;
  47. --color-green: #bbffbb;
  48. --color-cyan: #bbffee;
  49. --color-blue: #aaccff;
  50. --color-purple: #ddbbff;
  51. --color-pink: #ffcccc;
  52. }
  53. .toggleTrack_node_modules-\@docusaurus-theme-classic-lib-next-theme-Toggle-styles-module {
  54. background-color: #e2e2e2 !important;
  55. }
  56. .toggleTrack_32Fl {
  57. background-color: #484c57;
  58. }
  59. .docusaurus-highlight-code-line {
  60. background-color: rgb(72, 77, 91);
  61. display: block;
  62. margin: 0 calc(-1 * var(--ifm-pre-padding));
  63. padding: 0 var(--ifm-pre-padding);
  64. }
  65. .moon::before {
  66. content: '\1F31C';
  67. }
  68. .sun::before {
  69. content: '\1F31E';
  70. }
  71. .toggleTrack_node_modules-\@docusaurus-theme-classic-lib-next-theme-Toggle-styles-module {
  72. background-color: #484c57 !important;
  73. }
  74. .header-homepage-link {
  75. font-family: 'Times New Roman', Times, serif !important;
  76. font-size: larger;
  77. }
  78. .header-homepage-link svg {
  79. display: none;
  80. }
  81. .navbar__search {
  82. padding-left: 20px;
  83. }
  84. .theme-edit-this-page {
  85. background-color: #39393941;
  86. border-radius: 5px;
  87. padding: 10px;
  88. }
  89. table td img {
  90. max-width: 100px;
  91. }
  92. .markdown h1:first-child {
  93. --ifm-h1-font-size: 2.5rem;
  94. }
  95. .markdown ol li > p {
  96. margin: 0;
  97. }
  98. .title_node_modules-\@docusaurus-theme-classic-lib-theme-BlogPostItem-Header-Title-styles-module {
  99. font-size: 1.5rem !important;
  100. }
  101. .title_f1Hy {
  102. font-size: 1.5rem !important;
  103. }
  104. form input {
  105. box-sizing: border-box;
  106. margin: 1em 0 2em;
  107. font-size: 1.5em;
  108. background: none;
  109. border-radius: .2em;
  110. border-color: none;
  111. padding: .5em;
  112. width: 100%;
  113. }