mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-11-30 12:21:09 +00:00
use woff(2) fonts for Noto Sans (#1509)
This commit is contained in:
parent
4cba90c0f6
commit
b8e1ab312d
8 changed files with 14 additions and 8 deletions
Binary file not shown.
Binary file not shown.
|
@ -1,5 +1,3 @@
|
|||
Open Font License applies to NotoSans-Regular.ttf and NotoSans-Bold.ttf in this directory
|
||||
|
||||
Copyright 2012 Google Inc. All Rights Reserved.
|
||||
|
||||
This Font Software is licensed under the SIL Open Font License,
|
BIN
web/assets/fonts/noto-sans-v27-latin-700.woff
Normal file
BIN
web/assets/fonts/noto-sans-v27-latin-700.woff
Normal file
Binary file not shown.
BIN
web/assets/fonts/noto-sans-v27-latin-700.woff2
Normal file
BIN
web/assets/fonts/noto-sans-v27-latin-700.woff2
Normal file
Binary file not shown.
BIN
web/assets/fonts/noto-sans-v27-latin-regular.woff
Normal file
BIN
web/assets/fonts/noto-sans-v27-latin-regular.woff
Normal file
Binary file not shown.
BIN
web/assets/fonts/noto-sans-v27-latin-regular.woff2
Normal file
BIN
web/assets/fonts/noto-sans-v27-latin-regular.woff2
Normal file
Binary file not shown.
|
@ -18,16 +18,24 @@
|
|||
|
||||
@import "modern-normalize/modern-normalize.css";
|
||||
|
||||
/* noto-sans-regular - latin */
|
||||
@font-face {
|
||||
font-family: "Noto Sans";
|
||||
font-weight: 400;
|
||||
src: url(../NotoSans-Regular.ttf) format('truetype');
|
||||
font-family: "Noto Sans";
|
||||
font-weight: 400;
|
||||
font-display: swap;
|
||||
font-style: normal;
|
||||
src: url('../fonts/noto-sans-v27-latin-regular.woff2') format('woff2'),
|
||||
url('../fonts/noto-sans-v27-latin-regular.woff') format('woff');
|
||||
}
|
||||
|
||||
/* noto-sans-700 - latin */
|
||||
@font-face {
|
||||
font-family: "Noto Sans";
|
||||
font-weight: bold;
|
||||
src: url(../NotoSans-Bold.ttf) format('truetype');
|
||||
font-family: "Noto Sans";
|
||||
font-weight: 700;
|
||||
font-display: swap;
|
||||
font-style: normal;
|
||||
src: url('../fonts/noto-sans-v27-latin-700.woff2') format('woff2'),
|
||||
url('../fonts/noto-sans-v27-latin-700.woff') format('woff');
|
||||
}
|
||||
|
||||
/* standard border radius for nice squircles */
|
||||
|
|
Loading…
Reference in a new issue