feat: remove special font

This commit is contained in:
Tristan 2019-09-07 12:59:54 +08:00
parent 18ccce452c
commit 9f26656966
2 changed files with 1 additions and 6 deletions

View File

@ -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 */

View File

@ -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;