Hanye官网
Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

styles.css 1.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. @import url('https://fonts.googleapis.com/css2?family=M+PLUS+1p&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. }
  31. /* 仅在日语环境下应用日文字体 */
  32. html[lang="ja"] body {
  33. font-family: 'M PLUS 1p', sans-serif !important;
  34. }
  35. html[lang="en"] body {
  36. font-family: 'Montserrat', sans-serif !important;
  37. }