now I understand relative paths in SCSS better

This commit is contained in:
Joshua Seigler 2016-07-27 02:05:29 -04:00
parent e68fb55657
commit 5fd7c3e520
3 changed files with 5 additions and 5 deletions

View file

@ -15,6 +15,7 @@ exclude_from_localizations: ["assets"]
sass:
style: compressed
cache: false
relative_assets: true
gems:
- jekyll-paginate

View file

@ -1,7 +1,7 @@
@import "../assets/fonts/worksans/font";
@import "../fonts/worksans/font.css"; // imports are relative to /assets/css/style.scss
body {
font-family: 'work_sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-family: 'Work Sans', Helvetica, Arial, sans-serif;
}
p {

View file

@ -1,7 +1,7 @@
/* Generated by Font Squirrel (https://www.fontsquirrel.com) on July 27, 2016 */
@font-face {
font-family: 'work_sans';
font-family: 'Work Sans';
src: url('worksans-bold-webfont.eot');
src: url('worksans-bold-webfont.eot?#iefix') format('embedded-opentype'),
url('worksans-bold-webfont.woff2') format('woff2'),
@ -12,7 +12,7 @@
}
@font-face {
font-family: 'work_sans';
font-family: 'Work Sans';
src: url('worksans-regular-webfont.eot');
src: url('worksans-regular-webfont.eot?#iefix') format('embedded-opentype'),
url('worksans-regular-webfont.woff2') format('woff2'),
@ -21,4 +21,3 @@
font-weight: normal;
font-style: normal;
}