#7: Add Noto Sans font
This commit is contained in:
parent
56f84b4d67
commit
269fdc713f
10 changed files with 33 additions and 1 deletions
2
app/static/css/partials/_layout.scss
Normal file → Executable file
2
app/static/css/partials/_layout.scss
Normal file → Executable file
|
@ -21,7 +21,7 @@ body {
|
|||
animation: background_animation 60s ease-in-out infinite;
|
||||
background-size: 400% 100%;
|
||||
color: #ddd;
|
||||
font-family: "Noto Sans";
|
||||
font-family: "noto_sansregular", sans-serif;
|
||||
font-size: 20px;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
|
32
app/static/css/partials/_text.scss
Normal file → Executable file
32
app/static/css/partials/_text.scss
Normal file → Executable 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 {
|
||||
box-sizing: border-box;
|
||||
|
|
BIN
app/static/fonts/noto-sans/noto-sans-bold-italic-webfont.woff
Executable file
BIN
app/static/fonts/noto-sans/noto-sans-bold-italic-webfont.woff
Executable file
Binary file not shown.
BIN
app/static/fonts/noto-sans/noto-sans-bold-italic-webfont.woff2
Executable file
BIN
app/static/fonts/noto-sans/noto-sans-bold-italic-webfont.woff2
Executable file
Binary file not shown.
BIN
app/static/fonts/noto-sans/noto-sans-bold-webfont.woff
Executable file
BIN
app/static/fonts/noto-sans/noto-sans-bold-webfont.woff
Executable file
Binary file not shown.
BIN
app/static/fonts/noto-sans/noto-sans-bold-webfont.woff2
Executable file
BIN
app/static/fonts/noto-sans/noto-sans-bold-webfont.woff2
Executable file
Binary file not shown.
BIN
app/static/fonts/noto-sans/noto-sans-italic-webfont.woff
Executable file
BIN
app/static/fonts/noto-sans/noto-sans-italic-webfont.woff
Executable file
Binary file not shown.
BIN
app/static/fonts/noto-sans/noto-sans-italic-webfont.woff2
Executable file
BIN
app/static/fonts/noto-sans/noto-sans-italic-webfont.woff2
Executable file
Binary file not shown.
BIN
app/static/fonts/noto-sans/noto-sans-regular-webfont.woff
Executable file
BIN
app/static/fonts/noto-sans/noto-sans-regular-webfont.woff
Executable file
Binary file not shown.
BIN
app/static/fonts/noto-sans/noto-sans-regular-webfont.woff2
Executable file
BIN
app/static/fonts/noto-sans/noto-sans-regular-webfont.woff2
Executable file
Binary file not shown.
Loading…
Reference in a new issue