mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-27 16:44:53 +01:00
This inlines all webfonts we are using throughout the app, instead of loading them from Google Fonts. There are several benefits to this approach: - Better performance - We don't have any problems in regards to potential Google Fonts downtimes - It protects our users privacy, as they don't have to request those fonts from a third-party It sets up individual css files per font-face, so that they are easier to include and require on a per use-case basis.
54 lines
2 KiB
CSS
54 lines
2 KiB
CSS
/* generated using https://google-webfonts-helper.herokuapp.com/fonts/montserrat?subsets=latin,latin-ext */
|
|
@font-face {
|
|
font-family: 'Montserrat';
|
|
font-style: normal;
|
|
font-weight: 300;
|
|
src: local('Montserrat Light'), local('Montserrat-Light'),
|
|
url('/fonts/montserrat-v14-latin-ext_latin-300.woff2') format('woff2'),
|
|
url('/fonts/montserrat-v14-latin-ext_latin-300.woff') format('woff');
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'Montserrat';
|
|
font-style: italic;
|
|
font-weight: 300;
|
|
src: local('Montserrat Light Italic'), local('Montserrat-LightItalic'),
|
|
url('/fonts/montserrat-v14-latin-ext_latin-300italic.woff2') format('woff2'),
|
|
url('/fonts/montserrat-v14-latin-ext_latin-300italic.woff') format('woff');
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'Montserrat';
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
src: local('Montserrat Regular'), local('Montserrat-Regular'),
|
|
url('/fonts/montserrat-v14-latin-ext_latin-regular.woff2') format('woff2'),
|
|
url('/fonts/montserrat-v14-latin-ext_latin-regular.woff') format('woff');
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'Montserrat';
|
|
font-style: italic;
|
|
font-weight: 400;
|
|
src: local('Montserrat Italic'), local('Montserrat-Italic'),
|
|
url('/fonts/montserrat-v14-latin-ext_latin-italic.woff2') format('woff2'),
|
|
url('/fonts/montserrat-v14-latin-ext_latin-italic.woff') format('woff');
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'Montserrat';
|
|
font-style: normal;
|
|
font-weight: 700;
|
|
src: local('Montserrat Bold'), local('Montserrat-Bold'),
|
|
url('/fonts/montserrat-v14-latin-ext_latin-700.woff2') format('woff2'),
|
|
url('/fonts/montserrat-v14-latin-ext_latin-700.woff') format('woff');
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'Montserrat';
|
|
font-style: italic;
|
|
font-weight: 700;
|
|
src: local('Montserrat Bold Italic'), local('Montserrat-BoldItalic'),
|
|
url('/fonts/montserrat-v14-latin-ext_latin-700italic.woff2') format('woff2'),
|
|
url('/fonts/montserrat-v14-latin-ext_latin-700italic.woff') format('woff');
|
|
}
|