Merge pull request #600 from h3poteto/fonts

Fix default fonts for japanese
This commit is contained in:
AkiraFukushima 2018-09-11 08:56:40 +09:00 committed by GitHub
commit 9d17c88d85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 1 deletions

View File

@ -42,7 +42,19 @@ export default {
</script> </script>
<style lang="scss"> <style lang="scss">
body { font-family: 'Noto Sans', sans-serif; } body {
font-family: 'Noto Sans', 'Noto Sans CJK JP', 'Takaoゴシック', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, メイリオ, Osaka, 'MS PGothic', arial, helvetica, sans-serif;
}
/*
These selectors are defined in user agent stylesheet. So I override.
*/
input,
textarea,
select,
button {
font-family: 'Noto Sans', 'Noto Sans CJK JP', 'Takaoゴシック', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, メイリオ, Osaka, 'MS PGothic', arial, helvetica, sans-serif;
}
html, body, #app { html, body, #app {
--theme-background-color: #ffffff; --theme-background-color: #ffffff;