font_family.less 489 B

12345678910111213141516171819202122232425262728
  1. @font-directory: 'fonts/';
  2. @some-family: Gentium;
  3. @font-face: maroon; // won't collide with @font-face { }
  4. @font-face {
  5. font-family: Graublau Sans Web;
  6. src: url(@{font-directory}GraublauWeb.otf) format("opentype");
  7. }
  8. @font-face {
  9. font-family: @some-family;
  10. src: url('@{font-directory}Gentium.ttf');
  11. }
  12. @font-face {
  13. font-family: @some-family;
  14. src: url("@{font-directory}GentiumItalic.ttf");
  15. font-style: italic;
  16. }
  17. h2 {
  18. font-family: @some-family;
  19. crazy: @font-face;
  20. }