Add three new fonts, display fonts in the font selector

This commit is contained in:
Jackson Harper
2022-11-02 18:04:55 +08:00
parent b7ec6ac5a8
commit 472e11e9db
15 changed files with 113 additions and 8 deletions

View File

@ -228,6 +228,69 @@ div#appleid-signin {
src: url('/static/fonts/Source_Serif_Pro/SourceSerifPro-Italic.ttf');
}
@font-face {
font-family: 'Montserrat';
font-weight: 400;
font-style: normal;
src: url('/static/fonts/Source_Serif_Pro/Montserrat-Regular.ttf');
}
@font-face {
font-family: 'Montserrat';
font-weight: 700;
font-style: normal;
src: url('/static/fonts/Source_Serif_Pro/Montserrat-Bold.ttf');
}
@font-face {
font-family: 'Montserrat';
font-weight: 400;
font-style: italic;
src: url('/static/fonts/Source_Serif_Pro/Montserrat-Italic.ttf');
}
@font-face {
font-family: 'Georgia';
font-weight: 400;
font-style: normal;
src: url('/static/fonts/Source_Serif_Pro/Georgia-Regular.ttf');
}
@font-face {
font-family: 'Georgia';
font-weight: 700;
font-style: normal;
src: url('/static/fonts/Source_Serif_Pro/Georgia-Bold.ttf');
}
@font-face {
font-family: 'Georgia';
font-weight: 400;
font-style: italic;
src: url('/static/fonts/Source_Serif_Pro/Georgia-Italic.ttf');
}
@font-face {
font-family: 'Newsreader';
font-weight: 400;
font-style: normal;
src: url('/static/fonts/Source_Serif_Pro/Newsreader-Regular.ttf');
}
@font-face {
font-family: 'Newsreader';
font-weight: 700;
font-style: normal;
src: url('/static/fonts/Source_Serif_Pro/Newsreader-Bold.ttf');
}
@font-face {
font-family: 'Newsreader';
font-weight: 400;
font-style: italic;
src: url('/static/fonts/Source_Serif_Pro/Newsreader-Italic.ttf');
}
@font-face {
font-family: 'SF Mono';
font-weight: 400;