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

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