Skip to content

Commit

Permalink
feat: font link update
Browse files Browse the repository at this point in the history
  • Loading branch information
Souma-Sumire committed Oct 24, 2024
1 parent 4762151 commit 8ed6bd0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
</head>
<body>
<div id="app"></div>
<link rel="stylesheet" href="//overlay.diemoe.net/font/Smartisan%20Compact%20CNS%20Light/?replaceName=SmartisanHei" />
<style>
[v-cloak] {
display: none;
Expand Down
7 changes: 0 additions & 7 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,4 @@ import zhCn from 'element-plus/es/locale/lang/zh-cn'
</template>

<style lang="scss">
@font-face {
font-family: "SmartisanHei";
src: url("https://ffxiv-res.diemoe.net/SmartisanHei.woff2") format("woff2"), url("https://ffxiv-res.diemoe.net/SmartisanHei.ttf"),
url("https://cdn.diemoe.net/files/fonts/SmartisanHei.woff2") format("woff2"), url("https://cdn.diemoe.net/files/fonts/SmartisanHei.ttf");
font-weight: normal;
font-style: normal;
}
</style>

0 comments on commit 8ed6bd0

Please sign in to comment.