fix: save the fonts locally
This commit is contained in:
committed by
Kristofer Koishigawa
parent
927010fa10
commit
09eebd8598
@@ -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;
|
||||
|
@@ -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';
|
||||
|
||||
|
60
client/src/components/layouts/fonts.css
Normal file
60
client/src/components/layouts/fonts.css
Normal 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;
|
||||
}
|
Reference in New Issue
Block a user