Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Political Memory
memopol
Commits
14648379
Commit
14648379
authored
Dec 18, 2015
by
Nicolas Joyard
Committed by
Jamesie Pic
Jan 12, 2016
Browse files
Fix font issue
Add a space after @font-face directives, lesscpy seems picky about syntax...
parent
5f31138e
Changes
2
Hide whitespace changes
Inline
Side-by-side
.travis.yml
View file @
14648379
...
...
@@ -10,6 +10,7 @@ install:
before_script
:
-
bin/install_client_deps.sh
script
:
-
!
lesscpy -N static/less/base.less 2>&1 | grep Error
-
pep8 . --exclude '*/migrations,docs,static' --ignore E128
-
flake8 . --exclude '*/migrations,docs,static' --ignore E128
-
django-admin migrate
...
...
static/less/font.less
View file @
14648379
@font-face{
@font-face
{
font-family: 'propagandaregular';
src: url('../fonts/propagan-webfont.eot');
src: url('../fonts/propagan-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/propagan-webfont.woff') format('woff'), url('../fonts/propagan-webfont.ttf') format('truetype'), url('../fonts/propagan-webfont.svg#propagandaregular') format('svg');
font-weight: normal;
font-style: normal;
}
@font-face{
@font-face
{
font-family: 'sansus_webissimoitalic';
src: url('../fonts/sansus_webissimo-italic-webfont-webfont.eot');
src: url('../fonts/sansus_webissimo-italic-webfont-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/sansus_webissimo-italic-webfont-webfont.woff') format('woff'), url('../fonts/sansus_webissimo-italic-webfont-webfont.ttf') format('truetype'), url('../fonts/sansus_webissimo-italic-webfont-webfont.svg#sansus_webissimoitalic') format('svg');
font-weight: normal;
font-style: normal;
}
@font-face{
@font-face
{
font-family: 'sansus_webissimoregular';
src: url('../fonts/sansus_webissimo-regular-webfont-webfont.eot');
src: url('../fonts/sansus_webissimo-regular-webfont-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/sansus_webissimo-regular-webfont-webfont.woff') format('woff'), url('../fonts/sansus_webissimo-regular-webfont-webfont.ttf') format('truetype'), url('../fonts/sansus_webissimo-regular-webfont-webfont.svg#sansus_webissimoregular') format('svg');
font-weight: normal;
font-style: normal;
}
\ No newline at end of file
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment