roboto.scss 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. @font-face {
  2. font-family: 'Roboto';
  3. src:
  4. local('Roboto Italic'),
  5. url('./webfonts/roboto/roboto-italic-webfont.woff2') format('woff2'),
  6. url('./webfonts/roboto/roboto-italic-webfont.woff') format('woff'),
  7. url('./webfonts/roboto/roboto-italic-webfont.ttf') format('truetype'),
  8. url('./webfonts/roboto/roboto-italic-webfont.svg#roboto-italic-webfont') format('svg');
  9. font-weight: normal;
  10. font-display: swap;
  11. font-style: italic;
  12. }
  13. @font-face {
  14. font-family: 'Roboto';
  15. src:
  16. local('Roboto Bold'),
  17. url('./webfonts/roboto/roboto-bold-webfont.woff2') format('woff2'),
  18. url('./webfonts/roboto/roboto-bold-webfont.woff') format('woff'),
  19. url('./webfonts/roboto/roboto-bold-webfont.ttf') format('truetype'),
  20. url('./webfonts/roboto/roboto-bold-webfont.svg#roboto-bold-webfont') format('svg');
  21. font-weight: bold;
  22. font-display: swap;
  23. font-style: normal;
  24. }
  25. @font-face {
  26. font-family: 'Roboto';
  27. src:
  28. local('Roboto Medium'),
  29. url('./webfonts/roboto/roboto-medium-webfont.woff2') format('woff2'),
  30. url('./webfonts/roboto/roboto-medium-webfont.woff') format('woff'),
  31. url('./webfonts/roboto/roboto-medium-webfont.ttf') format('truetype'),
  32. url('./webfonts/roboto/roboto-medium-webfont.svg#roboto-medium-webfont') format('svg');
  33. font-weight: 500;
  34. font-display: swap;
  35. font-style: normal;
  36. }
  37. @font-face {
  38. font-family: 'Roboto';
  39. src:
  40. local('Roboto'),
  41. url('./webfonts/roboto/roboto-regular-webfont.woff2') format('woff2'),
  42. url('./webfonts/roboto/roboto-regular-webfont.woff') format('woff'),
  43. url('./webfonts/roboto/roboto-regular-webfont.ttf') format('truetype'),
  44. url('./webfonts/roboto/roboto-regular-webfont.svg#roboto-regular-webfont') format('svg');
  45. font-weight: normal;
  46. font-display: swap;
  47. font-style: normal;
  48. }