From 33481a3397323ae71c2740e7b9447b1d7eef4341 Mon Sep 17 00:00:00 2001 From: Chris Simpkins Date: Tue, 3 Oct 2017 21:52:23 -0400 Subject: [PATCH] updated web font CSS files with new build paths and sha1 short codes --- build/web/hack-subset.css | 16 ++++++---------- build/web/hack.css | 17 +++++++---------- 2 files changed, 13 insertions(+), 20 deletions(-) diff --git a/build/web/hack-subset.css b/build/web/hack-subset.css index 0f984610c..689e3d95d 100644 --- a/build/web/hack-subset.css +++ b/build/web/hack-subset.css @@ -1,37 +1,33 @@ /*! - * Hack v2.020 - https://sourcefoundry.org/hack/ - * Licenses - Fonts: Hack Open Font License + Bitstream Vera license, CSS: MIT License + * Hack typeface https://github.com/source-foundry/Hack + * License: https://github.com/source-foundry/Hack/blob/master/LICENSE.md */ /* FONT PATHS * -------------------------- */ @font-face { font-family: 'Hack'; - src: url('../fonts/eot/hack-regular-webfont.eot?v=2.020'); - src: url('../fonts/eot/hack-regular-webfont.eot?#iefix&v=2.020') format('embedded-opentype'), url('../fonts/woff2/hack-regular-webfont.woff2?v=2.020') format('woff2'), url('../fonts/woff/hack-regular-webfont.woff?v=2.020') format('woff'), url('../fonts/web-ttf/hack-regular-webfont.ttf?v=2.020') format('truetype'); + src: url('/fonts/hack-regular-subset.woff2?sha=e700a30') format('woff2'), url('/fonts/hack-regular-subset.woff?sha=e700a30') format('woff'); font-weight: 400; font-style: normal; } @font-face { font-family: 'Hack'; - src: url('../fonts/eot/hack-bold-webfont.eot?v=2.020'); - src: url('../fonts/eot/hack-bold-webfont.eot?#iefix&v=2.020') format('embedded-opentype'), url('../fonts/woff2/hack-bold-webfont.woff2?v=2.020') format('woff2'), url('../fonts/woff/hack-bold-webfont.woff?v=2.020') format('woff'), url('../fonts/web-ttf/hack-bold-webfont.ttf?v=2.020') format('truetype'); + src: url('/fonts/hack-bold-subset.woff2?sha=e700a30') format('woff2'), url('/fonts/hack-bold-subset.woff?sha=e700a30') format('woff'); font-weight: 700; font-style: normal; } @font-face { font-family: 'Hack'; - src: url('../fonts/eot/hack-italic-webfont.eot?v=2.020'); - src: url('../fonts/eot/hack-italic-webfont.eot?#iefix&v=2.020') format('embedded-opentype'), url('../fonts/woff2/hack-italic-webfont.woff2?v=2.020') format('woff2'), url('../fonts/woff/hack-italic-webfont.woff?v=2.020') format('woff'), url('../fonts/web-ttf/hack-italic-webfont.ttf?v=2.020') format('truetype'); + src: url('/fonts/hack-italic-subset.woff2?sha=e700a30') format('woff2'), url('/fonts/hack-italic-webfont.woff?sha=e700a30') format('woff'); font-weight: 400; font-style: italic; } @font-face { font-family: 'Hack'; - src: url('../fonts/eot/hack-bolditalic-webfont.eot?v=2.020'); - src: url('../fonts/eot/hack-bolditalic-webfont.eot?#iefix&v=2.020') format('embedded-opentype'), url('../fonts/woff2/hack-bolditalic-webfont.woff2?v=2.020') format('woff2'), url('../fonts/woff/hack-bolditalic-webfont.woff?v=2.020') format('woff'), url('../fonts/web-ttf/hack-bolditalic-webfont.ttf?v=2.020') format('truetype'); + src: url('/fonts/hack-bolditalic-subset.woff2?sha=e700a30') format('woff2'), url('/fonts/hack-bolditalic-subset.woff?sha=e700a30') format('woff'); font-weight: 700; font-style: italic; } diff --git a/build/web/hack.css b/build/web/hack.css index 386baf095..c6db3529b 100644 --- a/build/web/hack.css +++ b/build/web/hack.css @@ -1,37 +1,34 @@ /*! - * Hack v2.020 - https://sourcefoundry.org/hack/ - * Licenses - Fonts: Hack Open Font License + Bitstream Vera license, CSS: MIT License + * Hack typeface https://github.com/source-foundry/Hack + * License: https://github.com/source-foundry/Hack/blob/master/LICENSE.md */ /* FONT PATHS * -------------------------- */ @font-face { font-family: 'Hack'; - src: url('../fonts/eot/latin/hack-regular-latin-webfont.eot?v=2.020'); - src: url('../fonts/eot/latin/hack-regular-latin-webfont.eot?#iefix&v=2.020') format('embedded-opentype'), url('../fonts/woff2/latin/hack-regular-latin-webfont.woff2?v=2.020') format('woff2'), url('../fonts/woff/latin/hack-regular-latin-webfont.woff?v=2.020') format('woff'), url('../fonts/web-ttf/latin/hack-regular-latin-webfont.ttf?v=2.020') format('truetype'); + src: url('fonts/hack-regular.woff2?sha=e700a30') format('woff2'), url('fonts/hack-regular.woff?sha=e700a30') format('woff'); font-weight: 400; font-style: normal; } @font-face { font-family: 'Hack'; - src: url('../fonts/eot/latin/hack-bold-latin-webfont.eot?v=2.020'); - src: url('../fonts/eot/latin/hack-bold-latin-webfont.eot?#iefix&v=2.020') format('embedded-opentype'), url('../fonts/woff2/latin/hack-bold-latin-webfont.woff2?v=2.020') format('woff2'), url('../fonts/woff/latin/hack-bold-latin-webfont.woff?v=2.020') format('woff'), url('../fonts/web-ttf/latin/hack-bold-latin-webfont.ttf?v=2.020') format('truetype'); + src: url('fonts/hack-bold.woff2?sha=e700a30') format('woff2'), url('fonts/hack-bold.woff?sha=e700a30') format('woff'); font-weight: 700; font-style: normal; } @font-face { font-family: 'Hack'; - src: url('../fonts/eot/latin/hack-italic-latin-webfont.eot?v=2.020'); - src: url('../fonts/eot/latin/hack-italic-latin-webfont.eot?#iefix&v=2.020') format('embedded-opentype'), url('../fonts/woff2/latin/hack-italic-latin-webfont.woff2?v=2.020') format('woff2'), url('../fonts/woff/latin/hack-italic-latin-webfont.woff?v=2.020') format('woff'), url('../fonts/web-ttf/latin/hack-italic-latin-webfont.ttf?v=2.020') format('truetype'); + src: url('fonts/hack-italic.woff2?sha=e700a30') format('woff2'), url('fonts/hack-italic.woff?sha=e700a30') format('woff'); font-weight: 400; font-style: italic; } @font-face { font-family: 'Hack'; - src: url('../fonts/eot/latin/hack-bolditalic-latin-webfont.eot?v=2.020'); - src: url('../fonts/eot/latin/hack-bolditalic-latin-webfont.eot?#iefix&v=2.020') format('embedded-opentype'), url('../fonts/woff2/latin/hack-bolditalic-latin-webfont.woff2?v=2.020') format('woff2'), url('../fonts/woff/latin/hack-bolditalic-latin-webfont.woff?v=2.020') format('woff'), url('../fonts/web-ttf/latin/hack-bolditalic-latin-webfont.ttf?v=2.020') format('truetype'); + src: url('fonts/hack-bolditalic.woff2?sha=e700a30') format('woff2'), url('fonts/hack-bolditalic.woff?sha=e700a30') format('woff'); font-weight: 700; font-style: italic; } +