diff options
author | Alex Shpak <alex-shpak@users.noreply.github.com> | 2019-05-22 09:08:15 +0200 |
---|---|---|
committer | Alex Shpak <alex-shpak@users.noreply.github.com> | 2019-05-22 09:08:15 +0200 |
commit | 612814aa595fd31df6cab4d4ace917257d62ca3f (patch) | |
tree | 1b3830d42781e211a884539a761b0611c55c6aad /assets/_fonts.scss | |
parent | e4a97bee27c75110d983791b620dce677c44897f (diff) |
Add font-display for font fallback, move body font style to _fonts.scss
Diffstat (limited to 'assets/_fonts.scss')
-rw-r--r-- | assets/_fonts.scss | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/assets/_fonts.scss b/assets/_fonts.scss index 17cd664..cf8f5ab 100644 --- a/assets/_fonts.scss +++ b/assets/_fonts.scss @@ -3,6 +3,7 @@ font-family: 'Oxygen'; font-style: normal; font-weight: 300; + font-display: swap; src: url('/fonts/oxygen-v8-latin-300.eot'); /* IE9 Compat Modes */ src: local('Oxygen Light'), local('Oxygen-Light'), url('/fonts/oxygen-v8-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ @@ -16,6 +17,7 @@ font-family: 'Oxygen'; font-style: normal; font-weight: 400; + font-display: swap; src: url('/fonts/oxygen-v8-latin-regular.eot'); /* IE9 Compat Modes */ src: local('Oxygen Regular'), local('Oxygen-Regular'), url('/fonts/oxygen-v8-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ @@ -29,6 +31,7 @@ font-family: 'Oxygen'; font-style: normal; font-weight: 700; + font-display: swap; src: url('/fonts/oxygen-v8-latin-700.eot'); /* IE9 Compat Modes */ src: local('Oxygen Bold'), local('Oxygen-Bold'), url('/fonts/oxygen-v8-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ @@ -42,6 +45,7 @@ font-family: 'Oxygen Mono'; font-style: normal; font-weight: 400; + font-display: swap; src: url('/fonts/oxygen-mono-v6-latin-regular.eot'); /* IE9 Compat Modes */ src: local('Oxygen Mono'), local('OxygenMono-Regular'), url('/fonts/oxygen-mono-v6-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ @@ -50,3 +54,7 @@ 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 */ } + +body { + font-family: "Oxygen", sans-serif; +} |