From e23427c07662d4d264bb21043f00234a2927b91c Mon Sep 17 00:00:00 2001 From: Angelo Stavrow Date: Sun, 14 Oct 2018 19:58:27 -0400 Subject: Add Fira Code font to theme download (closes #17) --- static/css/style.css | 13 +++++++++++-- static/fonts/FiraCode-Regular.eot | Bin 0 -> 94467 bytes static/fonts/FiraCode-Regular.otf | Bin 0 -> 160448 bytes static/fonts/FiraCode-Regular.ttf | Bin 0 -> 227848 bytes static/fonts/FiraCode-Regular.woff | Bin 0 -> 102788 bytes static/fonts/FiraCode-Regular.woff2 | Bin 0 -> 80724 bytes 6 files changed, 11 insertions(+), 2 deletions(-) create mode 100755 static/fonts/FiraCode-Regular.eot create mode 100755 static/fonts/FiraCode-Regular.otf create mode 100755 static/fonts/FiraCode-Regular.ttf create mode 100755 static/fonts/FiraCode-Regular.woff create mode 100755 static/fonts/FiraCode-Regular.woff2 (limited to 'static') 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 new file mode 100755 index 0000000..cef458e Binary files /dev/null and b/static/fonts/FiraCode-Regular.eot differ diff --git a/static/fonts/FiraCode-Regular.otf b/static/fonts/FiraCode-Regular.otf new file mode 100755 index 0000000..4770d16 Binary files /dev/null and b/static/fonts/FiraCode-Regular.otf differ diff --git a/static/fonts/FiraCode-Regular.ttf b/static/fonts/FiraCode-Regular.ttf new file mode 100755 index 0000000..0fb0817 Binary files /dev/null and b/static/fonts/FiraCode-Regular.ttf differ diff --git a/static/fonts/FiraCode-Regular.woff b/static/fonts/FiraCode-Regular.woff new file mode 100755 index 0000000..5e4106f Binary files /dev/null and b/static/fonts/FiraCode-Regular.woff differ diff --git a/static/fonts/FiraCode-Regular.woff2 b/static/fonts/FiraCode-Regular.woff2 new file mode 100755 index 0000000..df544dc Binary files /dev/null and b/static/fonts/FiraCode-Regular.woff2 differ -- cgit v1.2.3