Przeglądaj źródła

added new Ink CSS template files

Chris Simpkins 7 lat temu
rodzic
commit
1429f44787
2 zmienionych plików z 68 dodań i 0 usunięć
  1. 34 0
      build/web/hack-subset.css.in
  2. 34 0
      build/web/hack.css.in

+ 34 - 0
build/web/hack-subset.css.in

@@ -0,0 +1,34 @@
+/*!
+ *  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/hack-regular-subset.woff2?sha={{.Ink}}') format('woff2'), url('fonts/hack-regular-subset.woff?sha={{.Ink}}') format('woff');
+  font-weight: 400;
+  font-style: normal;
+}
+
+@font-face {
+  font-family: 'Hack';
+  src: url('fonts/hack-bold-subset.woff2?sha={{.Ink}}') format('woff2'), url('fonts/hack-bold-subset.woff?sha={{.Ink}}') format('woff');
+  font-weight: 700;
+  font-style: normal;
+}
+
+@font-face {
+  font-family: 'Hack';
+  src: url('fonts/hack-italic-subset.woff2?sha={{.Ink}}') format('woff2'), url('fonts/hack-italic-webfont.woff?sha={{.Ink}}') format('woff');
+  font-weight: 400;
+  font-style: italic;
+}
+
+@font-face {
+  font-family: 'Hack';
+  src: url('fonts/hack-bolditalic-subset.woff2?sha={{.Ink}}') format('woff2'), url('fonts/hack-bolditalic-subset.woff?sha={{.Ink}}') format('woff');
+  font-weight: 700;
+  font-style: italic;
+}
+

+ 34 - 0
build/web/hack.css.in

@@ -0,0 +1,34 @@
+/*!
+ *  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/hack-regular.woff2?sha={{.Ink}}') format('woff2'), url('fonts/hack-regular.woff?sha={{.Ink}}') format('woff');
+  font-weight: 400;
+  font-style: normal;
+}
+
+@font-face {
+  font-family: 'Hack';
+  src: url('fonts/hack-bold.woff2?sha={{.Ink}}') format('woff2'), url('fonts/hack-bold.woff?sha={{.Ink}}') format('woff');
+  font-weight: 700;
+  font-style: normal;
+}
+
+@font-face {
+  font-family: 'Hack';
+  src: url('fonts/hack-italic.woff2?sha={{.Ink}}') format('woff2'), url('fonts/hack-italic.woff?sha={{.Ink}}') format('woff');
+  font-weight: 400;
+  font-style: italic;
+}
+
+@font-face {
+  font-family: 'Hack';
+  src: url('fonts/hack-bolditalic.woff2?sha={{.Ink}}') format('woff2'), url('fonts/hack-bolditalic.woff?sha={{.Ink}}') format('woff');
+  font-weight: 700;
+  font-style: italic;
+}
+