Merge pull request #333 from kdrag0n/update-inter-font

Update Inter font to v3.19
This commit is contained in:
Djordje Atlialp 2021-10-15 23:15:03 +02:00 committed by GitHub
commit b7001319f0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
27 changed files with 21 additions and 21 deletions

View file

@ -31,7 +31,7 @@ This theme was highly inspired by the [hello-friend](https://github.com/panr/hug
## Features ## Features
- Theming: **dark/light mode**, depending on your system preferences or the users choice - Theming: **dark/light mode**, depending on your system preferences or the users choice
- Great reading experience thanks to [**Inter UI font**](https://rsms.me/inter/), made by [Rasmus Andersson](https://rsms.me/about/) - Great reading experience thanks to [**Inter font**](https://rsms.me/inter/), made by [Rasmus Andersson](https://rsms.me/about/)
- Nice code highlighting thanks to [**PrismJS**](https://prismjs.com) - Nice code highlighting thanks to [**PrismJS**](https://prismjs.com)
- An easy way to modify the theme with Hugo tooling - An easy way to modify the theme with Hugo tooling
- Fully responsive - Fully responsive

View file

@ -1,50 +1,50 @@
@font-face { @font-face {
font-family: 'Inter UI'; font-family: 'Inter';
font-style: normal; font-style: normal;
font-display: auto; font-display: auto;
font-weight: 400; font-weight: 400;
src: url("../fonts/Inter-UI-Regular.woff2") format("woff2"), src: url("../fonts/Inter-Regular.woff2") format("woff2"),
url("../fonts/Inter-UI-Regular.woff") format("woff"); url("../fonts/Inter-Regular.woff") format("woff");
} }
@font-face { @font-face {
font-family: 'Inter UI'; font-family: 'Inter';
font-style: italic; font-style: italic;
font-display: auto; font-display: auto;
font-weight: 400; font-weight: 400;
src: url("../fonts/Inter-UI-Italic.woff2") format("woff2"), src: url("../fonts/Inter-Italic.woff2") format("woff2"),
url("../fonts/Inter-UI-Italic.woff") format("woff"); url("../fonts/Inter-Italic.woff") format("woff");
} }
@font-face { @font-face {
font-family: 'Inter UI'; font-family: 'Inter';
font-style: normal; font-style: normal;
font-display: auto; font-display: auto;
font-weight: 600; font-weight: 600;
src: url("../fonts/Inter-UI-Medium.woff2") format("woff2"), src: url("../fonts/Inter-Medium.woff2") format("woff2"),
url("../fonts/Inter-UI-Medium.woff") format("woff"); url("../fonts/Inter-Medium.woff") format("woff");
} }
@font-face { @font-face {
font-family: 'Inter UI'; font-family: 'Inter';
font-style: italic; font-style: italic;
font-display: auto; font-display: auto;
font-weight: 600; font-weight: 600;
src: url("../fonts/Inter-UI-MediumItalic.woff2") format("woff2"), src: url("../fonts/Inter-MediumItalic.woff2") format("woff2"),
url("../fonts/Inter-UI-MediumItalic.woff") format("woff"); url("../fonts/Inter-MediumItalic.woff") format("woff");
} }
@font-face { @font-face {
font-family: 'Inter UI'; font-family: 'Inter';
font-style: normal; font-style: normal;
font-display: auto; font-display: auto;
font-weight: 800; font-weight: 800;
src: url("../fonts/Inter-UI-Bold.woff2") format("woff2"), src: url("../fonts/Inter-Bold.woff2") format("woff2"),
url("../fonts/Inter-UI-Bold.woff") format("woff"); url("../fonts/Inter-Bold.woff") format("woff");
} }
@font-face { @font-face {
font-family: 'Inter UI'; font-family: 'Inter';
font-style: italic; font-style: italic;
font-display: auto; font-display: auto;
font-weight: 800; font-weight: 800;
src: url("../fonts/Inter-UI-BoldItalic.woff2") format("woff2"), src: url("../fonts/Inter-BoldItalic.woff2") format("woff2"),
url("../fonts/Inter-UI-BoldItalic.woff") format("woff"); url("../fonts/Inter-BoldItalic.woff") format("woff");
} }

View file

@ -14,7 +14,7 @@ html {
body { body {
margin: 0; margin: 0;
padding: 0; padding: 0;
font-family: "Inter UI", -apple-system, BlinkMacSystemFont, "Roboto", font-family: Inter, -apple-system, BlinkMacSystemFont, "Roboto",
"Segoe UI", Helvetica, Arial, sans-serif; "Segoe UI", Helvetica, Arial, sans-serif;
font-display: auto; font-display: auto;
font-size: 1rem; font-size: 1rem;
@ -432,4 +432,4 @@ hr {
// Prism JS Additionals // Prism JS Additionals
.highlight { .highlight {
margin: 30px auto; margin: 30px auto;
} }

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.