custom.css 3.4 KB

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