added fonts auto-hosting

This commit is contained in:
Nicolas Constant 2020-03-06 23:04:30 -05:00
parent 3a287ee05e
commit 2fa9d95000
No known key found for this signature in database
GPG Key ID: 1E9F677FB01A5688
15 changed files with 51 additions and 1 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,48 @@
@font-face {
font-family: 'Roboto';
src: url('assets/fonts/Regular/Roboto-Regular.woff2') format('woff2'),
url('assets/fonts/Regular/Roboto-Regular.woff') format('woff');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Roboto';
src: url('assets/fonts/Medium/Roboto-Medium.woff2') format('woff2'),
url('assets/fonts/Medium/Roboto-Medium.woff') format('woff');
font-weight: 500;
font-style: normal;
}
@font-face {
font-family: 'Roboto';
src: url('assets/fonts/Black/Roboto-Black.woff2') format('woff2'),
url('assets/fonts/Black/Roboto-Black.woff') format('woff');
font-weight: 900;
font-style: normal;
}
@font-face {
font-family: 'Roboto';
src: url('assets/fonts/Thin/Roboto-Thin.woff2') format('woff2'),
url('assets/fonts/Thin/Roboto-Thin.woff') format('woff');
font-weight: 100;
font-style: normal;
}
@font-face {
font-family: 'Roboto';
src: url('assets/fonts/Light/Roboto-Light.woff2') format('woff2'),
url('assets/fonts/Light/Roboto-Light.woff') format('woff');
font-weight: 300;
font-style: normal;
}
@font-face {
font-family: 'Roboto';
src: url('assets/fonts/Bold/Roboto-Bold.woff2') format('woff2'),
url('assets/fonts/Bold/Roboto-Bold.woff') format('woff');
font-weight: bold;
font-style: normal;
}

View File

@ -8,7 +8,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="favicon.ico">
<link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
<!-- <link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet"> -->
<!-- <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"> -->
<style>

View File

@ -4,6 +4,8 @@
@import "~bootstrap/scss/bootstrap.scss";
@import "~ng-pick-datetime/assets/style/picker.min.css";
@import 'assets/scss/modules/_fonts.scss';
*,
*::after,
*::before {