Skip to content

Commit

Permalink
Adds webfont loader
Browse files Browse the repository at this point in the history
  • Loading branch information
dirtycoder committed Mar 11, 2017
1 parent a4c5a64 commit eb87d4a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pets/static/css/pets.css
Expand Up @@ -4,7 +4,7 @@ html {
}

body {
font-family: "Helvetica Neue", "Calibri Light", Roboto, sans-serif;
font-family: 'Open Sans', sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
margin-bottom: 500px;
Expand Down
8 changes: 8 additions & 0 deletions pets/templates/_layouts/base.html
Expand Up @@ -148,6 +148,14 @@ <h4 class="title-text">{% trans 'Contact' %}</h4>
<script src="{% static 'js/lightbox.js' %}"></script>
<script src="{% static 'js/matchMedia.js' %}"></script>
<script src="{% static 'js/pets.js' %}"></script>
<script src="https://ajax.googleapis.com/ajax/libs/webfont/1.6.26/webfont.js"></script>
<script>
WebFont.load({
google: {
families: ['Open Sans']
}
});
</script>
{% if not debug %}
<div id="fb-root"></div>
<script>(function (d, s, id) {
Expand Down

0 comments on commit eb87d4a

Please sign in to comment.