Files
leaudit-platform-frontend/app/styles/fonts/source-han-sans.css
T
LiangShiyong 30e100ef3e feat: 1. 本地化思源黑体的字体包并优先使用。
2. 添加权限映射表和全局查看权限的hook,便于路由控制不同权限按钮显示/隐藏。
3. 删除评查点分组的部分旧api方法。
4. 对接评查点分组接口,文档类型接口, 提示词管理接口, 入口模块管理的接口。
5. 优化角色权限管理的接口,完善不用地区的访问权限认证。
6. 优化主页交叉评查和设置的入口样式和布局。
7. 优化评查点分组,评查规则的功能权限校验。
2025-11-29 10:37:35 +08:00

44 lines
1.2 KiB
CSS
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/**
* 思源黑体(Source Han Sans)字体定义
* 本地托管版本,支持 woff2/woff/otf 格式
*/
/* 思源黑体 - 常规(Regular/Normal - 400 */
@font-face {
font-family: 'Source Han Sans SC';
font-style: normal;
font-weight: 400;
font-display: swap; /* 快速显示文本,字体加载完成后替换 */
src: local('Source Han Sans SC Regular'),
local('SourceHanSansSC-Regular'),
url('/fonts/source-han-sans/SourceHanSansSC-Regular.otf') format('opentype');
}
/* 思源黑体 - 中等(Medium - 500 */
@font-face {
font-family: 'Source Han Sans SC';
font-style: normal;
font-weight: 500;
font-display: swap;
src: local('Source Han Sans SC Medium'),
local('SourceHanSansSC-Medium'),
url('/fonts/source-han-sans/SourceHanSansSC-Medium.otf') format('opentype');
}
/* 思源黑体 - 粗体(Bold - 700 */
@font-face {
font-family: 'Source Han Sans SC';
font-style: normal;
font-weight: 700;
font-display: swap;
src: local('Source Han Sans SC Bold'),
local('SourceHanSansSC-Bold'),
url('/fonts/source-han-sans/SourceHanSansSC-Bold.otf') format('opentype');
}
/* 如果需要更多字重,可以继续添加:
* - Light (300)
* - ExtraLight (250)
* - Heavy (900)
*/