Use Jekyll native Sass/SCSS preprocessor

- Move .scss files to default `_sass` folder
- Configure Sass/SCSS in `_config.yml`
- Run .scss files through Autoprefixer
- Remove unnecessary npm scripts for building CSS
- Close 
This commit is contained in:
Michael Rose
2016-08-08 16:01:37 -04:00
parent b6be3aa0c2
commit 4cc9fcb40a
111 changed files with 127 additions and 85 deletions
_config.yml
_sass
_animations.scss_archive.scss_base.scss_buttons.scss_footer.scss_forms.scss_masthead.scss_mixins.scss_navigation.scss_notices.scss_page.scss_print.scss_reset.scss_sidebar.scss_syntax.scss_tables.scss_utilities.scss_variables.scss
vendor
assets/css
package.json

@ -0,0 +1,25 @@
// Bordered & Pulled
// -------------------------
.#{$fa-css-prefix}-border {
padding: .2em .25em .15em;
border: solid .08em $fa-border-color;
border-radius: .1em;
}
.#{$fa-css-prefix}-pull-left { float: left; }
.#{$fa-css-prefix}-pull-right { float: right; }
.#{$fa-css-prefix} {
&.#{$fa-css-prefix}-pull-left { margin-right: .3em; }
&.#{$fa-css-prefix}-pull-right { margin-left: .3em; }
}
/* Deprecated as of 4.4.0 */
.pull-right { float: right; }
.pull-left { float: left; }
.#{$fa-css-prefix} {
&.pull-left { margin-right: .3em; }
&.pull-right { margin-left: .3em; }
}