added new Ink CSS template files

This commit is contained in:
Chris Simpkins 2017-11-16 21:08:17 -05:00
parent 726ab247e7
commit 1429f44787
2 changed files with 68 additions and 0 deletions

View File

@ -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
build/web/hack.css.in Normal file
View File

@ -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;
}