123456789101112131415161718192021222324252627282930313233343536373839404142 |
- @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');
-
- :root {
- /* 颜色变量 */
- --color-primary: #3b82f6;
- --color-secondary: #10b981;
- --color-accent: #f59e0b;
- --color-danger: #ef4444;
- --color-success: #10b981;
- --color-warning: #f59e0b;
- --color-info: #3b82f6;
- --color-dark: #111827;
- --color-light: #f3f4f6;
- --color-bg: #05080B;
- --color-text: #fff;
- --color-text-light: #6b7280;
- --color-border: #e5e7eb;
- }
- ::selection{
- background-color: var(--color-accent) !important;
- color: var(--color-bg) !important;
- }
-
- body {
- /* 设置默认字体栈 */
- font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';
- color: var(--color-text);
- background-color: var(--color-bg);
- /* 其他基础样式 */
- font-size: 16px;
- line-height: 1.6;
- }
-
-
- /* 仅在日语环境下应用日文字体 */
- html[lang="ja"] body {
- font-family: 'M PLUS 1p', sans-serif !important;
- }
-
- html[lang="en"] body {
- font-family: 'Montserrat', sans-serif !important;
- }
|