From 9aa0040ed5baf3840ee172da076d9c33b485cf54 Mon Sep 17 00:00:00 2001 From: "V.H. Belvadi" Date: Mon, 13 May 2019 11:19:49 +0530 Subject: [PATCH] Initial commit Added _fonts.scss to load Oxygen locally. --- assets/_fonts.scss | 56 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 assets/_fonts.scss diff --git a/assets/_fonts.scss b/assets/_fonts.scss new file mode 100644 index 0000000..128f22e --- /dev/null +++ b/assets/_fonts.scss @@ -0,0 +1,56 @@ +/* oxygen-300 - latin */ +@font-face { + font-family: 'Oxygen'; + font-style: normal; + font-weight: 300; + src: url('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 */ +} +/* 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: 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 */ +} +/* 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: 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 */ +} +/* 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: 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 */ +} +/* Apply font to body */ +body { + font-family: "Oxygen", sans-serif; +} \ No newline at end of file