change default font to monospace

This commit is contained in:
bossgeekgo
2024-02-12 19:31:34 +08:00
parent f098386bc2
commit 612a76ddd0
4 changed files with 9 additions and 7 deletions

View File

@@ -3,6 +3,7 @@ import ElementPlus from 'element-plus'
import App from './App.vue'
import router from './router'
import 'normalize.css'
import './style/public.scss'
import 'element-plus/dist/index.css'
createApp(App).use(router).use(ElementPlus).mount('#app')

View File

@@ -94,7 +94,6 @@ const handleExpectCompaniesInputBlur = (event) => {
<style scoped lang="scss">
.form-wrap {
--monospace-font-family: Monaco, Consolas, Menlo, monospace;
padding-top: 100px;
margin: 0 auto;
max-width: 640px;
@@ -104,10 +103,5 @@ const handleExpectCompaniesInputBlur = (event) => {
justify-content: flex-end;
}
}
font-family: var(--monospace-font-family);
button, input, textarea {
font-family: var(--monospace-font-family);
}
}
</style>

View File

@@ -3,7 +3,7 @@
<article>
<h1>Hi buddy!</h1>
<p>I'm finding your expected job and will start a chat with recruiter.</p>
<p>You can view the positions I've chatted with in BossZhipin App on your cellphone.</p>
<p>You can view the positions you've chatted with in BossZhipin App on your cellphone.</p>
<p>Good luck to you!</p>
</article>
<el-button :disabled="isStopping" @click="handleStop">Stop</el-button>

View File

@@ -0,0 +1,7 @@
html, body {
--monospace-font-family: Monaco, Consolas, Menlo, monospace;
font-family: var(--monospace-font-family);
}
button, input, textarea {
font-family: inherit;
}