From ff76bfd5f68ff2dfc537286cef2e8c9340e68323 Mon Sep 17 00:00:00 2001 From: Rasmus Andersson Date: Wed, 10 Oct 2018 23:55:43 -0700 Subject: website: revert vf file usage --- docs/inter-ui.css | 38 +++++++++++++------------------------- 1 file changed, 13 insertions(+), 25 deletions(-) (limited to 'docs/inter-ui.css') diff --git a/docs/inter-ui.css b/docs/inter-ui.css index 499df863b..74b27bd32 100644 --- a/docs/inter-ui.css +++ b/docs/inter-ui.css @@ -2,16 +2,14 @@ font-family: 'Inter UI'; font-style: normal; font-weight: 400; - src: url("font-files/Inter-UI.var.woff2?v=3.0") format("woff2-variations"), - url("font-files/Inter-UI-Regular.woff2?v=3.0") format("woff2"), + src: url("font-files/Inter-UI-Regular.woff2?v=3.0") format("woff2"), url("font-files/Inter-UI-Regular.woff?v=3.0") format("woff"); } @font-face { font-family: 'Inter UI'; font-style: italic; font-weight: 400; - src: url("font-files/Inter-UI.var.woff2?v=3.0") format("woff2-variations"), - url("font-files/Inter-UI-Italic.woff2?v=3.0") format("woff2"), + src: url("font-files/Inter-UI-Italic.woff2?v=3.0") format("woff2"), url("font-files/Inter-UI-Italic.woff?v=3.0") format("woff"); } @@ -19,16 +17,14 @@ font-family: 'Inter UI'; font-style: normal; font-weight: 500; - src: url("font-files/Inter-UI.var.woff2?v=3.0") format("woff2-variations"), - url("font-files/Inter-UI-Medium.woff2?v=3.0") format("woff2"), + src: url("font-files/Inter-UI-Medium.woff2?v=3.0") format("woff2"), url("font-files/Inter-UI-Medium.woff?v=3.0") format("woff"); } @font-face { font-family: 'Inter UI'; font-style: italic; font-weight: 500; - src: url("font-files/Inter-UI.var.woff2?v=3.0") format("woff2-variations"), - url("font-files/Inter-UI-MediumItalic.woff2?v=3.0") format("woff2"), + src: url("font-files/Inter-UI-MediumItalic.woff2?v=3.0") format("woff2"), url("font-files/Inter-UI-MediumItalic.woff?v=3.0") format("woff"); } @@ -36,16 +32,14 @@ font-family: 'Inter UI'; font-style: normal; font-weight: 600; - src: url("font-files/Inter-UI.var.woff2?v=3.0") format("woff2-variations"), - url("font-files/Inter-UI-SemiBold.woff2?v=3.0") format("woff2"), + src: url("font-files/Inter-UI-SemiBold.woff2?v=3.0") format("woff2"), url("font-files/Inter-UI-SemiBold.woff?v=3.0") format("woff"); } @font-face { font-family: 'Inter UI'; font-style: italic; font-weight: 600; - src: url("font-files/Inter-UI.var.woff2?v=3.0") format("woff2-variations"), - url("font-files/Inter-UI-SemiBoldItalic.woff2?v=3.0") format("woff2"), + src: url("font-files/Inter-UI-SemiBoldItalic.woff2?v=3.0") format("woff2"), url("font-files/Inter-UI-SemiBoldItalic.woff?v=3.0") format("woff"); } @@ -53,16 +47,14 @@ font-family: 'Inter UI'; font-style: normal; font-weight: 700; - src: url("font-files/Inter-UI.var.woff2?v=3.0") format("woff2-variations"), - url("font-files/Inter-UI-Bold.woff2?v=3.0") format("woff2"), + src: url("font-files/Inter-UI-Bold.woff2?v=3.0") format("woff2"), url("font-files/Inter-UI-Bold.woff?v=3.0") format("woff"); } @font-face { font-family: 'Inter UI'; font-style: italic; font-weight: 700; - src: url("font-files/Inter-UI.var.woff2?v=3.0") format("woff2-variations"), - url("font-files/Inter-UI-BoldItalic.woff2?v=3.0") format("woff2"), + src: url("font-files/Inter-UI-BoldItalic.woff2?v=3.0") format("woff2"), url("font-files/Inter-UI-BoldItalic.woff?v=3.0") format("woff"); } @@ -70,16 +62,14 @@ font-family: 'Inter UI'; font-style: normal; font-weight: 800; - src: url("font-files/Inter-UI.var.woff2?v=3.0") format("woff2-variations"), - url("font-files/Inter-UI-ExtraBold.woff2?v=3.0") format("woff2"), + src: url("font-files/Inter-UI-ExtraBold.woff2?v=3.0") format("woff2"), url("font-files/Inter-UI-ExtraBold.woff?v=3.0") format("woff"); } @font-face { font-family: 'Inter UI'; font-style: italic; font-weight: 800; - src: url("font-files/Inter-UI.var.woff2?v=3.0") format("woff2-variations"), - url("font-files/Inter-UI-ExtraBoldItalic.woff2?v=3.0") format("woff2"), + src: url("font-files/Inter-UI-ExtraBoldItalic.woff2?v=3.0") format("woff2"), url("font-files/Inter-UI-ExtraBoldItalic.woff?v=3.0") format("woff"); } @@ -87,22 +77,20 @@ font-family: 'Inter UI'; font-style: normal; font-weight: 900; - src: url("font-files/Inter-UI.var.woff2?v=3.0") format("woff2-variations"), - url("font-files/Inter-UI-Black.woff2?v=3.0") format("woff2"), + src: url("font-files/Inter-UI-Black.woff2?v=3.0") format("woff2"), url("font-files/Inter-UI-Black.woff?v=3.0") format("woff"); } @font-face { font-family: 'Inter UI'; font-style: italic; font-weight: 900; - src: url("font-files/Inter-UI.var.woff2?v=3.0") format("woff2-variations"), - url("font-files/Inter-UI-BlackItalic.woff2?v=3.0") format("woff2"), + src: url("font-files/Inter-UI-BlackItalic.woff2?v=3.0") format("woff2"), 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 constant fonts to older browsers: -- cgit v1.2.3