Skip to content

Commit

Permalink
add woff2 and compile styles
Browse files Browse the repository at this point in the history
  • Loading branch information
vxsx committed Jul 9, 2015
1 parent 15d3fc7 commit bf5f416
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cms/static/cms/css/cms.base.css

Large diffs are not rendered by default.

Binary file modified cms/static/cms/fonts/django-cms-iconfont.eot
Binary file not shown.
Binary file modified cms/static/cms/fonts/django-cms-iconfont.ttf
Binary file not shown.
Binary file modified cms/static/cms/fonts/django-cms-iconfont.woff
Binary file not shown.
Binary file added cms/static/cms/fonts/django-cms-iconfont.woff2
Binary file not shown.
7 changes: 4 additions & 3 deletions cms/static/cms/sass/components/_iconography.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@
font-family: "django-cms-iconfont";
src: url("../fonts/django-cms-iconfont.eot?v=3.2.0");
src: url("../fonts/django-cms-iconfont.eot?v=3.2.0#iefix") format("eot"),
url("../fonts/django-cms-iconfont.woff?v=3.2.0") format("woff"),
url("../fonts/django-cms-iconfont.ttf?v=3.2.0") format("truetype"),
url("../fonts/django-cms-iconfont.svg?v=3.2.0#django-cms-iconfont") format("svg");
url("../fonts/django-cms-iconfont.woff2?v=3.2.0") format("woff2"),
url("../fonts/django-cms-iconfont.woff?v=3.2.0") format("woff"),
url("../fonts/django-cms-iconfont.ttf?v=3.2.0") format("truetype"),
url("../fonts/django-cms-iconfont.svg?v=3.2.0#django-cms-iconfont") format("svg");
font-weight: normal;
font-style: normal;
}
Expand Down
1 change: 1 addition & 0 deletions cms/static/cms/sass/libs/_iconfont.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
font-family: "<%= fontName %>";
src: url("<%= fontPath %><%= fontName %>.eot?v=3.2.0");
src: url("<%= fontPath %><%= fontName %>.eot?v=3.2.0#iefix") format("eot"),
url("<%= fontPath %><%= fontName %>.woff2?v=3.2.0") format("woff2"),
url("<%= fontPath %><%= fontName %>.woff?v=3.2.0") format("woff"),
url("<%= fontPath %><%= fontName %>.ttf?v=3.2.0") format("truetype"),
url("<%= fontPath %><%= fontName %>.svg?v=3.2.0#<%= fontName %>") format("svg");
Expand Down

0 comments on commit bf5f416

Please sign in to comment.