1
0
mirror of https://github.com/Mikaela/cv.git synced 2025-11-14 21:47:26 +01:00

main.scss: set font to Inclusive Sans

This commit is contained in:
Aminda Suomalainen 2025-04-09 13:55:55 +03:00
parent 84aa9ce564
commit 118bdde45c
Signed by: Mikaela
GPG Key ID: 99392F62BAE30723

View File

@ -10,13 +10,29 @@ $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:
ui-sans-serif, "Roboto Flex", "Segoe UI Variable", Roboto, "Noto Sans", "Inclusive Sans", ui-sans-serif, "Roboto Flex", "Segoe UI Variable", Roboto,
Arimo, sans-serif, "Noto Emoji", "Noto Color Emoji", "Segoe UI Emoji", emoji; "Noto Sans", Arimo, sans-serif, "Noto Emoji", "Noto Color Emoji",
"Segoe UI Emoji", emoji;
$monospace-font-family: $monospace-font-family:
ui-monospace, "Roboto Mono", "Segoe UI Mono", "Noto Mono", Cousine, ui-monospace, "Roboto Mono", "Segoe UI Mono", "Noto Mono", Cousine,
monospace, "Noto Emoji", "Noto Color Emoji", "Segoe UI Emoji", emoji; monospace, "Noto 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: $serif-font-family; $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")
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;
}
@import "{{ site.theme }}"; @import "{{ site.theme }}";
@ -65,23 +81,23 @@ code {
} }
// Sans-Serif for headings to constrast with aminda.eu // Sans-Serif for headings to constrast with aminda.eu
h2, // h2,
h3, // h3,
h4, // h4,
h5, // h5,
h6 { // h6 {
font-family: $sans-serif-font-family !important; // font-family: $sans-serif-font-family !important;
} // }
h2.footer-heading { h2.footer-heading {
font-family: $serif-font-family !important; font-family: $sans-serif-font-family !important;
} }
// The introduction on top // The introduction on top
#bio { #bio {
text-align: center; text-align: center;
font-style: italic; font-style: italic;
font-family: ui-cursive, $serif-font-family; font-family: ui-cursive, $sans-serif-font-family;
} }
img { img {