Skip to content

Instantly share code, notes, and snippets.

@kevzlou7979
Created January 9, 2021 01:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kevzlou7979/decd0ff2c96bcfe43edb642c333ed74e to your computer and use it in GitHub Desktop.
Save kevzlou7979/decd0ff2c96bcfe43edb642c333ed74e to your computer and use it in GitHub Desktop.
* html, body {
font-family: "Roboto", sans-serif !important;
}
@font-face {
font-family: "Roboto";
font-display: swap;
src: local(Roboto Thin), url("roboto/Roboto-Thin.eot");
src: url("roboto/Roboto-Thin.eot?#iefix") format("embedded-opentype"), url("roboto/Roboto-Thin.woff2") format("woff2"), url("roboto/Roboto-Thin.woff") format("woff"), url("roboto/Roboto-Thin.ttf") format("truetype");
font-weight: 200; }
@font-face {
font-family: "Roboto";
font-display: swap;
src: local(Roboto Light), url("roboto/Roboto-Light.eot");
src: url("roboto/Roboto-Light.eot?#iefix") format("embedded-opentype"), url("roboto/Roboto-Light.woff2") format("woff2"), url("roboto/Roboto-Light.woff") format("woff"), url("roboto/Roboto-Light.ttf") format("truetype");
font-weight: 300; }
@font-face {
font-family: "Roboto";
font-display: swap;
src: local(Roboto Regular), url("roboto/Roboto-Regular.eot");
src: url("roboto/Roboto-Regular.eot?#iefix") format("embedded-opentype"), url("roboto/Roboto-Regular.woff2") format("woff2"), url("roboto/Roboto-Regular.woff") format("woff"), url("roboto/Roboto-Regular.ttf") format("truetype");
font-weight: 400; }
@font-face {
font-family: "Roboto";
font-display: swap;
src: url("roboto/Roboto-Medium.eot");
src: url("roboto/Roboto-Medium.eot?#iefix") format("embedded-opentype"), url("roboto/Roboto-Medium.woff2") format("woff2"), url("roboto/Roboto-Medium.woff") format("woff"), url("roboto/Roboto-Medium.ttf") format("truetype");
font-weight: 500; }
@font-face {
font-family: "Roboto";
font-display: swap;
src: url("roboto/Roboto-Bold.eot");
src: url("roboto/Roboto-Bold.eot?#iefix") format("embedded-opentype"), url("roboto/Roboto-Bold.woff2") format("woff2"), url("roboto/Roboto-Bold.woff") format("woff"), url("roboto/Roboto-Bold.ttf") format("truetype");
font-weight: 700; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment