css: replace Inclusive Sans & Comic Shanns Mono with Atkinson Hyperlegible {Next,Mono} for unified look

This commit is contained in:
Aminda Suomalainen 2025-10-02 19:56:35 +03:00
parent bbda7fd047
commit 6fa0748ed4
Signed by: Mikaela
GPG Key ID: 99392F62BAE30723

View File

@ -10,35 +10,60 @@ $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",
"Noto Mono", Cousine, monospace, "Noto Emoji", "Noto Color Emoji",
"Segoe UI Emoji", emoji;
"Atkinson Hyperlegible Mono", "Comic Shanns 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");
}
// @font-face {
// font-family: "Inclusive Sans";
// src: url("https://raw.githubusercontent.com/LivKing/Inclusive-Sans/refs/heads/main/fonts/webfonts/InclusiveSans[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")
// 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");
// }
// CSS of used Jekyll theme
@import "{{ site.theme }}";