feat(font): Uses self-hosted NotoSans

master
sovanna 2019-07-10 11:47:21 +02:00
parent 36d0ff4d95
commit 054ee59fcf
6 changed files with 25 additions and 2 deletions

View File

@ -1,3 +1,28 @@
@font-face {
font-family: 'Noto Sans';
src: url('../fonts/NotoSans-Regular.ttf') format('truetype');
}
@font-face {
font-family: 'Noto Sans';
src: url('../fonts/NotoSans-Bold.ttf') format('truetype');
font-weight: 700;
}
@font-face {
font-family: 'Noto Sans';
src: url('../fonts/NotoSans-BoldItalic.ttf') format('truetype');
font-weight: 700;
font-style: italic;
}
@font-face {
font-family: 'Noto Sans';
src: url('../fonts/NotoSans-Italic.ttf') format('truetype');
font-style: italic;
}
/**
* Basic styling
*/

BIN
static/fonts/NotoSans-Bold.ttf Executable file

Binary file not shown.

Binary file not shown.

BIN
static/fonts/NotoSans-Italic.ttf Executable file

Binary file not shown.

BIN
static/fonts/NotoSans-Regular.ttf Executable file

Binary file not shown.

View File

@ -26,8 +26,6 @@
<link href="{{ get_url(path='favicon.ico', cachebust=true) }}" rel="shortcut icon" type="image/x-icon">
<link href="{{ get_url(path='favicon.ico', cachebust=true) }}" rel="icon" type="image/x-icon">
<link href="https://fonts.googleapis.com/css?family=Noto+Sans:400,700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="{{ get_url(path='css/bootstrap-4.3.1.min.css', cachebust=true) }}">
<link rel="stylesheet" href="{{ get_url(path='css/styles.css', cachebust=true) }}">
{% block styles %}{% endblock %}