From cf174f2cd434cf60065e1f33bff177959f2eb564 Mon Sep 17 00:00:00 2001 From: Rasmus Andersson Date: Sun, 10 Feb 2019 09:16:58 -0800 Subject: website: Simplifies css for var fonts to just use woff2 src directive --- docs/inter-ui.css | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'docs/inter-ui.css') diff --git a/docs/inter-ui.css b/docs/inter-ui.css index 844b11878..b3b7c5549 100644 --- a/docs/inter-ui.css +++ b/docs/inter-ui.css @@ -170,8 +170,7 @@ BUGS: font-family: 'Inter UI var'; font-weight: 100 900; font-style: oblique 0deg 10deg; - src: url("font-files/Inter.var.woff2?v={{font_v}}") format("woff2-variations"), - url("font-files/Inter.var.woff2?v={{font_v}}") format("woff2"); + src: url("font-files/Inter.var.woff2?v={{font_v}}") format("woff2"); } /* -------------------------------------------------------------------------- @@ -190,16 +189,12 @@ BUGS: font-weight: 100 900; font-style: normal; font-named-instance: 'Regular'; - src: url("font-files/Inter-upright.var.woff2?v={{font_v}}") format("woff2 supports variations(gvar)"), - url("font-files/Inter-upright.var.woff2?v={{font_v}}") format("woff2-variations"), - url("font-files/Inter-upright.var.woff2?v={{font_v}}") format("woff2"); + src: url("font-files/Inter-upright.var.woff2?v={{font_v}}") format("woff2"); } @font-face { font-family: 'Inter UI var alt'; font-weight: 100 900; font-style: italic; font-named-instance: 'Italic'; - src: url("font-files/Inter-italic.var.woff2?v={{font_v}}") format("woff2 supports variations(gvar)"), - url("font-files/Inter-italic.var.woff2?v={{font_v}}") format("woff2-variations"), - url("font-files/Inter-italic.var.woff2?v={{font_v}}") format("woff2"); + src: url("font-files/Inter-italic.var.woff2?v={{font_v}}") format("woff2"); } -- cgit v1.2.3