summaryrefslogtreecommitdiff
path: root/docs/inter-ui.css
diff options
context:
space:
mode:
authorRasmus Andersson <rasmus@notion.se>2018-10-08 04:32:03 +0300
committerRasmus Andersson <rasmus@notion.se>2018-10-11 09:38:33 +0300
commita0df8aa6d40ab7b1e96dafd93a197c6859580454 (patch)
tree0d1ca583a4ea9cbb2112a114b66698e3a3ed9358 /docs/inter-ui.css
parentf6050df80182f7bfc55e5f2df7c715969a1cb67d (diff)
downloadinter-a0df8aa6d40ab7b1e96dafd93a197c6859580454.tar.xz
website: big update with samples and vf stuff
Diffstat (limited to 'docs/inter-ui.css')
-rw-r--r--docs/inter-ui.css11
1 files changed, 11 insertions, 0 deletions
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");
+}