Hanye官网
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234
  1. @import url('https://fonts.googleapis.com/css2?family=M+PLUS+1p:wght@100;300;400;500;700;800;900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Noto+Sans+JP:wght@100..900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
  2. :root {
  3. /* 颜色变量 */
  4. --color-primary: #3b82f6;
  5. --color-secondary: #10b981;
  6. --color-accent: #f59e0b;
  7. --color-danger: #ef4444;
  8. --color-success: #10b981;
  9. --color-warning: #f59e0b;
  10. --color-info: #3b82f6;
  11. --color-dark: #111827;
  12. --color-light: #f3f4f6;
  13. --color-bg: #05080B;
  14. --color-text: #fff;
  15. --color-text-light: #6b7280;
  16. --color-border: #e5e7eb;
  17. }
  18. ::selection {
  19. background-color: var(--color-accent) !important;
  20. color: var(--color-bg) !important;
  21. }
  22. body {
  23. /* 设置默认字体栈 */
  24. font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';
  25. color: var(--color-text);
  26. background-color: var(--color-bg);
  27. /* 其他基础样式 */
  28. font-size: 16px;
  29. line-height: 1.6;
  30. -webkit-font-smoothing: antialiased;
  31. -moz-osx-font-smoothing: grayscale;
  32. text-rendering: optimizeLegibility;
  33. font-feature-settings: "palt";
  34. letter-spacing: 0.02em;
  35. font-weight: 400;
  36. font-style: normal;
  37. }
  38. /* 仅在日语环境下应用日文字体 */
  39. html[lang="ja"] body {
  40. font-family: 'Noto Sans JP', 'M PLUS 1p', sans-serif !important;
  41. }
  42. html[lang="en"] body {
  43. font-family: 'Montserrat', 'Noto Sans JP', sans-serif !important;
  44. }
  45. /* Markdown 内容样式 */
  46. .prose {
  47. color: rgba(255, 255, 255, 0.6);
  48. line-height: 1.625;
  49. }
  50. .prose h1 {
  51. font-size: 1.5rem;
  52. font-weight: 700;
  53. color: white;
  54. margin-bottom: 1.5rem;
  55. margin-top: 2rem;
  56. }
  57. .prose h2 {
  58. font-size: 1.25rem;
  59. font-weight: 600;
  60. color: white;
  61. margin-bottom: 1rem;
  62. margin-top: 1.5rem;
  63. }
  64. .prose h3 {
  65. font-size: 1.125rem;
  66. font-weight: 500;
  67. color: white;
  68. margin-bottom: 0.75rem;
  69. margin-top: 1.25rem;
  70. }
  71. .prose h4 {
  72. font-size: 1rem;
  73. font-weight: 500;
  74. color: white;
  75. margin-bottom: 0.5rem;
  76. margin-top: 1rem;
  77. }
  78. .prose p {
  79. margin-bottom: 1rem;
  80. line-height: 1.75;
  81. }
  82. .prose a {
  83. text-decoration: none;
  84. text-decoration-thickness: 1px;
  85. text-underline-offset: 2px;
  86. transition: color 0.2s;
  87. pointer-events: none;
  88. }
  89. .prose a:hover {
  90. color: rgb(147 197 253);
  91. }
  92. .prose ul,
  93. .prose ol {
  94. margin: 1rem 0;
  95. margin-left: 0rem;
  96. }
  97. .prose ul {
  98. list-style-type: disc;
  99. }
  100. .prose ol {
  101. list-style-type: decimal;
  102. }
  103. .prose li {
  104. margin-bottom: 0.5rem;
  105. }
  106. .prose blockquote {
  107. border-left: 4px solid rgb(59 130 246);
  108. padding-left: 1rem;
  109. padding-top: 0.5rem;
  110. padding-bottom: 0.5rem;
  111. margin: 1rem 0;
  112. background-color: rgba(39, 39, 42, 0.5);
  113. border-top-right-radius: 0.5rem;
  114. border-bottom-right-radius: 0.5rem;
  115. }
  116. .prose blockquote p {
  117. color: rgb(214 211 209);
  118. font-style: italic;
  119. margin-bottom: 0;
  120. }
  121. .prose code {
  122. background-color: rgb(39, 39, 42);
  123. padding: 0.125rem 0.375rem;
  124. border-radius: 0.25rem;
  125. font-size: 0.875rem;
  126. font-family: ui-monospace, monospace;
  127. color: rgb(147 197 253);
  128. }
  129. .prose pre {
  130. background-color: rgb(39, 39, 42);
  131. padding: 1rem;
  132. border-radius: 0.5rem;
  133. overflow-x: auto;
  134. margin: 1rem 0;
  135. }
  136. .prose pre code {
  137. background-color: transparent;
  138. padding: 0;
  139. font-size: 0.875rem;
  140. color: rgb(214 211 209);
  141. }
  142. .prose img {
  143. border-radius: 0.5rem;
  144. margin: 1.5rem 0;
  145. box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  146. }
  147. .prose table {
  148. width: 100%;
  149. margin: 1.5rem 0;
  150. border-collapse: collapse;
  151. table-layout: fixed;
  152. }
  153. .prose th {
  154. background-color: rgb(39, 39, 42);
  155. color: white;
  156. font-weight: 500;
  157. padding: 0.5rem 1rem;
  158. text-align: left;
  159. border: 1px solid rgb(63, 63, 70);
  160. }
  161. .prose td {
  162. padding: 0.5rem 1rem;
  163. border: 1px solid rgb(63, 63, 70);
  164. }
  165. .prose tr:nth-child(even) {
  166. background-color: rgba(39, 39, 42, 0.3);
  167. }
  168. .prose hr {
  169. margin: 2rem 0;
  170. border-color: rgb(63, 63, 70);
  171. }
  172. .prose strong {
  173. font-weight: 600;
  174. color: white;
  175. }
  176. .prose em {
  177. font-style: italic;
  178. color: rgb(214 211 209);
  179. }
  180. .prose kbd {
  181. background-color: rgb(39, 39, 42);
  182. padding: 0.25rem 0.5rem;
  183. border-radius: 0.25rem;
  184. font-size: 0.875rem;
  185. font-family: ui-monospace, monospace;
  186. border: 1px solid rgb(63, 63, 70);
  187. }
  188. .prose details {
  189. margin: 1rem 0;
  190. }
  191. .prose summary {
  192. cursor: pointer;
  193. font-weight: 500;
  194. color: white;
  195. }
  196. .prose details[open] summary {
  197. margin-bottom: 0.5rem;
  198. }