/* 全局变量定义 */ page { --jiansu-bg: #ffffff; --jiansu-text: #2c2c2c; --jiansu-text-secondary: #4a4a4a; --jiansu-text-tertiary: #a0a0a0; --jiansu-border: #f0f0f0; --jiansu-border-light: #e0e0e0; --jiansu-accent: #8e8e8e; --jiansu-red: #b22222; } /* 全局基础样式 */ page { font-family: "Noto Serif SC", "Source Han Serif SC", "PingFang SC", "Microsoft YaHei", serif; background-color: var(--jiansu-bg); color: var(--jiansu-text); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } /* 隐藏滚动条 */ ::-webkit-scrollbar { display: none; } /* 通用按钮重置 */ button { margin: 0; padding: 0; background: none; border: none; font-family: inherit; } button::after { border: none; } /* 通用输入框重置 */ input { font-family: inherit; outline: none; } /* 通用文本样式 */ .text-primary { color: var(--jiansu-text); } .text-secondary { color: var(--jiansu-text-secondary); } .text-tertiary { color: var(--jiansu-text-tertiary); } /* 通用边框样式 */ .border-light { border-color: var(--jiansu-border); } .border-lighter { border-color: var(--jiansu-border-light); }