Merge pull request #233 from NicolasConstant/topic_update-electron_font
added fonts auto-hosting
This commit is contained in:
commit
146ee28e79
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.
|
@ -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;
|
||||||
|
}
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<link rel="icon" type="image/x-icon" href="favicon.ico">
|
<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"> -->
|
<!-- <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"> -->
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
|
|
@ -4,6 +4,8 @@
|
||||||
@import "~bootstrap/scss/bootstrap.scss";
|
@import "~bootstrap/scss/bootstrap.scss";
|
||||||
@import "~ng-pick-datetime/assets/style/picker.min.css";
|
@import "~ng-pick-datetime/assets/style/picker.min.css";
|
||||||
|
|
||||||
|
@import 'assets/scss/modules/_fonts.scss';
|
||||||
|
|
||||||
*,
|
*,
|
||||||
*::after,
|
*::after,
|
||||||
*::before {
|
*::before {
|
||||||
|
|
Loading…
Reference in New Issue