Serve lossless WOFF2 browser fonts outside blocking stylesheets
This commit is contained in:
@@ -1,34 +1,34 @@
|
||||
@font-face {
|
||||
font-family: "Mina Sans";
|
||||
src: url("../src/assets/fonts/NotoSans-Regular.ttf") format("truetype");
|
||||
src: url("/fonts/browser/NotoSans-Regular.woff2") format("woff2");
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-display: swap;
|
||||
}
|
||||
@font-face {
|
||||
font-family: "Mina Sans";
|
||||
src: url("../src/assets/fonts/NotoSans-Medium.ttf") format("truetype");
|
||||
src: url("/fonts/browser/NotoSans-Medium.woff2") format("woff2");
|
||||
font-style: normal;
|
||||
font-weight: 500;
|
||||
font-display: swap;
|
||||
}
|
||||
@font-face {
|
||||
font-family: "Mina Sans";
|
||||
src: url("../src/assets/fonts/NotoSans-SemiBold.ttf") format("truetype");
|
||||
src: url("/fonts/browser/NotoSans-SemiBold.woff2") format("woff2");
|
||||
font-style: normal;
|
||||
font-weight: 600;
|
||||
font-display: swap;
|
||||
}
|
||||
@font-face {
|
||||
font-family: "Instrument Serif";
|
||||
src: url("../src/assets/fonts/InstrumentSerif-Regular.ttf") format("truetype");
|
||||
src: url("/fonts/browser/InstrumentSerif-Regular.woff2") format("woff2");
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
@font-face {
|
||||
font-family: "Instrument Serif";
|
||||
src: url("../src/assets/fonts/InstrumentSerif-Italic.ttf") format("truetype");
|
||||
src: url("/fonts/browser/InstrumentSerif-Italic.woff2") format("woff2");
|
||||
font-weight: 400;
|
||||
font-style: italic;
|
||||
font-display: swap;
|
||||
|
||||
Reference in New Issue
Block a user