mirror of
https://github.com/thomasjsn/hugo-theme-hello-friend.git
synced 2024-11-22 15:55:08 +01:00
0be313316f
- Switch to the Hugo Pipes (bye bye Webpack) - Use Inter from Google Fonts - Update README
57 lines
1.8 KiB
CSS
57 lines
1.8 KiB
CSS
@font-face {
|
|
font-family: 'Inter';
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
font-feature-settings: "liga", "tnum", "case", "calt", "zero", "ss01", "locl";
|
|
src: url("../fonts/Inter-Regular.woff2") format("woff2"),
|
|
url("../fonts/Inter-Regular.woff") format("woff");
|
|
font-display: swap;
|
|
}
|
|
@font-face {
|
|
font-family: 'Inter';
|
|
font-style: italic;
|
|
font-weight: 400;
|
|
font-feature-settings: "liga", "tnum", "case", "calt", "zero", "ss01", "locl";
|
|
src: url("../fonts/Inter-Italic.woff2") format("woff2"),
|
|
url("../fonts/Inter-Italic.woff") format("woff");
|
|
font-display: swap;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'Inter';
|
|
font-style: normal;
|
|
font-weight: 600;
|
|
font-feature-settings: "liga", "tnum", "case", "calt", "zero", "ss01", "locl";
|
|
src: url("../fonts/Inter-Medium.woff2") format("woff2"),
|
|
url("../fonts/Inter-Medium.woff") format("woff");
|
|
font-display: swap;
|
|
}
|
|
@font-face {
|
|
font-family: 'Inter';
|
|
font-style: italic;
|
|
font-weight: 600;
|
|
font-feature-settings: "liga", "tnum", "case", "calt", "zero", "ss01", "locl";
|
|
src: url("../fonts/Inter-MediumItalic.woff2") format("woff2"),
|
|
url("../fonts/Inter-MediumItalic.woff") format("woff");
|
|
font-display: swap;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'Inter';
|
|
font-style: normal;
|
|
font-weight: 800;
|
|
font-feature-settings: "liga", "tnum", "case", "calt", "zero", "ss01", "locl";
|
|
src: url("../fonts/Inter-Bold.woff2") format("woff2"),
|
|
url("../fonts/Inter-Bold.woff") format("woff");
|
|
font-display: swap;
|
|
}
|
|
@font-face {
|
|
font-family: 'Inter';
|
|
font-style: italic;
|
|
font-weight: 800;
|
|
font-feature-settings: "liga", "tnum", "case", "calt", "zero", "ss01", "locl";
|
|
src: url("../fonts/Inter-BoldItalic.woff2") format("woff2"),
|
|
url("../fonts/Inter-BoldItalic.woff") format("woff");
|
|
font-display: swap;
|
|
}
|