fix: save the fonts locally

This commit is contained in:
Ahmad Abdolsaheb
2019-10-16 13:02:26 +03:00
committed by Kristofer Koishigawa
parent 927010fa10
commit 09eebd8598
26 changed files with 62 additions and 16 deletions

View File

@@ -30,7 +30,7 @@
.quote-wrapper span {
font-size: 50px;
font-weight: 600;
font-weight: 700;
color: var(--tertiary-color);
font-family: 'Arial', sans-serif;
font-style: normal;

View File

@@ -24,6 +24,7 @@ import Flash from '../Flash';
import Header from '../Header';
import Footer from '../Footer';
import './fonts.css';
import './global.css';
import './variables.css';

View File

@@ -0,0 +1,60 @@
@font-face {
font-family: 'Lato';
src: url('../../../static/fonts/lato/Lato-Light.woff') format('woff');
font-weight: 300;
font-style: normal;
}
@font-face {
font-family: 'Lato';
src: url('../../../static/fonts/lato/Lato-Regular.woff') format('woff');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Lato';
src: url('../../../static/fonts/lato/Lato-Italic.woff') format('woff');
font-weight: normal;
font-style: italic;
}
@font-face {
font-family: 'Lato';
src: url('../../../static/fonts/lato/Lato-Bold.woff') format('woff');
font-weight: bold;
font-style: normal;
}
@font-face {
font-family: 'Lato';
src: url('../../../static/fonts/lato/Lato-Black.woff') format('woff');
font-weight: 900;
font-style: normal;
}
/* roboto mono */
@font-face {
font-family: 'Roboto Mono';
src: url('../../../static/fonts/roboto-mono/RobotoMono-Regular.woff')
format('woff');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Roboto Mono';
src: url('../../../static/fonts/roboto-mono/RobotoMono-Italic.woff')
format('woff');
font-weight: normal;
font-style: italic;
}
@font-face {
font-family: 'Roboto Mono';
src: url('../../../static/fonts/roboto-mono/RobotoMono-Bold.woff')
format('woff');
font-weight: bold;
font-style: normal;
}