1
1
mirror of https://github.com/rsms/inter.git synced 2024-11-30 11:26:32 +03:00
inter/docs/inter-ui.css

124 lines
4.1 KiB
CSS
Raw Normal View History

@font-face {
font-family: 'Inter UI';
font-style: normal;
font-weight: 400;
2018-09-19 19:28:47 +03:00
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"),
url("font-files/Inter-UI-Regular.woff?v=3.0") format("woff");
}
@font-face {
font-family: 'Inter UI';
font-style: italic;
font-weight: 400;
2018-09-19 19:28:47 +03:00
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"),
url("font-files/Inter-UI-Italic.woff?v=3.0") format("woff");
}
@font-face {
font-family: 'Inter UI';
font-style: normal;
font-weight: 500;
2018-09-19 19:28:47 +03:00
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"),
url("font-files/Inter-UI-Medium.woff?v=3.0") format("woff");
}
@font-face {
font-family: 'Inter UI';
font-style: italic;
font-weight: 500;
2018-09-19 19:28:47 +03:00
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"),
url("font-files/Inter-UI-MediumItalic.woff?v=3.0") format("woff");
}
@font-face {
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"),
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"),
url("font-files/Inter-UI-SemiBoldItalic.woff?v=3.0") format("woff");
}
@font-face {
font-family: 'Inter UI';
font-style: normal;
font-weight: 700;
2018-09-19 19:28:47 +03:00
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"),
url("font-files/Inter-UI-Bold.woff?v=3.0") format("woff");
}
@font-face {
font-family: 'Inter UI';
font-style: italic;
font-weight: 700;
2018-09-19 19:28:47 +03:00
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"),
url("font-files/Inter-UI-BoldItalic.woff?v=3.0") format("woff");
}
@font-face {
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"),
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"),
url("font-files/Inter-UI-ExtraBoldItalic.woff?v=3.0") format("woff");
}
@font-face {
font-family: 'Inter UI';
font-style: normal;
font-weight: 900;
2018-09-19 19:28:47 +03:00
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"),
url("font-files/Inter-UI-Black.woff?v=3.0") format("woff");
}
@font-face {
font-family: 'Inter UI';
font-style: italic;
font-weight: 900;
2018-09-19 19:28:47 +03:00
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"),
url("font-files/Inter-UI-BlackItalic.woff?v=3.0") format("woff");
}
2018-09-10 20:21:55 +03:00
/*
Single variable font.
Note that you may want to do something like this to make sure you're serving
constant fonts to older browsers:
html {
font-family: 'Inter UI', sans-serif;
}
@supports (font-variation-settings: normal) {
html {
font-family: 'Inter UI var', sans-serif;
}
}
*/
@font-face {
font-family: 'Inter UI var';
font-weight: 400 900; /* safe weight range */
2018-09-19 19:28:47 +03:00
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");
2018-09-10 20:21:55 +03:00
}