diff options
| author | Haishan <[email protected]> | 2018-10-22 23:54:40 +0800 |
|---|---|---|
| committer | Haishan <[email protected]> | 2018-10-23 00:06:18 +0800 |
| commit | a7187d72b8a01e4d5abfb8a6c94eb364ff082a13 (patch) | |
| tree | 648fa6d90c07e29bcd94eedddbc1f881d7674ae1 /src/components/Root.scss | |
| parent | 26e223c9cc5883393c73e08a5583f0086756e442 (diff) | |
style: use roboto mono as log font family
Diffstat (limited to 'src/components/Root.scss')
| -rw-r--r-- | src/components/Root.scss | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/components/Root.scss b/src/components/Root.scss index ac1b502..243604f 100644 --- a/src/components/Root.scss +++ b/src/components/Root.scss @@ -1,3 +1,16 @@ +// this font-family only covers latin +@font-face { + font-family: 'Roboto Mono'; + font-style: normal; + font-weight: 400; + src: local('Roboto Mono'), local('RobotoMono-Regular'), + url('https://cdn.jsdelivr.net/npm/@hsjs/[email protected]/robotomono/v5/L0x5DF4xlVMF-BfR8bXMIjhLq3-cXbKD.woff2') + format('woff2'); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, + U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, + U+FEFF, U+FFFD; +} + .border-left, .border-top, .border-bottom { |
