refactor(website): Uses font-display: swap for NotoSans

This commit is contained in:
sovanna 2019-07-29 11:17:19 +02:00
parent d923ac8930
commit 2aec9fb4a0
1 changed files with 4 additions and 0 deletions

View File

@ -1,17 +1,20 @@
@font-face {
font-family: 'Noto Sans';
font-display: swap;
src: url('../fonts/NotoSans-Regular.ttf') format('truetype');
}
@font-face {
font-family: 'Noto Sans';
font-display: swap;
src: url('../fonts/NotoSans-Bold.ttf') format('truetype');
font-weight: 700;
}
@font-face {
font-family: 'Noto Sans';
font-display: swap;
src: url('../fonts/NotoSans-BoldItalic.ttf') format('truetype');
font-weight: 700;
font-style: italic;
@ -19,6 +22,7 @@
@font-face {
font-family: 'Noto Sans';
font-display: swap;
src: url('../fonts/NotoSans-Italic.ttf') format('truetype');
font-style: italic;
}