Fonts - Avenger

# Fonts

Avenger uses Source Sans Pro and Source Sans Pro Light webfonts. Include the following script at the very start the page right after the opening `head` tag of your page (learn why) to load the fonts asnychronously. You may change the default fonts from the variables.less file

    <script type="text/javascript">
      WebFontConfig = {
        google: { families: [ 'Source+Sans+Pro:300,400,600,700:latin' ] }
      };
      (function() {
        var wf = document.createElement('script');
        wf.src = ('https:' == document.location.protocol ? 'https' : 'http') +
          '://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js';
        wf.type = 'text/javascript';
        wf.async = 'true';
        var s = document.getElementsByTagName('script')[0];
        s.parentNode.insertBefore(wf, s);
      })(); </script>

Or alternatively,

    <link href='http://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700' rel='stylesheet' type='text/css'>

« Previous Next »