1
0
mirror of https://github.com/Mikaela/cv.git synced 2025-10-18 17:07:21 +02:00

main.scss: update fonts

This commit is contained in:
Aminda Suomalainen 2025-10-02 20:53:27 +03:00
parent 5cf5497316
commit 5711f1d339
Signed by: Mikaela
GPG Key ID: 99392F62BAE30723

View File

@ -10,34 +10,39 @@ $serif-font-family:
ui-serif, "Roboto Serif", "Noto Serif", Tinos, serif, "Noto Emoji",
"Noto Color Emoji", "Segoe UI Emoji", emoji;
$sans-serif-font-family:
"Inclusive Sans", ui-sans-serif, "Roboto Flex", "Segoe UI Variable", Roboto,
"Noto Sans", Arimo, sans-serif, "Noto Emoji", "Noto Color Emoji",
"Segoe UI Emoji", emoji;
"Atkinson Hyperlegible Next", "Inclusive Sans", ui-sans-serif,
"Roboto Flex", "Segoe UI Variable", Roboto, "Noto Sans", Arimo, sans-serif,
"Noto Emoji", "Noto Color Emoji", "Segoe UI Emoji", emoji;
$monospace-font-family:
"Comic Shanns Mono", ui-monospace, "Roboto Mono", "Segoe UI Mono",
"Atkinson Hyperlegible Mono", ui-monospace, "Roboto Mono", "Segoe UI Mono",
"Noto Mono", Cousine, monospace, "Noto Emoji", "Noto Color Emoji",
"Segoe UI Emoji", emoji;
// Must be in the end under threat of undefined variable error.
$base-font-family: $sans-serif-font-family;
@font-face {
font-family: "Inclusive Sans";
src: url("https://raw.githubusercontent.com/LivKing/Inclusive-Sans/refs/heads/main/fonts/webfonts/InclusiveSans[wght].woff2")
font-family: "Atkinson Hyperlegible Next";
src: url("https://raw.githubusercontent.com/googlefonts/atkinson-hyperlegible-next/refs/heads/main/fonts/webfonts/AtkinsonHyperlegibleNext[wght].woff2")
format("woff2");
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: "Inclusive Sans Italic";
src: url("https://raw.githubusercontent.com/LivKing/Inclusive-Sans/refs/heads/main/fonts/webfonts/InclusiveSans-Italic[wght].woff2")
font-family: "Atkinson Hyperlegible Next Italic";
src: url("https://raw.githubusercontent.com/googlefonts/atkinson-hyperlegible-next/refs/heads/main/fonts/webfonts/AtkinsonHyperlegibleNext-Italic[wght].woff2")
format("woff2");
font-weight: normal;
font-style: italic;
}
@font-face {
font-family: "Comic Shanns Mono";
src: url("https://raw.githubusercontent.com/jesusmgg/comic-shanns-mono/refs/heads/master/fonts/ComicShannsMono-Regular.otf")
format("opentype");
font-family: "Atkinson Hyperlegible Mono";
src: url("https://raw.githubusercontent.com/googlefonts/atkinson-hyperlegible-next-mono/refs/heads/main/fonts/webfonts/AtkinsonHyperlegibleMono[wght].woff2")
format("woff2");
}
@font-face {
font-family: "Atkinson Hyperlegible Mono Italic";
src: url("https://raw.githubusercontent.com/googlefonts/atkinson-hyperlegible-next-mono/refs/heads/main/fonts/webfonts/AtkinsonHyperlegibleMono-Italic[wght].woff2")
format("woff2");
}
@import "{{ site.theme }}";