summaryrefslogtreecommitdiff
path: root/docs/inter-ui.css
diff options
context:
space:
mode:
authorRasmus Andersson <rasmus@notion.se>2018-09-30 22:34:27 +0300
committerRasmus Andersson <rasmus@notion.se>2018-10-11 09:38:24 +0300
commit6f6f6683ed47818d44864452a94dbb2bded9aab6 (patch)
tree8de6f46239c705f17569f6ad094c304e1daaef9b /docs/inter-ui.css
parent3fba02c38af058f9f4e73fa9389af56d2baeff20 (diff)
downloadinter-6f6f6683ed47818d44864452a94dbb2bded9aab6.tar.xz
web: VF: slant axis instead of italic axis
Diffstat (limited to 'docs/inter-ui.css')
-rw-r--r--docs/inter-ui.css7
1 files changed, 5 insertions, 2 deletions
diff --git a/docs/inter-ui.css b/docs/inter-ui.css
index 27227a6b4..76bfc9379 100644
--- a/docs/inter-ui.css
+++ b/docs/inter-ui.css
@@ -101,7 +101,9 @@
}
/*
-Single variable font.
+------------------------------------------------------------------------------
+Alternative to the above: Single variable font.
+
Note that you may want to do something like this to make sure you're serving
constant fonts to older browsers:
@@ -117,7 +119,8 @@ html {
*/
@font-face {
font-family: 'Inter UI var';
- font-weight: 400 900; /* safe weight range */
+ font-weight: 400 900;
+ 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");
}