Use Bower for fonts

This commit is contained in:
Pierre Rudloff 2015-10-29 23:29:57 +01:00
parent cd97433a4e
commit c79cd21d74
5 changed files with 9 additions and 2 deletions

1
.gitignore vendored
View File

@ -8,3 +8,4 @@ ffmpeg.tar.xz
ffmpeg-*/ ffmpeg-*/
alltube-release.zip alltube-release.zip
coverage/ coverage/
bower_components/

6
bower.json Normal file
View File

@ -0,0 +1,6 @@
{
"name": "alltube",
"dependencies": {
"opensans-googlefont": "*"
}
}

View File

@ -2,11 +2,11 @@
font-family: 'Open Sans'; font-family: 'Open Sans';
font-style: normal; font-style: normal;
font-weight: 300; font-weight: 300;
src: local('Open Sans Light'), local('OpenSans-Light'), url(../fonts/OpenSans-Light.ttf); src: local('Open Sans Light'), local('OpenSans-Light'), url(../bower_components/opensans-googlefont/OpenSans-Light.ttf);
} }
@font-face { @font-face {
font-family: 'Open Sans'; font-family: 'Open Sans';
font-style: normal; font-style: normal;
font-weight: 400; font-weight: 400;
src: local('Open Sans'), local('OpenSans'), url(../fonts/OpenSans-Regular.ttf); src: local('Open Sans'), local('OpenSans'), url(../bower_components/opensans-googlefont/OpenSans-Regular.ttf);
} }

Binary file not shown.

Binary file not shown.