add italic, bold, bold italic variants for Iosevka in the CSS (#109)

This commit is contained in:
りき萌 2025-05-26 19:15:42 +02:00
parent c4f6f80166
commit 9f62582ef5

View file

@ -42,3 +42,28 @@
font-weight: 400;
}
@font-face {
font-family: "Iosevka Hyperlegible";
src:
local("Iosevka Hyperlegible Italic"),
url("{{ static 'font/IosevkaHyperlegible-Italic.woff2' }}");
font-weight: 400;
font-style: italic;
}
@font-face {
font-family: "Iosevka Hyperlegible";
src:
local("Iosevka Hyperlegible Bold"),
url("{{ static 'font/IosevkaHyperlegible-Bold.woff2' }}");
font-weight: 700;
}
@font-face {
font-family: "Iosevka Hyperlegible";
src:
local("Iosevka Hyperlegible Bold Italic"),
url("{{ static 'font/IosevkaHyperlegible-BoldItalic.woff2' }}");
font-weight: 700;
font-style: italic;
}