diff options
author | V.H. Belvadi <hello@vhbelvadi.com> | 2019-05-14 07:33:07 +0530 |
---|---|---|
committer | Alex Shpak <alex-shpak@users.noreply.github.com> | 2019-05-15 09:53:49 +0200 |
commit | e4a97bee27c75110d983791b620dce677c44897f (patch) | |
tree | 6d0454cc82ec85f8df92b54feb7684bd839efd35 /assets | |
parent | 3920d5ff745f20a387065df2375e3c1e8e48191c (diff) |
Various changes to improve local loading of Oxygen.
Diffstat (limited to 'assets')
-rw-r--r-- | assets/_fonts.scss | 48 | ||||
-rw-r--r-- | assets/book.scss | 1 |
2 files changed, 25 insertions, 24 deletions
diff --git a/assets/_fonts.scss b/assets/_fonts.scss index 549fddc..17cd664 100644 --- a/assets/_fonts.scss +++ b/assets/_fonts.scss @@ -3,50 +3,50 @@ font-family: 'Oxygen'; font-style: normal; font-weight: 300; - src: url('oxygen-v8-latin-300.eot'); /* IE9 Compat Modes */ + src: url('/fonts/oxygen-v8-latin-300.eot'); /* IE9 Compat Modes */ src: local('Oxygen Light'), local('Oxygen-Light'), - url('oxygen-v8-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ - url('oxygen-v8-latin-300.woff2') format('woff2'), /* Super Modern Browsers */ - url('oxygen-v8-latin-300.woff') format('woff'), /* Modern Browsers */ - url('oxygen-v8-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */ - url('oxygen-v8-latin-300.svg#Oxygen') format('svg'); /* Legacy iOS */ + url('/fonts/oxygen-v8-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ + url('/fonts/oxygen-v8-latin-300.woff2') format('woff2'), /* Super Modern Browsers */ + url('/fonts/oxygen-v8-latin-300.woff') format('woff'), /* Modern Browsers */ + url('/fonts/oxygen-v8-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */ + url('/fonts/oxygen-v8-latin-300.svg#Oxygen') format('svg'); /* Legacy iOS */ } /* oxygen-regular - latin */ @font-face { font-family: 'Oxygen'; font-style: normal; font-weight: 400; - src: url('oxygen-v8-latin-regular.eot'); /* IE9 Compat Modes */ + src: url('/fonts/oxygen-v8-latin-regular.eot'); /* IE9 Compat Modes */ src: local('Oxygen Regular'), local('Oxygen-Regular'), - url('oxygen-v8-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ - url('oxygen-v8-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */ - url('oxygen-v8-latin-regular.woff') format('woff'), /* Modern Browsers */ - url('oxygen-v8-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */ - url('oxygen-v8-latin-regular.svg#Oxygen') format('svg'); /* Legacy iOS */ + url('/fonts/oxygen-v8-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ + url('/fonts/oxygen-v8-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */ + url('/fonts/oxygen-v8-latin-regular.woff') format('woff'), /* Modern Browsers */ + url('/fonts/oxygen-v8-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */ + url('/fonts/oxygen-v8-latin-regular.svg#Oxygen') format('svg'); /* Legacy iOS */ } /* oxygen-700 - latin */ @font-face { font-family: 'Oxygen'; font-style: normal; font-weight: 700; - src: url('oxygen-v8-latin-700.eot'); /* IE9 Compat Modes */ + src: url('/fonts/oxygen-v8-latin-700.eot'); /* IE9 Compat Modes */ src: local('Oxygen Bold'), local('Oxygen-Bold'), - url('oxygen-v8-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ - url('oxygen-v8-latin-700.woff2') format('woff2'), /* Super Modern Browsers */ - url('oxygen-v8-latin-700.woff') format('woff'), /* Modern Browsers */ - url('oxygen-v8-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */ - url('oxygen-v8-latin-700.svg#Oxygen') format('svg'); /* Legacy iOS */ + url('/fonts/oxygen-v8-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ + url('/fonts/oxygen-v8-latin-700.woff2') format('woff2'), /* Super Modern Browsers */ + url('/fonts/oxygen-v8-latin-700.woff') format('woff'), /* Modern Browsers */ + url('/fonts/oxygen-v8-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */ + url('/fonts/oxygen-v8-latin-700.svg#Oxygen') format('svg'); /* Legacy iOS */ } /* oxygen-mono-regular - latin */ @font-face { font-family: 'Oxygen Mono'; font-style: normal; font-weight: 400; - src: url('oxygen-mono-v6-latin-regular.eot'); /* IE9 Compat Modes */ + src: url('/fonts/oxygen-mono-v6-latin-regular.eot'); /* IE9 Compat Modes */ src: local('Oxygen Mono'), local('OxygenMono-Regular'), - url('oxygen-mono-v6-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ - url('oxygen-mono-v6-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */ - url('oxygen-mono-v6-latin-regular.woff') format('woff'), /* Modern Browsers */ - url('oxygen-mono-v6-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */ - url('oxygen-mono-v6-latin-regular.svg#OxygenMono') format('svg'); /* Legacy iOS */ + url('/fonts/oxygen-mono-v6-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ + url('/fonts/oxygen-mono-v6-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */ + url('/fonts/oxygen-mono-v6-latin-regular.woff') format('woff'), /* Modern Browsers */ + url('/fonts/oxygen-mono-v6-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */ + url('/fonts/oxygen-mono-v6-latin-regular.svg#OxygenMono') format('svg'); /* Legacy iOS */ } diff --git a/assets/book.scss b/assets/book.scss index 64cf13d..d0d8c19 100644 --- a/assets/book.scss +++ b/assets/book.scss @@ -2,6 +2,7 @@ @import "variables"; @import "markdown"; @import "utils"; +@import "fonts"; html { font-size: $font-size-base; |