Moving generated css to a css folder and changing all routes related with fonts due to this change

This commit is contained in:
xavijam 2016-01-20 18:29:22 +01:00
parent a613fa900a
commit 78ebf3d9a9
8 changed files with 14 additions and 14 deletions

View File

@ -3,11 +3,11 @@
@font-face { @font-face {
font-family: 'CartoIcon'; font-family: 'CartoIcon';
src: url('fonts/cartoIcon.eot'); src: url('../fonts/cartoIcon.eot');
src: url('fonts/cartoIcon.eot?#iefix') format('embedded-opentype'), src: url('../fonts/cartoIcon.eot?#iefix') format('embedded-opentype'),
url('fonts/cartoIcon.woff') format('woff'), url('../fonts/cartoIcon.woff') format('woff'),
url('fonts/cartoIcon.ttf') format('truetype'), url('../fonts/cartoIcon.ttf') format('truetype'),
url('fonts/cartoIcon.svg?ey3vsq#cartoIcon') format('svg'); url('../fonts/cartoIcon.svg?ey3vsq#cartoIcon') format('svg');
font-weight: normal; font-weight: normal;
font-style: normal; font-style: normal;
} }

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -3,11 +3,11 @@
@font-face { @font-face {
font-family: 'CartoIcon'; font-family: 'CartoIcon';
src: url('fonts/cartoIcon.eot'); src: url('../fonts/cartoIcon.eot');
src: url('fonts/cartoIcon.eot?#iefix') format('embedded-opentype'), src: url('../fonts/cartoIcon.eot?#iefix') format('embedded-opentype'),
url('fonts/cartoIcon.woff') format('woff'), url('../fonts/cartoIcon.woff') format('woff'),
url('fonts/cartoIcon.ttf') format('truetype'), url('../fonts/cartoIcon.ttf') format('truetype'),
url('fonts/cartoIcon.svg?ey3vsq#cartoIcon') format('svg'); url('../fonts/cartoIcon.svg?ey3vsq#cartoIcon') format('svg');
font-weight: normal; font-weight: normal;
font-style: normal; font-style: normal;
} }

View File

@ -1,5 +1,5 @@
<head> <head>
<link href='../cartostyles.css' type='text/css' rel='stylesheet'> <link href='../css/cartostyles.css' type='text/css' rel='stylesheet'>
</head> </head>
{{> theme}} {{> theme}}

View File

@ -2,7 +2,7 @@ module.exports = {
dist: { dist: {
options: {}, options: {},
files: { files: {
'dist/cartostyles.css': [ 'dist/css/cartostyles.css': [
'.tmp/src/scss/**/*.css' '.tmp/src/scss/**/*.css'
] ]
} }

View File

@ -4,8 +4,8 @@ module.exports = {
check: 'gzip' check: 'gzip'
}, },
files: { files: {
'dist/cartostyles.css': [ 'dist/css/cartostyles.css': [
'dist/cartostyles.css' 'dist/css/cartostyles.css'
] ]
} }
} }