diff --git a/src/Global.style.js b/src/Global.style.js index f8940fd..5604ad4 100644 --- a/src/Global.style.js +++ b/src/Global.style.js @@ -1,7 +1,6 @@ import { createGlobalStyle } from 'styled-components'; import reset from 'styled-reset'; import BodyBg from './assets/img/bg.texture.png'; -import JingDianWeiBeiJian from './assets/JingDianWeiBeiJian.ttf'; const GlobalStyle = createGlobalStyle` ${reset} *{ @@ -17,10 +16,6 @@ const GlobalStyle = createGlobalStyle` -moz-osx-font-smoothing: grayscale; font-family:"Fangzheng ZY", "Hiragino Sans GB", "Heiti SC", "Microsoft YaHei", "WenQuanYi Micro Hei"; } - @font-face { - font-family: 'JingDianWeiBeiJian'; - src: url(${JingDianWeiBeiJian}) format('ttf'); - } *::-webkit-scrollbar { width: 0px; background: transparent; /* Optional: just make scrollbar invisible */ diff --git a/src/components/ColorTitle.js b/src/components/ColorTitle.js index 8952eaf..4b188b3 100644 --- a/src/components/ColorTitle.js +++ b/src/components/ColorTitle.js @@ -35,7 +35,7 @@ const Wrapper = styled.hgroup` letter-spacing: 0.4rem; font-weight: 800; writing-mode: vertical-lr; - font-family: 'JingDianWeiBeiJian'; + font-family: 'SimSun', 'FangSong', 'STSong', 'STZhongsong', 'LiSu', 'KaiTi', 'Microsoft YaHei'; } > h2 { text-transform: uppercase;