chore(aria.css): Dont serve Noto Sans font files
Noto Sans is a backup font but because it has a font face it is loaded from the server when it doesn't need to be. if in the future I want it back I have added it's cousin font Noto Sans Display as it is basically the same font but thinner and a smaller file size
This commit is contained in:
parent
6d1c644f2c
commit
954c1ee17a
3 changed files with 6 additions and 4 deletions
3
.vscode/settings.json
vendored
3
.vscode/settings.json
vendored
|
@ -4,6 +4,7 @@
|
||||||
"astro.config.mjs",
|
"astro.config.mjs",
|
||||||
".vscode",
|
".vscode",
|
||||||
"NavHeader.astro",
|
"NavHeader.astro",
|
||||||
"friends.astro"
|
"friends.astro",
|
||||||
|
"aria.css"
|
||||||
]
|
]
|
||||||
}
|
}
|
BIN
public/static/fonts/NotoSansDisplay-Regular.ttf
Normal file
BIN
public/static/fonts/NotoSansDisplay-Regular.ttf
Normal file
Binary file not shown.
|
@ -1,8 +1,9 @@
|
||||||
@font-face {
|
/* @font-face {
|
||||||
font-family: "Noto Sans";
|
font-family: "Noto Sans";
|
||||||
src: local("Noto Sans"), url("/static/fonts/NotoSans-Regular.ttf")
|
src: local("Noto Sans"), url("/static/fonts/NotoSansDisplay-Regular.ttf")
|
||||||
|
format("truetype"), url("/static/fonts/NotoSans-Regular.ttf")
|
||||||
format("truetype");
|
format("truetype");
|
||||||
}
|
} */
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: "Comic Shanns";
|
font-family: "Comic Shanns";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue