Commit basic working example
This commit is contained in:
21
source/scss/fonts.scss
Normal file
21
source/scss/fonts.scss
Normal file
@ -0,0 +1,21 @@
|
||||
/* playfair-display-700 - latin */
|
||||
@font-face {
|
||||
font-family: 'Playfair Display';
|
||||
font-display: swap;
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
src: local(''),
|
||||
url('../fonts/playfair-display-v21-latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
|
||||
url('../fonts/playfair-display-v21-latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
|
||||
}
|
||||
|
||||
/* playfair-display-900 - latin */
|
||||
@font-face {
|
||||
font-family: 'Playfair Display';
|
||||
font-display: swap;
|
||||
font-style: normal;
|
||||
font-weight: 900;
|
||||
src: local(''),
|
||||
url('../fonts/playfair-display-v21-latin-900.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
|
||||
url('../fonts/playfair-display-v21-latin-900.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
|
||||
}
|
@ -2,5 +2,9 @@
|
||||
// see: node_modules/bootstrap/scss/bootstrap.scss
|
||||
@import 'bootstrap';
|
||||
|
||||
// self-hosted Playfair font
|
||||
// see: https://medium.com/clio-calliope/making-google-fonts-faster-aadf3c02a36d
|
||||
@import 'fonts';
|
||||
|
||||
// local style overrides
|
||||
@import 'main';
|
||||
|
Reference in New Issue
Block a user