website: revert vf file usage

This commit is contained in:
Rasmus Andersson 2018-10-10 23:55:43 -07:00
parent a31501de5c
commit ff76bfd5f6

View file

@ -2,16 +2,14 @@
font-family: 'Inter UI'; font-family: 'Inter UI';
font-style: normal; font-style: normal;
font-weight: 400; font-weight: 400;
src: url("font-files/Inter-UI.var.woff2?v=3.0") format("woff2-variations"), src: url("font-files/Inter-UI-Regular.woff2?v=3.0") format("woff2"),
url("font-files/Inter-UI-Regular.woff2?v=3.0") format("woff2"),
url("font-files/Inter-UI-Regular.woff?v=3.0") format("woff"); url("font-files/Inter-UI-Regular.woff?v=3.0") format("woff");
} }
@font-face { @font-face {
font-family: 'Inter UI'; font-family: 'Inter UI';
font-style: italic; font-style: italic;
font-weight: 400; font-weight: 400;
src: url("font-files/Inter-UI.var.woff2?v=3.0") format("woff2-variations"), src: url("font-files/Inter-UI-Italic.woff2?v=3.0") format("woff2"),
url("font-files/Inter-UI-Italic.woff2?v=3.0") format("woff2"),
url("font-files/Inter-UI-Italic.woff?v=3.0") format("woff"); url("font-files/Inter-UI-Italic.woff?v=3.0") format("woff");
} }
@ -19,16 +17,14 @@
font-family: 'Inter UI'; font-family: 'Inter UI';
font-style: normal; font-style: normal;
font-weight: 500; font-weight: 500;
src: url("font-files/Inter-UI.var.woff2?v=3.0") format("woff2-variations"), src: url("font-files/Inter-UI-Medium.woff2?v=3.0") format("woff2"),
url("font-files/Inter-UI-Medium.woff2?v=3.0") format("woff2"),
url("font-files/Inter-UI-Medium.woff?v=3.0") format("woff"); url("font-files/Inter-UI-Medium.woff?v=3.0") format("woff");
} }
@font-face { @font-face {
font-family: 'Inter UI'; font-family: 'Inter UI';
font-style: italic; font-style: italic;
font-weight: 500; font-weight: 500;
src: url("font-files/Inter-UI.var.woff2?v=3.0") format("woff2-variations"), src: url("font-files/Inter-UI-MediumItalic.woff2?v=3.0") format("woff2"),
url("font-files/Inter-UI-MediumItalic.woff2?v=3.0") format("woff2"),
url("font-files/Inter-UI-MediumItalic.woff?v=3.0") format("woff"); url("font-files/Inter-UI-MediumItalic.woff?v=3.0") format("woff");
} }
@ -36,16 +32,14 @@
font-family: 'Inter UI'; font-family: 'Inter UI';
font-style: normal; font-style: normal;
font-weight: 600; font-weight: 600;
src: url("font-files/Inter-UI.var.woff2?v=3.0") format("woff2-variations"), src: url("font-files/Inter-UI-SemiBold.woff2?v=3.0") format("woff2"),
url("font-files/Inter-UI-SemiBold.woff2?v=3.0") format("woff2"),
url("font-files/Inter-UI-SemiBold.woff?v=3.0") format("woff"); url("font-files/Inter-UI-SemiBold.woff?v=3.0") format("woff");
} }
@font-face { @font-face {
font-family: 'Inter UI'; font-family: 'Inter UI';
font-style: italic; font-style: italic;
font-weight: 600; font-weight: 600;
src: url("font-files/Inter-UI.var.woff2?v=3.0") format("woff2-variations"), src: url("font-files/Inter-UI-SemiBoldItalic.woff2?v=3.0") format("woff2"),
url("font-files/Inter-UI-SemiBoldItalic.woff2?v=3.0") format("woff2"),
url("font-files/Inter-UI-SemiBoldItalic.woff?v=3.0") format("woff"); url("font-files/Inter-UI-SemiBoldItalic.woff?v=3.0") format("woff");
} }
@ -53,16 +47,14 @@
font-family: 'Inter UI'; font-family: 'Inter UI';
font-style: normal; font-style: normal;
font-weight: 700; font-weight: 700;
src: url("font-files/Inter-UI.var.woff2?v=3.0") format("woff2-variations"), src: url("font-files/Inter-UI-Bold.woff2?v=3.0") format("woff2"),
url("font-files/Inter-UI-Bold.woff2?v=3.0") format("woff2"),
url("font-files/Inter-UI-Bold.woff?v=3.0") format("woff"); url("font-files/Inter-UI-Bold.woff?v=3.0") format("woff");
} }
@font-face { @font-face {
font-family: 'Inter UI'; font-family: 'Inter UI';
font-style: italic; font-style: italic;
font-weight: 700; font-weight: 700;
src: url("font-files/Inter-UI.var.woff2?v=3.0") format("woff2-variations"), src: url("font-files/Inter-UI-BoldItalic.woff2?v=3.0") format("woff2"),
url("font-files/Inter-UI-BoldItalic.woff2?v=3.0") format("woff2"),
url("font-files/Inter-UI-BoldItalic.woff?v=3.0") format("woff"); url("font-files/Inter-UI-BoldItalic.woff?v=3.0") format("woff");
} }
@ -70,16 +62,14 @@
font-family: 'Inter UI'; font-family: 'Inter UI';
font-style: normal; font-style: normal;
font-weight: 800; font-weight: 800;
src: url("font-files/Inter-UI.var.woff2?v=3.0") format("woff2-variations"), src: url("font-files/Inter-UI-ExtraBold.woff2?v=3.0") format("woff2"),
url("font-files/Inter-UI-ExtraBold.woff2?v=3.0") format("woff2"),
url("font-files/Inter-UI-ExtraBold.woff?v=3.0") format("woff"); url("font-files/Inter-UI-ExtraBold.woff?v=3.0") format("woff");
} }
@font-face { @font-face {
font-family: 'Inter UI'; font-family: 'Inter UI';
font-style: italic; font-style: italic;
font-weight: 800; font-weight: 800;
src: url("font-files/Inter-UI.var.woff2?v=3.0") format("woff2-variations"), src: url("font-files/Inter-UI-ExtraBoldItalic.woff2?v=3.0") format("woff2"),
url("font-files/Inter-UI-ExtraBoldItalic.woff2?v=3.0") format("woff2"),
url("font-files/Inter-UI-ExtraBoldItalic.woff?v=3.0") format("woff"); url("font-files/Inter-UI-ExtraBoldItalic.woff?v=3.0") format("woff");
} }
@ -87,22 +77,20 @@
font-family: 'Inter UI'; font-family: 'Inter UI';
font-style: normal; font-style: normal;
font-weight: 900; font-weight: 900;
src: url("font-files/Inter-UI.var.woff2?v=3.0") format("woff2-variations"), src: url("font-files/Inter-UI-Black.woff2?v=3.0") format("woff2"),
url("font-files/Inter-UI-Black.woff2?v=3.0") format("woff2"),
url("font-files/Inter-UI-Black.woff?v=3.0") format("woff"); url("font-files/Inter-UI-Black.woff?v=3.0") format("woff");
} }
@font-face { @font-face {
font-family: 'Inter UI'; font-family: 'Inter UI';
font-style: italic; font-style: italic;
font-weight: 900; font-weight: 900;
src: url("font-files/Inter-UI.var.woff2?v=3.0") format("woff2-variations"), src: url("font-files/Inter-UI-BlackItalic.woff2?v=3.0") format("woff2"),
url("font-files/Inter-UI-BlackItalic.woff2?v=3.0") format("woff2"),
url("font-files/Inter-UI-BlackItalic.woff?v=3.0") format("woff"); url("font-files/Inter-UI-BlackItalic.woff?v=3.0") format("woff");
} }
/* /*
------------------------------------------------------------------------------ ------------------------------------------------------------------------------
Alternative to the above: Single variable font. Single variable font.
Note that you may want to do something like this to make sure you're serving Note that you may want to do something like this to make sure you're serving
constant fonts to older browsers: constant fonts to older browsers: