首页
Showing
2 changed files
with
7 additions
and
1 deletions
| ... | @@ -54,6 +54,12 @@ watch(language, (val) => { | ... | @@ -54,6 +54,12 @@ watch(language, (val) => { |
| 54 | //--el-button-hover-bg-color: transparent; | 54 | //--el-button-hover-bg-color: transparent; |
| 55 | } | 55 | } |
| 56 | 56 | ||
| 57 | @font-face { | ||
| 58 | font-family: 'MyCustomFont'; | ||
| 59 | src: url('@/assets/fonsFamily/Barlow-Medium.ttf') format('truetype'); | ||
| 60 | font-display: swap; | ||
| 61 | } | ||
| 62 | |||
| 57 | .box { | 63 | .box { |
| 58 | width: 1600px; | 64 | width: 1600px; |
| 59 | margin: auto; | 65 | margin: auto; |
| ... | @@ -204,7 +210,7 @@ li.el-select-dropdown__item { | ... | @@ -204,7 +210,7 @@ li.el-select-dropdown__item { |
| 204 | 210 | ||
| 205 | .el-menu--horizontal > .el-menu-item { | 211 | .el-menu--horizontal > .el-menu-item { |
| 206 | font-size: 16px; | 212 | font-size: 16px; |
| 207 | font-family: sans-serif; | 213 | font-family: MyCustomFont, serif; |
| 208 | color: #fff; | 214 | color: #fff; |
| 209 | } | 215 | } |
| 210 | } | 216 | } | ... | ... |
src/assets/fonsFamily/Barlow-Medium.ttf
0 → 100644
No preview for this file type
-
Please register or sign in to post a comment