diff --git a/.gitignore b/.gitignore index 46e9506..0bb107f 100644 --- a/.gitignore +++ b/.gitignore @@ -114,3 +114,6 @@ dist # TernJS port file .tern-port workspace.code-workspace + +# IntelliJ IDEA project files +/.idea/* diff --git a/public/index.html b/public/index.html index 58e0784..46e8109 100644 --- a/public/index.html +++ b/public/index.html @@ -10,6 +10,8 @@ + + 控制面板 | MCSManager diff --git a/src/app/index.js b/src/app/index.js index a7a6658..2c5ad08 100644 --- a/src/app/index.js +++ b/src/app/index.js @@ -33,7 +33,6 @@ import "../assets/css/common.css"; import "../assets/css/tools.css"; import "../assets/css/responsive.css"; import "../assets/css/action.css"; -import "../assets/css/fonts.css"; import App from "./App.vue"; import "./service/protocol"; diff --git a/src/app/service/term.js b/src/app/service/term.js index 5d0ba20..3e1ab02 100644 --- a/src/app/service/term.js +++ b/src/app/service/term.js @@ -55,7 +55,7 @@ export function initTerminalWindow(elem, fontSize = 14) { cursorStyle: "underline", cursorBlink: true, fontSize: fontSize, - fontFamily: "'Fira Code', monospace", + fontFamily: "Fira Code", theme: { background: "#1e1e1e" } diff --git a/src/assets/css/fonts.css b/src/assets/css/fonts.css deleted file mode 100644 index 8ef4b35..0000000 --- a/src/assets/css/fonts.css +++ /dev/null @@ -1,18 +0,0 @@ -/* latin-ext */ -@font-face { - font-family: 'Fira Code'; - font-style: normal; - font-weight: 400; - font-display: swap; - src: url(../fonts/fira_code_latin_ext.woff2) format('woff2'); - unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; -} -/* latin */ -@font-face { - font-family: 'Fira Code'; - font-style: normal; - font-weight: 400; - font-display: swap; - src: url(../fonts/fira_code_latin.woff2) format('woff2'); - unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; -} diff --git a/src/assets/fonts/fira_code_latin.woff2 b/src/assets/fonts/fira_code_latin.woff2 deleted file mode 100644 index 9e5594b..0000000 Binary files a/src/assets/fonts/fira_code_latin.woff2 and /dev/null differ diff --git a/src/assets/fonts/fira_code_latin_ext.woff2 b/src/assets/fonts/fira_code_latin_ext.woff2 deleted file mode 100644 index 10d75ec..0000000 Binary files a/src/assets/fonts/fira_code_latin_ext.woff2 and /dev/null differ