mirror of
https://github.com/mikaela/mikaela.github.io/
synced 2025-10-15 15:47:23 +02:00
css: replace Inclusive Sans & Comic Shanns Mono with Atkinson Hyperlegible {Next,Mono} for unified look
This commit is contained in:
parent
bbda7fd047
commit
6fa0748ed4
@ -10,35 +10,60 @@ $serif-font-family:
|
|||||||
ui-serif, "Roboto Serif", "Noto Serif", Tinos, serif, "Noto Emoji",
|
ui-serif, "Roboto Serif", "Noto Serif", Tinos, serif, "Noto Emoji",
|
||||||
"Noto Color Emoji", "Segoe UI Emoji", emoji;
|
"Noto Color Emoji", "Segoe UI Emoji", emoji;
|
||||||
$sans-serif-font-family:
|
$sans-serif-font-family:
|
||||||
"Inclusive Sans", ui-sans-serif, "Roboto Flex", "Segoe UI Variable", Roboto,
|
"Atkinson Hyperlegible Next", "Inclusive Sans", ui-sans-serif, "Roboto Flex",
|
||||||
"Noto Sans", Arimo, sans-serif, "Noto Emoji", "Noto Color Emoji",
|
"Segoe UI Variable", Roboto, "Noto Sans", Arimo, sans-serif, "Noto Emoji",
|
||||||
"Segoe UI Emoji", emoji;
|
"Noto Color Emoji", "Segoe UI Emoji", emoji;
|
||||||
$monospace-font-family:
|
$monospace-font-family:
|
||||||
"Comic Shanns Mono", ui-monospace, "Roboto Mono", "Segoe UI Mono",
|
"Atkinson Hyperlegible Mono", "Comic Shanns Mono", ui-monospace,
|
||||||
"Noto Mono", Cousine, monospace, "Noto Emoji", "Noto Color Emoji",
|
"Roboto Mono", "Segoe UI Mono", "Noto Mono", Cousine, monospace, "Noto Emoji",
|
||||||
"Segoe UI Emoji", emoji;
|
"Noto Color Emoji", "Segoe UI Emoji", emoji;
|
||||||
// Must be in the end under threat of undefined variable error.
|
// Must be in the end under threat of undefined variable error.
|
||||||
$base-font-family: $sans-serif-font-family;
|
$base-font-family: $sans-serif-font-family;
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: "Inclusive Sans";
|
font-family: "Atkinson Hyperlegible Next";
|
||||||
src: url("https://raw.githubusercontent.com/LivKing/Inclusive-Sans/refs/heads/main/fonts/webfonts/InclusiveSans[wght].woff2")
|
src: url("https://raw.githubusercontent.com/googlefonts/atkinson-hyperlegible-next/refs/heads/main/fonts/webfonts/AtkinsonHyperlegibleNext[wght].woff2")
|
||||||
format("woff2");
|
format("woff2");
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
}
|
}
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: "Inclusive Sans Italic";
|
font-family: "Atkinson Hyperlegible Next Italic";
|
||||||
src: url("https://raw.githubusercontent.com/LivKing/Inclusive-Sans/refs/heads/main/fonts/webfonts/InclusiveSans-Italic[wght].woff2")
|
src: url("https://raw.githubusercontent.com/googlefonts/atkinson-hyperlegible-next/refs/heads/main/fonts/webfonts/AtkinsonHyperlegibleNext-Italic[wght].woff2")
|
||||||
format("woff2");
|
format("woff2");
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
}
|
}
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: "Comic Shanns Mono";
|
font-family: "Atkinson Hyperlegible Mono";
|
||||||
src: url("https://raw.githubusercontent.com/jesusmgg/comic-shanns-mono/refs/heads/master/fonts/ComicShannsMono-Regular.otf")
|
src: url("https://raw.githubusercontent.com/googlefonts/atkinson-hyperlegible-next-mono/refs/heads/main/fonts/webfonts/AtkinsonHyperlegibleMono[wght].woff2")
|
||||||
format("opentype");
|
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
|
// CSS of used Jekyll theme
|
||||||
@import "{{ site.theme }}";
|
@import "{{ site.theme }}";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user