From a0df8aa6d40ab7b1e96dafd93a197c6859580454 Mon Sep 17 00:00:00 2001 From: Rasmus Andersson Date: Sun, 7 Oct 2018 18:32:03 -0700 Subject: website: big update with samples and vf stuff --- docs/inter-ui.css | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'docs/inter-ui.css') diff --git a/docs/inter-ui.css b/docs/inter-ui.css index 76bfc9379..499df863b 100644 --- a/docs/inter-ui.css +++ b/docs/inter-ui.css @@ -116,6 +116,11 @@ html { } } +BUGS: +- Safari 12.0 will default to italic instead of regular when font-weight + is provided in a @font-face declaration. + Workaround: Use "Inter UI var safari-fix" for Safari, or explicitly set + `font-variation-settings:"slnt" DEGREE`. */ @font-face { font-family: 'Inter UI var'; @@ -124,3 +129,9 @@ html { src: url("font-files/Inter-UI.var.woff2?v=3.0") format("woff2-variations"), url("font-files/Inter-UI.var.woff2?v=3.0") format("woff2"); } +@font-face { + font-family: 'Inter UI var safari-fix'; + font-style: oblique 0deg 10deg; + src: url("font-files/Inter-UI.var.woff2?v=3.0") format("woff2-variations"), + url("font-files/Inter-UI.var.woff2?v=3.0") format("woff2"); +} -- cgit v1.2.3