This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "Flexbones", | |
"version": "0.1.0", | |
"description": "Flexbones script running in a post Grunt world", | |
"scripts": { | |
"compile-sass": "sass assets/sass/style.scss:style.css", | |
"concat": "concat-cli --files assets/js/**/*.js --output scripts.min.js", | |
"uglify-js": "uglifyjs scripts.min.js -o scripts.min.js", | |
"build-js": "npm run concat && npm run uglify-js", | |
"optimise-images": "imageoptim-cli --directory assets/imgs", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// Sass (v3.4.7) | |
// Compass (v1.0.1) | |
// ---- | |
// Sass variables scope example | |
$test: true; | |
$name: ".beefy"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// Sass (v3.4.7) | |
// Compass (v1.0.1) | |
// ---- | |
// | |
// Flexbones Grid System | |
// | |
// Version 1.2 | |
// Author: Rory Ashford |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// libsass (v3.0) | |
// ---- | |
$comics: ( | |
deadpool: ( | |
issue: 001, | |
year: 1995 | |
), | |
fables: ( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// libsass (v3.0) | |
// ---- | |
/** | |
* Flexbones Grid System | |
* | |
* Version 1.1 | |
* Author: Rory Ashford | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// Sass (v3.4.4) | |
// Compass (v1.0.1) | |
// ---- | |
$array:( | |
allitems: ( | |
subitems: ( | |
item1: 'test1', | |
item2: 'test2', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// libsass (v2.0.0) | |
// ---- | |
@import "sass-list-maps"; | |
/** | |
* Flexbones Grid System | |
* | |
* Version 1.1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// libsass (v2.0.0) | |
// ---- | |
@import "sass-list-maps"; | |
@function equivalent_fractions($numerator,$denominator){ | |
$fractions: (); | |
@for $i from -$numerator through -1{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// libsass (v2.0.0) | |
// ---- | |
@mixin equivalent_fractions($numerator,$denominator){ | |
@for $i from -$numerator through -1{ | |
@if($numerator % abs($i) == 0 and $denominator % abs($i) == 0){ | |
out: #{$numerator / abs($i)}-#{$denominator / abs($i)}; | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// libsass (v2.0.0) | |
// ---- | |
@mixin equivalent_fractions($numerator,$denominator){ | |
@for $i from -$numerator through -1{ | |
@if($numerator % abs($i) == 0 and $denominator % abs($i) == 0){ | |
numerator: $numerator; | |
increment: abs($i); | |
out: #{$numerator % abs($i)}-#{$denominator % abs($i)}; |