rkgk/template/fonts.hbs.css
liquidex 5e6b84bed5 cache busting
for faster load times, and seamless updates.
because for some reason ServeDir can't do it correctly, and it tells the client "yeah hey nothing changed" even if something changed
2024-09-04 21:50:30 +02:00

45 lines
1.2 KiB
CSS

@font-face {
font-family: "Atkinson Hyperlegible";
src:
local("Atkinson Hyperlegible Regular"),
url("{{ static 'font/AtkinsonHyperlegible-Regular.ttf' }}");
font-weight: 400;
}
@font-face {
font-family: "Atkinson Hyperlegible";
src:
local("Atkinson Hyperlegible Italic"),
url("{{ static 'font/AtkinsonHyperlegible-Italic.ttf' }}");
font-weight: 400;
font-style: italic;
}
@font-face {
font-family: "Atkinson Hyperlegible";
src:
local("Atkinson Hyperlegible Bold"),
url("{{ static 'font/AtkinsonHyperlegible-Bold.ttf' }}");
font-weight: 700;
}
@font-face {
font-family: "Atkinson Hyperlegible";
src:
local("Atkinson Hyperlegible Bold Italic"),
url("{{ static 'font/AtkinsonHyperlegible-BoldItalic.ttf' }}");
font-weight: 700;
font-style: italic;
}
@font-face {
/* NOTE: This is my own variant of Iosevka that more or less follows the stylistic choices
of Atkinson Hyperlegible. */
font-family: "Iosevka Hyperlegible";
src:
local("Iosevka Hyperlegible"),
url("{{ static 'font/IosevkaHyperlegible-Regular.woff2' }}");
font-weight: 400;
}