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
// ========================================================== | |
// Unit Conversion | |
// ========================================================== | |
// | |
// Functions: | |
// ---------------------------------------------------------- | |
// | |
// NUMBER: | |
// | |
// isNaN($value) - returns true or false if type-of($value)==number |
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
// Strip units (from unit conversion) | |
@function number($val){ | |
@if($val==null){ @return null;} | |
@return $val/($val*0+1); | |
} | |
// ====================== | |
// Inbuild | |
// ====================== | |
// floor |
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
// SCSS Mixin v.1.0 - beta | |
// ========================================= | |
// ResponsiveFonts | |
// ========================================= | |
// Config | |
$base-width:960 !default; // Width @ 100% layout or 1:1 | |
$min-width:320 !default; // Minimum width | |
$max-width:2560 !default; // Maximum width | |
// only run once |
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
// Config | |
$base-font-size:16 !default; // Ideal font size | |
$sign-font-size:16 !default; // Significant font size | |
$MS_MINOR_SECOND: 1.067; | |
$MS_MAJOR_SECOND: 1.125; | |
$MS_MINOR_THIRD: 1.200; | |
$MS_MAJOR_THIRD: 1.250; | |
$MS_PERFECT_FOURTH:1.333; |
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.3.0.rc.1) | |
// Compass (v0.13.alpha.10) | |
// ---- | |
// ==================================================================== | |
// Unit Conversion | |
// ==================================================================== |
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
//========================================================================= | |
// Paths | |
// - Simple centralized path control | |
//========================================================================= | |
// Set default path - if no path is provided | |
// Enable paths - if false url(...) will work as normal | |
$paths-default:images !default; | |
$paths-enabled:true !default; | |
// Override CSS url(...) | |
@function url($src, $path:$paths-default){ |
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
//========================================================================= | |
// Paths SCSS 3.3 using map | |
// - Simple centralized path control | |
//========================================================================= | |
// Set default path - if no path is provided | |
// Enable paths - if false url(...) will work as normal | |
$paths-default:images !default; | |
$paths-enabled:true !default; | |
// Override CSS url(...) | |
@function url($src, $path:$paths-default){ |
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
// Chunks $list into $size large lists | |
// ------------------------------------------------------------------------------- | |
// @documentation http://sassylists.com/documentation/#chunk | |
// ------------------------------------------------------------------------------- | |
// @example chunk(a b c d e, 2) => a b, c d, e | |
// @example chunk(a b c d e, 3) => a b c, d e | |
// ------------------------------------------------------------------------------- | |
// @param $list [List] : list | |
// @param $size [Number] : length of lists | |
// ------------------------------------------------------------------------------- |
OlderNewer