Skip to content

Commit

Permalink
Add a new font for the main page
Browse files Browse the repository at this point in the history
  • Loading branch information
Timwi committed Aug 18, 2021
1 parent 95a43cf commit 477a813
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 1 deletion.
33 changes: 32 additions & 1 deletion HTML/css/font.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,38 @@
src: local('Special Elite'), local('SpecialElite-Regular'), url(../font/SpecialElite.ttf);
}

/* Primary font used by main page, FAQs and puzzles */
/* Main page */
@font-face {
font-family: 'Lato';
font-style: normal;
font-weight: normal;
src: local('Lato'), url(../font/Lato-Regular.ttf);
}

@font-face {
font-family: 'Lato';
font-style: normal;
font-weight: bold;
src: local('Lato Bold'), url(../font/Lato-Bold.ttf);
}

@font-face {
font-family: 'Lato';
font-style: italic;
font-weight: normal;
src: local('Lato Italic'), url(../font/Lato-Italic.ttf);
}

@font-face {
font-family: 'Lato';
font-style: italic;
font-weight: bold;
src: local('Lato Bold Italic'), url(../font/Lato-BoldItalic.ttf);
}



/* FAQs and puzzles */
@font-face {
font-family: 'Trebuchet MS';
font-style: normal;
Expand Down
Binary file added HTML/font/Lato-Bold.ttf
Binary file not shown.
Binary file added HTML/font/Lato-BoldItalic.ttf
Binary file not shown.
Binary file added HTML/font/Lato-Italic.ttf
Binary file not shown.
Binary file added HTML/font/Lato-Regular.ttf
Binary file not shown.

0 comments on commit 477a813

Please sign in to comment.