浏览代码

updated web font CSS files with new build paths and sha1 short codes

Chris Simpkins 8 年之前
父节点
当前提交
33481a3397
共有 2 个文件被更改,包括 13 次插入20 次删除
  1. 6 10
      build/web/hack-subset.css
  2. 7 10
      build/web/hack.css

+ 6 - 10
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 PATHS
  * -------------------------- */
  * -------------------------- */
 @font-face {
 @font-face {
   font-family: 'Hack';
   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-weight: 400;
   font-style: normal;
   font-style: normal;
 }
 }
 
 
 @font-face {
 @font-face {
   font-family: 'Hack';
   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-weight: 700;
   font-style: normal;
   font-style: normal;
 }
 }
 
 
 @font-face {
 @font-face {
   font-family: 'Hack';
   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-weight: 400;
   font-style: italic;
   font-style: italic;
 }
 }
 
 
 @font-face {
 @font-face {
   font-family: 'Hack';
   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-weight: 700;
   font-style: italic;
   font-style: italic;
 }
 }

+ 7 - 10
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 PATHS
  * -------------------------- */
  * -------------------------- */
 @font-face {
 @font-face {
   font-family: 'Hack';
   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-weight: 400;
   font-style: normal;
   font-style: normal;
 }
 }
 
 
 @font-face {
 @font-face {
   font-family: 'Hack';
   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-weight: 700;
   font-style: normal;
   font-style: normal;
 }
 }
 
 
 @font-face {
 @font-face {
   font-family: 'Hack';
   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-weight: 400;
   font-style: italic;
   font-style: italic;
 }
 }
 
 
 @font-face {
 @font-face {
   font-family: 'Hack';
   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-weight: 700;
   font-style: italic;
   font-style: italic;
 }
 }
+