forked from mirror/chinese-colors
feat: remove special font
This commit is contained in:
parent
18ccce452c
commit
9f26656966
@ -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 */
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user