diff options
author | Sam Potts <sam@potts.es> | 2017-12-20 15:14:05 +0000 |
---|---|---|
committer | Sam Potts <sam@potts.es> | 2017-12-20 15:14:05 +0000 |
commit | 6864149989c6a5b1bb6e9199e1f8af062c64dcc4 (patch) | |
tree | 283649e596f5a81780fabe3603bb0be7d0d47485 /demo/src/sass/lib/fontface.scss | |
parent | aab53fa91fded2babdef8c3529a0ff1203f92f97 (diff) | |
download | plyr-6864149989c6a5b1bb6e9199e1f8af062c64dcc4.tar.lz plyr-6864149989c6a5b1bb6e9199e1f8af062c64dcc4.tar.xz plyr-6864149989c6a5b1bb6e9199e1f8af062c64dcc4.zip |
Converted to SASS/SCSS
Diffstat (limited to 'demo/src/sass/lib/fontface.scss')
-rw-r--r-- | demo/src/sass/lib/fontface.scss | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/demo/src/sass/lib/fontface.scss b/demo/src/sass/lib/fontface.scss new file mode 100644 index 00000000..e7e4edf8 --- /dev/null +++ b/demo/src/sass/lib/fontface.scss @@ -0,0 +1,45 @@ +// ========================================================================== +// Fonts +// ========================================================================== + +@font-face { + font-display: swap; + font-family: 'Gordita'; + font-style: normal; + font-weight: $font-weight-light; + src: url('https://cdn.plyr.io/static/fonts/gordita-light.woff2') format('woff2'), url('https://cdn.plyr.io/static/fonts/gordita-light.woff') format('woff'); +} + +@font-face { + font-display: swap; + font-family: 'Gordita'; + font-style: normal; + font-weight: $font-weight-regular; + src: url('https://cdn.plyr.io/static/fonts/gordita-regular.woff2') format('woff2'), + url('https://cdn.plyr.io/static/fonts/gordita-regular.woff') format('woff'); +} + +@font-face { + font-display: swap; + font-family: 'Gordita'; + font-style: normal; + font-weight: $font-weight-medium; + src: url('https://cdn.plyr.io/static/fonts/gordita-medium.woff2') format('woff2'), + url('https://cdn.plyr.io/static/fonts/gordita-medium.woff') format('woff'); +} + +@font-face { + font-display: swap; + font-family: 'Gordita'; + font-style: normal; + font-weight: $font-weight-bold; + src: url('https://cdn.plyr.io/static/fonts/gordita-bold.woff2') format('woff2'), url('https://cdn.plyr.io/static/fonts/gordita-bold.woff') format('woff'); +} + +@font-face { + font-display: swap; + font-family: 'Gordita'; + font-style: normal; + font-weight: $font-weight-black; + src: url('https://cdn.plyr.io/static/fonts/gordita-black.woff2') format('woff2'), url('https://cdn.plyr.io/static/fonts/gordita-black.woff') format('woff'); +} |