#7: Add Noto Sans font

This commit is contained in:
imohkay 2021-10-14 12:35:51 +05:30
parent 56f84b4d67
commit 269fdc713f
10 changed files with 33 additions and 1 deletions

2
app/static/css/partials/_layout.scss Normal file → Executable file
View file

@ -21,7 +21,7 @@ body {
animation: background_animation 60s ease-in-out infinite; animation: background_animation 60s ease-in-out infinite;
background-size: 400% 100%; background-size: 400% 100%;
color: #ddd; color: #ddd;
font-family: "Noto Sans"; font-family: "noto_sansregular", sans-serif;
font-size: 20px; font-size: 20px;
overflow-x: hidden; overflow-x: hidden;
} }

32
app/static/css/partials/_text.scss Normal file → Executable file
View file

@ -1,4 +1,36 @@
// Font: Noto Sans
@font-face {
font-family: 'noto_sans';
src: url('../../static/fonts/noto-sans/noto-sans-regular-webfont.woff2') format('woff2'),
url('../../static/fonts/noto-sans/noto-sans-regular-webfont.woff') format('woff');
font-weight: 400;
font-style: normal;
}
@font-face {
font-family: 'noto_sans';
src: url('../../static/fonts/noto-sans/noto-sans-italic-webfont.woff2') format('woff2'),
url('../../static/fonts/noto-sans/noto-sans-italic-webfont.woff') format('woff');
font-weight: 400;
font-style: italic;
}
@font-face {
font-family: 'noto_sans';
src: url('../../static/fonts/noto-sans/noto-sans-bold-webfont.woff2') format('woff2'),
url('../../static/fonts/noto-sans/noto-sans-bold-webfont.woff') format('woff');
font-weight: 700;
font-style: normal;
}
@font-face {
font-family: 'noto_sans';
src: url('noto-sans-bold-italic-webfont.woff2') format('woff2'),
url('noto-sans-bold-italic-webfont.woff') format('woff');
font-weight: 700;
font-style: italic;
}
main > .texts { main > .texts {
box-sizing: border-box; box-sizing: border-box;

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.