Add Noto fonts to repository
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Luca 2022-07-09 16:45:47 +02:00
parent 041204d4cb
commit bee351c581
6 changed files with 25 additions and 3 deletions

22
assets/_fonts.scss Normal file
View File

@ -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);
}

View File

@ -3,7 +3,7 @@
* { * {
box-sizing: border-box; box-sizing: border-box;
font-family: sans-serif; font-family: "Noto Sans", sans-serif;
margin: 0; margin: 0;
padding: 0; padding: 0;
} }
@ -34,7 +34,7 @@ header {
margin-top: 1rem; margin-top: 1rem;
pre { pre {
font-family: monospace; font-family: "Noto Sans Mono", monospace;
font-size: 0.8rem; font-size: 0.8rem;
font-weight: bold; font-weight: bold;
line-height: 1; line-height: 1;
@ -42,7 +42,7 @@ header {
span { span {
color: $color-highlight; color: $color-highlight;
font-family: monospace; font-family: inherit;
} }
} }

BIN
static/NotoSans-Bold.ttf Normal file

Binary file not shown.

BIN
static/NotoSans-Italic.ttf Normal file

Binary file not shown.

BIN
static/NotoSans-Regular.ttf Normal file

Binary file not shown.

Binary file not shown.