roboto.scss 1.8 KB

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