diff --git a/assets/_fonts.scss b/assets/_fonts.scss new file mode 100644 index 0000000..db5feb1 --- /dev/null +++ b/assets/_fonts.scss @@ -0,0 +1,22 @@ +@font-face { + font-family: "Noto Sans"; + src: local("Noto Sans"), local("NotoSans-Regular"), url(/NotoSans-Regular.ttf); +} + +@font-face { + font-family: "Noto Sans"; + font-weight: 700; + src: local("Noto Sans Bold"), local("NotoSans-Bold"), url(/NotoSans-Bold.ttf); +} + +@font-face { + font-family: "Noto Sans"; + font-style: italic; + src: local("Noto Sans Italic"), local("NotoSans-Italic"), url(/NotoSans-Italic.ttf); +} + +@font-face { + font-family: "Noto Sans Mono"; + font-weight: 700; + src: local("Noto Sans Mono Bold"), local("NotoSansMono-Bold"), url(/NotoSansMono-Bold.ttf); +} diff --git a/assets/style.scss b/assets/style.scss index f3fe85b..07672e9 100644 --- a/assets/style.scss +++ b/assets/style.scss @@ -3,7 +3,7 @@ * { box-sizing: border-box; - font-family: sans-serif; + font-family: "Noto Sans", sans-serif; margin: 0; padding: 0; } @@ -34,7 +34,7 @@ header { margin-top: 1rem; pre { - font-family: monospace; + font-family: "Noto Sans Mono", monospace; font-size: 0.8rem; font-weight: bold; line-height: 1; @@ -42,7 +42,7 @@ header { span { color: $color-highlight; - font-family: monospace; + font-family: inherit; } } diff --git a/static/NotoSans-Bold.ttf b/static/NotoSans-Bold.ttf new file mode 100644 index 0000000..3e68bc2 Binary files /dev/null and b/static/NotoSans-Bold.ttf differ diff --git a/static/NotoSans-Italic.ttf b/static/NotoSans-Italic.ttf new file mode 100644 index 0000000..eedc5e4 Binary files /dev/null and b/static/NotoSans-Italic.ttf differ diff --git a/static/NotoSans-Regular.ttf b/static/NotoSans-Regular.ttf new file mode 100644 index 0000000..973bc2e Binary files /dev/null and b/static/NotoSans-Regular.ttf differ diff --git a/static/NotoSansMono-Bold.ttf b/static/NotoSansMono-Bold.ttf new file mode 100644 index 0000000..f74b877 Binary files /dev/null and b/static/NotoSansMono-Bold.ttf differ