custom.css 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  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-h2-font-size: 1.2rem;
  20. }
  21. html[data-theme='dark'] {
  22. --ifm-background-color:#484c57;
  23. --ifm-navbar-background-color:#535763;
  24. --ifm-footer-background-color:#535763;
  25. --ifm-alert-background-color: #383a42;
  26. --ifm-color-primary: #25c2a0;
  27. --ifm-color-primary-dark: rgb(33, 175, 144);
  28. --ifm-color-primary-darker: rgb(31, 165, 136);
  29. --ifm-color-primary-darkest: rgb(26, 136, 112);
  30. --ifm-color-primary-light: rgb(70, 203, 174);
  31. --ifm-color-primary-lighter: rgb(102, 212, 189);
  32. --ifm-color-primary-lightest: rgb(146, 224, 208);
  33. --ifm-code-font-size: 95%;
  34. }
  35. [data-theme='dark'] .ds-dropdown-menu {
  36. --ifm-background-color: #383a42;
  37. border-color: #535763;
  38. }
  39. [data-theme='dark'] .alert--secondary {
  40. background-color: #383a42;
  41. }
  42. .theme-light .mermaid {
  43. --color-red: #ff7777;
  44. --color-orange: #ffbb99;
  45. --color-yellow: #ffeeaa;
  46. --color-green: #bbffbb;
  47. --color-cyan: #bbffee;
  48. --color-blue: #aaccff;
  49. --color-purple: #ddbbff;
  50. --color-pink: #ffcccc;
  51. }
  52. .toggleTrack_node_modules-\@docusaurus-theme-classic-lib-next-theme-Toggle-styles-module {
  53. background-color: #e2e2e2 !important;
  54. }
  55. .toggleTrack_32Fl {
  56. background-color: #484c57;
  57. }
  58. .docusaurus-highlight-code-line {
  59. background-color: rgb(72, 77, 91);
  60. display: block;
  61. margin: 0 calc(-1 * var(--ifm-pre-padding));
  62. padding: 0 var(--ifm-pre-padding);
  63. }
  64. .moon::before {
  65. content: '\1F31C';
  66. }
  67. .sun::before {
  68. content: '\1F31E';
  69. }
  70. .toggleTrack_node_modules-\@docusaurus-theme-classic-lib-next-theme-Toggle-styles-module {
  71. background-color: #484c57 !important;
  72. }
  73. .header-homepage-link {
  74. font-family: 'Times New Roman', Times, serif !important;
  75. font-size: larger;
  76. }
  77. .header-homepage-link svg {
  78. display: none;
  79. }
  80. .navbar__search {
  81. padding-left: 20px;
  82. }
  83. .theme-edit-this-page {
  84. background-color: #39393941;
  85. border-radius: 5px;
  86. padding: 10px;
  87. }
  88. table td img {
  89. max-width: 100px;
  90. }
  91. .markdown ol li > p {
  92. margin: 0;
  93. }
  94. .title_node_modules-\@docusaurus-theme-classic-lib-theme-BlogPostItem-Header-Title-styles-module {
  95. font-size: 1.5rem !important;
  96. }
  97. .title_f1Hy {
  98. font-size: 1.5rem !important;
  99. }
  100. form input {
  101. box-sizing: border-box;
  102. margin: 1em 0 2em;
  103. font-size: 1.5em;
  104. background: none;
  105. border-radius: .2em;
  106. border-color: none;
  107. padding: .5em;
  108. width: 100%;
  109. }