diff options
author | Angelo Stavrow <angelo@fogcreek.com> | 2018-10-15 02:58:27 +0300 |
---|---|---|
committer | Angelo Stavrow <angelo@fogcreek.com> | 2018-10-15 02:58:27 +0300 |
commit | e23427c07662d4d264bb21043f00234a2927b91c (patch) | |
tree | bcc86f39c5c19a74d8f93cbdee2a7d48279dad91 /static | |
parent | d91dc146533c4ae98f44bc5c07756aeed14a316e (diff) |
Add Fira Code font to theme download (closes #17)v1.0.1
Diffstat (limited to 'static')
-rw-r--r-- | static/css/style.css | 13 | ||||
-rwxr-xr-x | static/fonts/FiraCode-Regular.eot | bin | 0 -> 94467 bytes | |||
-rwxr-xr-x | static/fonts/FiraCode-Regular.otf | bin | 0 -> 160448 bytes | |||
-rwxr-xr-x | static/fonts/FiraCode-Regular.ttf | bin | 0 -> 227848 bytes | |||
-rwxr-xr-x | static/fonts/FiraCode-Regular.woff | bin | 0 -> 102788 bytes | |||
-rwxr-xr-x | static/fonts/FiraCode-Regular.woff2 | bin | 0 -> 80724 bytes |
6 files changed, 11 insertions, 2 deletions
diff --git a/static/css/style.css b/static/css/style.css index 9e359b6..2b3d846 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -1,8 +1,17 @@ -@import url(https://cdn.rawgit.com/AngeloStavrow/FiraCode/1.205/distr/fira_code.css); +@font-face{ + font-family: 'Fira Code'; + src: url('/fonts/FiraCode-Regular.eot'); + src: url('/fonts/FiraCode-Regular.eot') format('embedded-opentype'), + url('/fonts/FiraCode-Regular.woff2') format('woff2'), + url('/fonts/FiraCode-Regular.woff') format('woff'), + url('/fonts/FiraCode-Regular.ttf') format('truetype'); + font-weight: 400; + font-style: normal; +} @font-face { font-family: 'Charter'; - src: url('/fonts/charter_regular-webfont.eot?') format('eot'); + src: url('/fonts/charter_regular-webfont.eot') format('eot'); src: url('/fonts/charter_regular-webfont.woff') format('woff'); src: url('/fonts/charter_regular-webfont.ttf') format('truetype'); } diff --git a/static/fonts/FiraCode-Regular.eot b/static/fonts/FiraCode-Regular.eot Binary files differnew file mode 100755 index 0000000..cef458e --- /dev/null +++ b/static/fonts/FiraCode-Regular.eot diff --git a/static/fonts/FiraCode-Regular.otf b/static/fonts/FiraCode-Regular.otf Binary files differnew file mode 100755 index 0000000..4770d16 --- /dev/null +++ b/static/fonts/FiraCode-Regular.otf diff --git a/static/fonts/FiraCode-Regular.ttf b/static/fonts/FiraCode-Regular.ttf Binary files differnew file mode 100755 index 0000000..0fb0817 --- /dev/null +++ b/static/fonts/FiraCode-Regular.ttf diff --git a/static/fonts/FiraCode-Regular.woff b/static/fonts/FiraCode-Regular.woff Binary files differnew file mode 100755 index 0000000..5e4106f --- /dev/null +++ b/static/fonts/FiraCode-Regular.woff diff --git a/static/fonts/FiraCode-Regular.woff2 b/static/fonts/FiraCode-Regular.woff2 Binary files differnew file mode 100755 index 0000000..df544dc --- /dev/null +++ b/static/fonts/FiraCode-Regular.woff2 |