refactor: 修改 FiraCode 字体的位置

This commit is contained in:
unanmed 2024-10-21 12:48:04 +08:00
parent 285a18b1b8
commit 7bcd9ebeb2
5 changed files with 7 additions and 11 deletions

View File

@ -254,7 +254,8 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d =
"zone.mp3"
],
"fonts": [
"normal"
"normal",
"FiraCode"
],
"nameMap": {
"确定": "confirm.mp3",

View File

@ -66,7 +66,7 @@
}}</span
>
<span class="changable" :change="nowDamageChangable"
><span style="font-family: 'Fira Code'">{{
><span style="font-family: 'FiraCode'">{{
(nowDamage[0] as number) < 0 && !has(enemy.damage)
? '=>'
: ''

View File

@ -83,11 +83,6 @@
cursor: not-allowed;
}
@font-face {
font-family: Fira Code;
src: url(/src/fonts/FiraCode-Regular.ttf);
}
#non-ui {
position: absolute;
z-index: 999;

View File

@ -505,7 +505,7 @@ onUnmounted(() => {
color: white;
transition: color 0.2s linear;
margin-right: 7px;
font-family: 'Fira Code', 'Arial';
font-family: 'FiraCode', 'Arial';
}
.danmaku-tool[open='true'],
@ -529,7 +529,7 @@ onUnmounted(() => {
flex-direction: row;
align-items: center;
white-space: nowrap;
font-family: 'Fira Code', 'Arial';
font-family: 'FiraCode', 'Arial';
#danmaku-css-input {
width: 100%;
@ -550,7 +550,7 @@ onUnmounted(() => {
font-size: 80%;
white-space: nowrap;
justify-content: space-between;
font-family: 'Fira Code', 'Arial';
font-family: 'FiraCode', 'Arial';
.danmaku-icon-scroll {
width: calc(90% - 200px);
@ -600,7 +600,7 @@ onUnmounted(() => {
align-items: center;
white-space: nowrap;
justify-content: space-between;
font-family: 'Fira Code', 'Arial';
font-family: 'FiraCode', 'Arial';
font-size: 75%;
#danmaku-color-container {